Hi Chris,
I'm in the same boat; looking to combine an "or filter" (so 1 or the other
filter matches) with a custom_filters_score in order to boost results which
meet a certain criteria.
Did you have any luck solving this?
On Friday, 3 May 2013 15:26:52 UTC+10, Chris wrote:
>
> Of course, posting in public results in me (finally) seeing the obvious
> error:
>
> "filter": {
> "boost": "1.5",
>
> Should be:
>
> "boost": "1.5",
> "filter": {
>
>
> However, unlike my previous OR filter, which only returned results which
> matched one of the filters, now it returns all records (with the right
> records boosted to the top) - even those that don't match any filters?
>
> Is it possible to replicate the behavior of an OR filter query with a
> customer_filters_score query?
>
>
--
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/11ab4355-3dbd-4809-a61d-f8ffc5c28686%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.