{"action":"created","issue":{"url":"https://api.github.com/repos/mysociety/alaveteli/issues/4426","repository_url":"https://api.github.com/repos/mysociety/alaveteli","labels_url":"https://api.github.com/repos/mysociety/alaveteli/issues/4426/labels{/name}","comments_url":"https://api.github.com/repos/mysociety/alaveteli/issues/4426/comments","events_url":"https://api.github.com/repos/mysociety/alaveteli/issues/4426/events","html_url":"https://github.com/mysociety/alaveteli/issues/4426","id":281680266,"number":4426,"title":"Authority search results don't prioritise direct matches to quoted search terms","user":{"login":"crowbot","id":2912,"avatar_url":"https://avatars2.githubusercontent.com/u/2912?v=4","gravatar_id":"","url":"https://api.github.com/users/crowbot","html_url":"https://github.com/crowbot","followers_url":"https://api.github.com/users/crowbot/followers","following_url":"https://api.github.com/users/crowbot/following{/other_user}","gists_url":"https://api.github.com/users/crowbot/gists{/gist_id}","starred_url":"https://api.github.com/users/crowbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crowbot/subscriptions","organizations_url":"https://api.github.com/users/crowbot/orgs","repos_url":"https://api.github.com/users/crowbot/repos","events_url":"https://api.github.com/users/crowbot/events{/privacy}","received_events_url":"https://api.github.com/users/crowbot/received_events","type":"User","site_admin":false},"labels":[{"id":65523213,"url":"https://api.github.com/repos/mysociety/alaveteli/labels/5%20-%20awaiting%20review","name":"5 - awaiting review","color":"eb6420","default":false},{"id":671399483,"url":"https://api.github.com/repos/mysociety/alaveteli/labels/f:search","name":"f:search","color":"d7e102","default":false}],"state":"open","locked":false,"assignee":{"login":"lizconlan","id":27760,"avatar_url":"https://avatars2.githubusercontent.com/u/27760?v=4","gravatar_id":"","url":"https://api.github.com/users/lizconlan","html_url":"https://github.com/lizconlan","followers_url":"https://api.github.com/users/lizconlan/followers","following_url":"https://api.github.com/users/lizconlan/following{/other_user}","gists_url":"https://api.github.com/users/lizconlan/gists{/gist_id}","starred_url":"https://api.github.com/users/lizconlan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lizconlan/subscriptions","organizations_url":"https://api.github.com/users/lizconlan/orgs","repos_url":"https://api.github.com/users/lizconlan/repos","events_url":"https://api.github.com/users/lizconlan/events{/privacy}","received_events_url":"https://api.github.com/users/lizconlan/received_events","type":"User","site_admin":false},"assignees":[{"login":"lizconlan","id":27760,"avatar_url":"https://avatars2.githubusercontent.com/u/27760?v=4","gravatar_id":"","url":"https://api.github.com/users/lizconlan","html_url":"https://github.com/lizconlan","followers_url":"https://api.github.com/users/lizconlan/followers","following_url":"https://api.github.com/users/lizconlan/following{/other_user}","gists_url":"https://api.github.com/users/lizconlan/gists{/gist_id}","starred_url":"https://api.github.com/users/lizconlan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lizconlan/subscriptions","organizations_url":"https://api.github.com/users/lizconlan/orgs","repos_url":"https://api.github.com/users/lizconlan/repos","events_url":"https://api.github.com/users/lizconlan/events{/privacy}","received_events_url":"https://api.github.com/users/lizconlan/received_events","type":"User","site_admin":false}],"milestone":null,"comments":8,"created_at":"2017-12-13T09:32:46Z","updated_at":"2018-03-22T15:10:36Z","closed_at":null,"author_association":"OWNER","body":"![dq6n_7gx0aaodtb](https://user-images.githubusercontent.com/2912/33931678-9b7dcd26-dfe8-11e7-9ba0-20284808f5e5.jpg)\r\n"},"comment":{"url":"https://api.github.com/repos/mysociety/alaveteli/issues/comments/375341413","html_url":"https://github.com/mysociety/alaveteli/issues/4426#issuecomment-375341413","issue_url":"https://api.github.com/repos/mysociety/alaveteli/issues/4426","id":375341413,"user":{"login":"garethrees","id":282788,"avatar_url":"https://avatars1.githubusercontent.com/u/282788?v=4","gravatar_id":"","url":"https://api.github.com/users/garethrees","html_url":"https://github.com/garethrees","followers_url":"https://api.github.com/users/garethrees/followers","following_url":"https://api.github.com/users/garethrees/following{/other_user}","gists_url":"https://api.github.com/users/garethrees/gists{/gist_id}","starred_url":"https://api.github.com/users/garethrees/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garethrees/subscriptions","organizations_url":"https://api.github.com/users/garethrees/orgs","repos_url":"https://api.github.com/users/garethrees/repos","events_url":"https://api.github.com/users/garethrees/events{/privacy}","received_events_url":"https://api.github.com/users/garethrees/received_events","type":"User","site_admin":false},"created_at":"2018-03-22T15:10:36Z","updated_at":"2018-03-22T15:10:36Z","author_association":"MEMBER","body":"Ahhh, I had an empty `#name` attribute for the `cy` translation for Cardiff Council. I had translations for other authorities, so not sure what happened there.\r\n\r\n```\r\n$ delve -d lib/acts_as_xapian/xapiandbs/development -r 106\r\nData for record #106:\r\nPublicBody-107\r\nTerm List for record #106: IPublicBody-107 MPublicBody Ncardiff council Ucardiff Ucoins Ucoins:W552 Ulocal_council Vauthority Zcardiff Zcouncil cardiff council\r\n\r\n$ xapian-delve -d lib/acts_as_xapian/xapiandbs/production -r 106\r\nData for record #106:\r\nPublicBody-107\r\nTerm List for record #106: IPublicBody-107 MPublicBody Ncardiff council Ucardiff Ucoins Ucoins:W552 Ulocal_council Vauthority Zcaerdydd Zcardiff Zcouncil Zcyngor caerdydd cardiff council cyngor\r\n```\r\n\r\nNow I get Cardiff Council appearing third in the list in development:\r\n\r\n![screen shot 2018-03-22 at 15 09 57](https://user-images.githubusercontent.com/282788/37778970-230fdea8-2de3-11e8-9b6a-699bea01bf2b.png)\r\n\r\n```\r\n$ delve -d lib/acts_as_xapian/xapiandbs/development -r 106\r\nData for record #106:\r\nPublicBody-107\r\nTerm List for record #106: IPublicBody-107 MPublicBody Ncardiff council Ucardiff Ucoins Ucoins:W552 Ulocal_council Vauthority Zcaerdydd Zcardiff Zcouncil Zcyngor caerdydd cardiff council cyngor\r\n```"}}
{"actor":{"display_login":"garethrees"}}