Hey,

the main question is, what does proximity mean for you? Could be several
things

* Words should be similar to the ones specified (including typos)
* Words should be exact, but the occurance of each words should be near to
each other
* The whole phrase should be similar
* etc...

You might want to take a look at the fuzzy queries, at phonetic analyzers
and, if you want proximity search like described in
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-query-string-query.html#_proximity_searches
then you need to specify a number greather than one in order to define the
distance.

hope this helps a bit


--Alex



On Sat, Feb 15, 2014 at 2:28 AM, janek sendrowski
<[email protected]>wrote:

> Hi,
>
> Is there the possibility to specify a percentage value, when performing
> the proximity search.
>
> LIKE: "this is an example"~0.5 (This doesn't work)
>
> Furthermore I like to know if there is a way to get the N best results,
> not only the best.
>
> Thank you for your answers!
>
> Janek Sendrowski
>
> --
> 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/e994c666-ee40-4643-963e-fd6de071f08b%40googlegroups.com
> .
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
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/CAGCwEM8o17qCOgs_or2x1fUKXwHb%3DXzU90Puo_kPMWtbXycyaQ%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to