{"action":"closed","issue":{"url":"https://api.github.com/repos/HEPData/hepdata/issues/170","repository_url":"https://api.github.com/repos/HEPData/hepdata","labels_url":"https://api.github.com/repos/HEPData/hepdata/issues/170/labels{/name}","comments_url":"https://api.github.com/repos/HEPData/hepdata/issues/170/comments","events_url":"https://api.github.com/repos/HEPData/hepdata/issues/170/events","html_url":"https://github.com/HEPData/hepdata/issues/170","id":522232872,"node_id":"MDU6SXNzdWU1MjIyMzI4NzI=","number":170,"title":"search: fields are thrown away by QueryBuilder.generate_nested_query","user":{"login":"alisonrclarke","id":4507639,"node_id":"MDQ6VXNlcjQ1MDc2Mzk=","avatar_url":"https://avatars1.githubusercontent.com/u/4507639?v=4","gravatar_id":"","url":"https://api.github.com/users/alisonrclarke","html_url":"https://github.com/alisonrclarke","followers_url":"https://api.github.com/users/alisonrclarke/followers","following_url":"https://api.github.com/users/alisonrclarke/following{/other_user}","gists_url":"https://api.github.com/users/alisonrclarke/gists{/gist_id}","starred_url":"https://api.github.com/users/alisonrclarke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alisonrclarke/subscriptions","organizations_url":"https://api.github.com/users/alisonrclarke/orgs","repos_url":"https://api.github.com/users/alisonrclarke/repos","events_url":"https://api.github.com/users/alisonrclarke/events{/privacy}","received_events_url":"https://api.github.com/users/alisonrclarke/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-11-13T13:44:54Z","updated_at":"2019-12-03T14:40:05Z","closed_at":"2019-12-03T14:40:05Z","author_association":"COLLABORATOR","body":"Spotted whilst adding tests for the `QueryBuilder` class (in `hepdata.ext.elasticsearch.query_builder`): the `generate_nested_query` method accepts a parameter of search fields but throws them away. They were used previously, until fba8bb9931d0fa7dab1dc90f4b3d879972585587. It appears that the only current use of `generate_nested_query` is in the `get_authors_query` method, to attempt to search by first and last name."}}
{"actor":{"display_login":"GraemeWatt"}}