Skip to content

Commit

Permalink
Merge pull request #161 from MJedr/reveret-citedby
Browse files Browse the repository at this point in the history
revert citedby temp key
  • Loading branch information
MJedr authored Oct 4, 2022
2 parents 30661aa + 84c921f commit c8e1a35
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion inspire_query_parser/visitors/elastic_search_visitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -591,7 +591,7 @@ def _generate_terms_lookup(self, path, search_path, value):
"terms": {
search_path : {
"index" : "records-hep",
"temp_recid_for_uuid" : value,
"id" : value,
"path" : path
}
}
Expand Down
4 changes: 2 additions & 2 deletions tests/test_elastic_search_visitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -3199,7 +3199,7 @@ def test_elastic_search_visitor_citedby():
"terms": {
"self.$ref.raw": {
"index": "records-hep",
"temp_recid_for_uuid": "123456",
"id": "123456",
"path": "references.record.$ref.raw"
}
}
Expand All @@ -3217,7 +3217,7 @@ def test_elastic_search_visitor_complex_query():
"terms": {
"self.$ref.raw": {
"index": "records-hep",
"temp_recid_for_uuid": "123456",
"id": "123456",
"path": "references.record.$ref.raw"
}
}
Expand Down

0 comments on commit c8e1a35

Please sign in to comment.