you don't seem to be passing just `params[:query]` in your controller:
> Company.search
> params[:query]
>
> Karel
>
> What I mean by "facets aren't working", that I can't to filter my results.
>>>>
>>>> But when I try filter resul
So, are you actually passing the `c` URL parameter to the search method?
Notice the code: `if options[:categories]` in your search method.
But you don't seem to be passing just `params[:query]` in your controller:
Company.search
params[:query]
Karel
What I mean by "facets aren
n Wed, Jun 11, 2014 at 2:31 PM, Misha Tatinets > wrote:
>
>> Hi Karel,
>> Thanks for replying.
>>
>> What I mean by "facets aren't working", that I can't to filter my results.
>>
>> When I submit query I see in my log next :
>
g/guide/en/elasticsearch/reference/current/search-request-post-filter.html#search-request-post-filter
--
Ivan
On Wed, Jun 11, 2014 at 2:31 PM, Misha Tatinets
wrote:
> Hi Karel,
> Thanks for replying.
>
> What I mean by "facets aren't working", that I can't to filter my
Hi Karel,
Thanks for replying.
What I mean by "facets aren't working", that I can't to filter my results.
When I submit query I see in my log next :
curl -X GET 'http://localhost:9200/companies/company/_search?pretty' -d
'{"query":{"boo
> I'm getting results but facets aren't working
>
Can you specify in a bit more detail how facet's "aren't working" (i.e.
what do you want to achieve, what is expected, etc)? Since you base your
code on the provided Rails templates, the code should be e
I have rails app where I try to use both elasticsearch-rails and
elasticsearch-model gems.
I'm getting results but facets aren't working. I wondering if anyone can
pinpoint on what I am doing wrong.
Here is my code that is written but example from elasticsearch team
https://