Re: Order of words in proximity search

2011-05-16 Thread Tor Henning Ueland
> -- > View this message in context: > http://lucene.472066.n3.nabble.com/Order-of-words-in-proximity-search-tp2938427p2946764.html > Sent from the Solr - User mailing list archive at Nabble.com. > -- Mvh Tor Henning Ueland

Re: Order of words in proximity search

2011-05-16 Thread lboutros
The analyzer of the field you are using could impact the Phrase Query Slop. Could you copy/paste the part of the schema ? Ludovic. - Jouve France. -- View this message in context: http://lucene.472066.n3.nabble.com/Order-of-words-in-proximity-search-tp2938427p2946764.html Sent from the

Re: Order of words in proximity search

2011-05-16 Thread Tor Henning Ueland
. " > > so you could search for "foo bar"~101 in your example. > > Ludovic. > > > - > Jouve > France. > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Order-of-words-in-proximity-search-tp2938427p2946620.html > Sent

Re: Order of words in proximity search

2011-05-15 Thread lboutros
I would prefer to put a higher slop number instead of a boolean clause : 200 perhaps in your specific case. Ludovic. - Jouve France. -- View this message in context: http://lucene.472066.n3.nabble.com/Order-of-words-in-proximity-search-tp2938427p2946645.html Sent from the Solr - User

Re: Order of words in proximity search

2011-05-15 Thread lboutros
context: http://lucene.472066.n3.nabble.com/Order-of-words-in-proximity-search-tp2938427p2946620.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Order of words in proximity search

2011-05-15 Thread Tor Henning Ueland
for an explanation : > > http://wiki.apache.org/solr/SolrRelevancyFAQ#How_can_I_search_for_one_term_near_another_term_.28say.2C_.22batman.22_and_.22movie.22.29 > > Ludovic. > > - > Jouve > France. > -- > View this message in context: > http://lucene.472066.n3.nabble

Re: Order of words in proximity search

2011-05-15 Thread lboutros
Hi, see here for an explanation : http://wiki.apache.org/solr/SolrRelevancyFAQ#How_can_I_search_for_one_term_near_another_term_.28say.2C_.22batman.22_and_.22movie.22.29 Ludovic. - Jouve France. -- View this message in context: http://lucene.472066.n3.nabble.com/Order-of-words-in-proximity

Re: Order of words in proximity search

2011-05-15 Thread Tor Henning Ueland
Hello, Thanks for the replay. Just as i suspected. So the solution then is to create a OR search with both possibilities in order to make the order not be important" "foo bar"~100 -> ("foo bar~100 OR "bar foo"~100) -- Best regards Tor Henning Ueland On Sun, May 15, 2011 at 5:16 PM, Erick Eri

Re: Order of words in proximity search

2011-05-15 Thread Erick Erickson
Yes, order does matter. When order is changed as in your example, matching the text "foo always bar" would require one more move for "bar foo" than for "foo bar" Lucene In Action has some nice graphics explaining this Best, Erick On Fri, May 13, 2011 at 6:13 AM, Tor Henning Ueland wrote: > H

Order of words in proximity search

2011-05-13 Thread Tor Henning Ueland
Hi, The documentation does not(?) specify this, but still a interesting question. Does the order of the words in a proximity search matter? And if it does, is it possible to ignore the order? I did not belive it did, but some tests against a ngram field does give different results. Examples: "fo