{"action":"created","issue":{"url":"https://api.github.com/repos/ongr-io/ElasticsearchBundle/issues/709","repository_url":"https://api.github.com/repos/ongr-io/ElasticsearchBundle","labels_url":"https://api.github.com/repos/ongr-io/ElasticsearchBundle/issues/709/labels{/name}","comments_url":"https://api.github.com/repos/ongr-io/ElasticsearchBundle/issues/709/comments","events_url":"https://api.github.com/repos/ongr-io/ElasticsearchBundle/issues/709/events","html_url":"https://github.com/ongr-io/ElasticsearchBundle/issues/709","id":189433671,"number":709,"title":"result pagination","user":{"login":"dijadev","id":22493282,"avatar_url":"https://avatars.githubusercontent.com/u/22493282?v=3","gravatar_id":"","url":"https://api.github.com/users/dijadev","html_url":"https://github.com/dijadev","followers_url":"https://api.github.com/users/dijadev/followers","following_url":"https://api.github.com/users/dijadev/following{/other_user}","gists_url":"https://api.github.com/users/dijadev/gists{/gist_id}","starred_url":"https://api.github.com/users/dijadev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dijadev/subscriptions","organizations_url":"https://api.github.com/users/dijadev/orgs","repos_url":"https://api.github.com/users/dijadev/repos","events_url":"https://api.github.com/users/dijadev/events{/privacy}","received_events_url":"https://api.github.com/users/dijadev/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2016-11-15T16:07:42Z","updated_at":"2016-11-17T15:19:45Z","closed_at":null,"body":"Hi! Is there any way to paginate the results ?\r\nThanks in advance,"},"comment":{"url":"https://api.github.com/repos/ongr-io/ElasticsearchBundle/issues/comments/261274582","html_url":"https://github.com/ongr-io/ElasticsearchBundle/issues/709#issuecomment-261274582","issue_url":"https://api.github.com/repos/ongr-io/ElasticsearchBundle/issues/709","id":261274582,"user":{"login":"einorler","id":13484571,"avatar_url":"https://avatars.githubusercontent.com/u/13484571?v=3","gravatar_id":"","url":"https://api.github.com/users/einorler","html_url":"https://github.com/einorler","followers_url":"https://api.github.com/users/einorler/followers","following_url":"https://api.github.com/users/einorler/following{/other_user}","gists_url":"https://api.github.com/users/einorler/gists{/gist_id}","starred_url":"https://api.github.com/users/einorler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/einorler/subscriptions","organizations_url":"https://api.github.com/users/einorler/orgs","repos_url":"https://api.github.com/users/einorler/repos","events_url":"https://api.github.com/users/einorler/events{/privacy}","received_events_url":"https://api.github.com/users/einorler/received_events","type":"User","site_admin":false},"created_at":"2016-11-17T15:19:45Z","updated_at":"2016-11-17T15:19:45Z","body":"Not sure I understand your question. Let's breake it down. \r\n\r\n1) Firstly, the filters are passed to the filter manager in configuration when you specify:\r\n\r\n```yml\r\nmanagers:\r\n        products_bycategory_list:\r\n            filters:\r\n                - product_filter\r\n                - product_pager\r\n```\r\nHere `products_bycategory_list` is the filter manager that will have 2 filters.\r\n\r\n2) The values on which the filters will operate are taken from the request query (that's what the `request_field` is for)\r\n\r\n3) The `document_value` filter is 'special' in a sense that it is used together with [ONGR Router](https://github.com/ongr-io/RouterBundle).  This was also specified in the docs. This is why it needs `document` to be specified in `request_field` - it always takes the document from the ONGR router. And you need to specify the `field` of the document (which you did not), that holds the value you want. \r\n\r\nAs you can see, the configuration is important here, and it changes in the upcoming `2.0`, so if you are using the `1.0` you should refer to the docs in the `Resources/doc` directory, instead of the `docs.ongr.io` and I can't fully help you without knowing which version you are running on"}}
{"actor":{"display_login":"einorler"}}