Thank you Binh, that looks promising.
Just to be sure, will I be able to build a query containing a list of tags
each with it's own weight like this:
{"sport":0.25,"tennis":0.54862,"recommender systems":0.236,"search
engine":0.59} ?
Then I would like to extract all documents that match as many tags as
possible.
Is the correct way of doing this using boosts with OR ?
Thank you
Op vrijdag 7 februari 2014 13:09:58 UTC+1 schreef Binh Ly:
>
> Have a look at filters, specifically the terms filter. They execute very
> fast and are cached too.
>
> http://www.elasticsearch.org/blog/all-about-elasticsearch-filter-bitsets/
>
>
> http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-terms-filter.html
>
> On Friday, February 7, 2014 5:57:15 AM UTC-5, [email protected] wrote:
>>
>> I was worried that ES couldn’t handle these huge queries (potentially
>> hundreds of tags) but apparently I was underestimating ES.
>>
>> Thanks
>>
>>
--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/0a420fca-7fb7-4640-9cfc-642b7c3df958%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.