Just to chime in here... You will get different results
for "A B"~2 and "B A"~2. In the simple two-term case,
changing the order requires an extra move(s). There's
a very good explanation of this in Lucene In Action II.
Best
Erick
On Thu, Oct 20, 2011 at 3:35 PM, Jason, Kim wrote:
> Which one is
Which one is better performance of setting inOrder=false in solrconfig.xml
and quering with "A B"~1 AND "B A"~1 if performance differences?
--
View this message in context:
http://lucene.472066.n3.nabble.com/Question-about-near-query-order-tp3427312p3437701.html
Sent from the Solr - User mailing
Thanks a ton iorixxx.
Jason.
--
View this message in context:
http://lucene.472066.n3.nabble.com/Question-about-near-query-order-tp3427312p3432922.html
Sent from the Solr - User mailing list archive at Nabble.com.
> Is it possible only defType=lucnee in your second
> suggestion?
> I'm using ComplexPhraseQueryParser.
> So my defType is "complexphrase".
Oh, then life is easy. Just setting the inOrder parameter to false in
solrconfig.xml should do the trick.
false
Thank you for your kind reply.
Is it possible only defType=lucnee in your second suggestion?
I'm using ComplexPhraseQueryParser.
So my defType is "complexphrase".
--
View this message in context:
http://lucene.472066.n3.nabble.com/Question-about-near-query-order-tp3427312p3431465.html
Sent fro
> "analyze term"~2
> "term analyze"~2
>
> In my case, two queries return different result set.
> Isn't that in your case?
Hmm you are right, I tested with a trunk instance using lucene query parser.
Results sets were different. If I am not wrong they were same at some version.
I can suggest y
"analyze term"~2
"term analyze"~2
In my case, two queries return different result set.
Isn't that in your case?
--
View this message in context:
http://lucene.472066.n3.nabble.com/Question-about-near-query-order-tp3427312p3429916.html
Sent from the Solr - User mailing list archive at Nabble.com
> I have some near query like "analyze term"~2.
> That is matched in that order.
> But I want to search regardless of order.
> So far, I just queried "analyze term"~2 OR "term
> analyze"~2.
> Is there a better way than what i did?
I think, PhraseQuery should be unordered with slop values grater th