{"action":"created","issue":{"url":"https://api.github.com/repos/TheScienceMuseum/collectionsonline/issues/296","repository_url":"https://api.github.com/repos/TheScienceMuseum/collectionsonline","labels_url":"https://api.github.com/repos/TheScienceMuseum/collectionsonline/issues/296/labels{/name}","comments_url":"https://api.github.com/repos/TheScienceMuseum/collectionsonline/issues/296/comments","events_url":"https://api.github.com/repos/TheScienceMuseum/collectionsonline/issues/296/events","html_url":"https://github.com/TheScienceMuseum/collectionsonline/pull/296","id":170908475,"number":296,"title":"initial relevance queries ","user":{"login":"Danwhy","id":8939909,"avatar_url":"https://avatars.githubusercontent.com/u/8939909?v=3","gravatar_id":"","url":"https://api.github.com/users/Danwhy","html_url":"https://github.com/Danwhy","followers_url":"https://api.github.com/users/Danwhy/followers","following_url":"https://api.github.com/users/Danwhy/following{/other_user}","gists_url":"https://api.github.com/users/Danwhy/gists{/gist_id}","starred_url":"https://api.github.com/users/Danwhy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Danwhy/subscriptions","organizations_url":"https://api.github.com/users/Danwhy/orgs","repos_url":"https://api.github.com/users/Danwhy/repos","events_url":"https://api.github.com/users/Danwhy/events{/privacy}","received_events_url":"https://api.github.com/users/Danwhy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-08-12T16:23:50Z","updated_at":"2016-08-17T09:56:28Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/TheScienceMuseum/collectionsonline/pulls/296","html_url":"https://github.com/TheScienceMuseum/collectionsonline/pull/296","diff_url":"https://github.com/TheScienceMuseum/collectionsonline/pull/296.diff","patch_url":"https://github.com/TheScienceMuseum/collectionsonline/pull/296.patch"},"body":"Initial thoughts on improving the query to get better relevance:\r\n\r\nAdded `should:match_phrase` to the query for title, name and summary_value. This should provide an increased score for items that have the query terms close to each other in the title.\r\n\r\nBoosting functions (`function_score:functions`): boosts the score of items that match certain terms, or have certain fields. eg. an item that has the `location.purpose`: `on display` will have its score boosted by 1.2, as will an item that has the field `options.options1` (the web description), while an item that has an image will be boosted by 1.4, and documents will be boosted by 0.8.\r\n\r\nBoost numbers are subject to change, these are just initial values I was trying out to get some variance in results."},"comment":{"url":"https://api.github.com/repos/TheScienceMuseum/collectionsonline/issues/comments/240367304","html_url":"https://github.com/TheScienceMuseum/collectionsonline/pull/296#issuecomment-240367304","issue_url":"https://api.github.com/repos/TheScienceMuseum/collectionsonline/issues/296","id":240367304,"user":{"login":"alanshaw","id":152863,"avatar_url":"https://avatars.githubusercontent.com/u/152863?v=3","gravatar_id":"","url":"https://api.github.com/users/alanshaw","html_url":"https://github.com/alanshaw","followers_url":"https://api.github.com/users/alanshaw/followers","following_url":"https://api.github.com/users/alanshaw/following{/other_user}","gists_url":"https://api.github.com/users/alanshaw/gists{/gist_id}","starred_url":"https://api.github.com/users/alanshaw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alanshaw/subscriptions","organizations_url":"https://api.github.com/users/alanshaw/orgs","repos_url":"https://api.github.com/users/alanshaw/repos","events_url":"https://api.github.com/users/alanshaw/events{/privacy}","received_events_url":"https://api.github.com/users/alanshaw/received_events","type":"User","site_admin":false},"created_at":"2016-08-17T09:56:28Z","updated_at":"2016-08-17T09:56:28Z","body":"Looks like a great start"}}
{"actor":{"display_login":"alanshaw"}}