I know, it's hideous. They typically consist of an "entity" neared with a large number of "negative" (user specified) terms. So something like [bad person near50 (long or list near5 negative or terms ...)] which we translate into a big horrible near_span query. When we can detect a language then we can apply one analyzer and query the appropriate fields. Otherwise, we query across a number of fields with different language analyzed fields. It's not nice.
It's pretty typical in certain industries. On Thursday, 10 April 2014 00:03:48 UTC+1, hazzadous wrote: > > No you don't Binh > > On Wednesday, 9 April 2014 17:57:17 UTC+1, Binh Ly wrote: >> >> I'd be curious to see an example of such a 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/b4344c78-160c-4b75-9945-e7719f387735%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
