> --
> 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
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
. "
>
> 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
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
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.
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
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
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
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
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
10 matches
Mail list logo