Hi,-
I hope everyone is doing great.
i have a question regarrding ComplexPhraseQueryParser class.
This class can handle this queryText case very well:
"term1 erm2 abcd term3*"~2
(last term3 has * at the end and the whole phrase has slop value 2)
The term1, term2 and term3 are all in the Lucene index but abcd is not.
In other words there is no "term1 term2 abcd term3" in the Lucene index
but i still would like to find the following in my results:
"term1 term2 term3" despite having abcd term there.
How can i achieve this?
i setInOrder as true setPhraseSlop as 2 for the ComplexPhraseQueryParser.
Best regards
baris
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org
I hope everyone is doing great.
i have a question regarrding ComplexPhraseQueryParser class.
This class can handle this queryText case very well:
"term1 erm2 abcd term3*"~2
(last term3 has * at the end and the whole phrase has slop value 2)
The term1, term2 and term3 are all in the Lucene index but abcd is not.
In other words there is no "term1 term2 abcd term3" in the Lucene index
but i still would like to find the following in my results:
"term1 term2 term3" despite having abcd term there.
How can i achieve this?
i setInOrder as true setPhraseSlop as 2 for the ComplexPhraseQueryParser.
Best regards
baris
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org