{"action":"created","issue":{"url":"https://api.github.com/repos/algolia/algoliasearch-helper-js/issues/193","labels_url":"https://api.github.com/repos/algolia/algoliasearch-helper-js/issues/193/labels{/name}","comments_url":"https://api.github.com/repos/algolia/algoliasearch-helper-js/issues/193/comments","events_url":"https://api.github.com/repos/algolia/algoliasearch-helper-js/issues/193/events","html_url":"https://github.com/algolia/algoliasearch-helper-js/pull/193","id":102674859,"number":193,"title":"Fix #146 : add a way to make queries that don't change the inner state","user":{"login":"bobylito","id":393765,"avatar_url":"https://avatars.githubusercontent.com/u/393765?v=3","gravatar_id":"","url":"https://api.github.com/users/bobylito","html_url":"https://github.com/bobylito","followers_url":"https://api.github.com/users/bobylito/followers","following_url":"https://api.github.com/users/bobylito/following{/other_user}","gists_url":"https://api.github.com/users/bobylito/gists{/gist_id}","starred_url":"https://api.github.com/users/bobylito/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bobylito/subscriptions","organizations_url":"https://api.github.com/users/bobylito/orgs","repos_url":"https://api.github.com/users/bobylito/repos","events_url":"https://api.github.com/users/bobylito/events{/privacy}","received_events_url":"https://api.github.com/users/bobylito/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/algolia/algoliasearch-helper-js/labels/in%20progress","name":"in progress","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-24T00:03:15Z","updated_at":"2015-08-24T06:24:50Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/algolia/algoliasearch-helper-js/pulls/193","html_url":"https://github.com/algolia/algoliasearch-helper-js/pull/193","diff_url":"https://github.com/algolia/algoliasearch-helper-js/pull/193.diff","patch_url":"https://github.com/algolia/algoliasearch-helper-js/pull/193.patch"},"body":"Introducing searchOnce, a method to query an index without modifying the state stored in the helper."},"comment":{"url":"https://api.github.com/repos/algolia/algoliasearch-helper-js/issues/comments/134054532","html_url":"https://github.com/algolia/algoliasearch-helper-js/pull/193#issuecomment-134054532","issue_url":"https://api.github.com/repos/algolia/algoliasearch-helper-js/issues/193","id":134054532,"user":{"login":"redox","id":29529,"avatar_url":"https://avatars.githubusercontent.com/u/29529?v=3","gravatar_id":"","url":"https://api.github.com/users/redox","html_url":"https://github.com/redox","followers_url":"https://api.github.com/users/redox/followers","following_url":"https://api.github.com/users/redox/following{/other_user}","gists_url":"https://api.github.com/users/redox/gists{/gist_id}","starred_url":"https://api.github.com/users/redox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redox/subscriptions","organizations_url":"https://api.github.com/users/redox/orgs","repos_url":"https://api.github.com/users/redox/repos","events_url":"https://api.github.com/users/redox/events{/privacy}","received_events_url":"https://api.github.com/users/redox/received_events","type":"User","site_admin":false},"created_at":"2015-08-24T06:24:50Z","updated_at":"2015-08-24T06:24:50Z","body":"Since `searchOnce` is calling all the `_getQueries`, can I avoid the underlying requests by disabling the faceting with:\r\n\r\n```js\r\n// search for the 3 first best (distinct) hits\r\nhelper.searchOnce({query: 'foo', disjunctiveFacets: [], facets: [], distinct: true, hitsPerPage: 3}, fn);\r\n```\r\n\r\n"}}