You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by ba...@oracle.com on 2020/02/14 00:23:33 UTC

Questions about PhraseWildCardQuery- Part 2

Hi,-

In my previous post: In summary:

i just cant decide to go with addTerm or addMultiTerm from 
PhraseWildCardQuery

which will turn into SingleTerm or MultiTerm respectively where the 
latter considers expansions.

Which one should i prefer for "term1 term2FirstChar*" search string?


A few more questions here please:

Do i also need to place "*" to my last term of the search string? This 
will change depending on using addTerm or addMultiTerm method.


i also wonder should i enclose the terms with quotes with 
PhraseWildCardQuery since

i noticed before that i needed to do that with ComplexPhraseQueryParser.


Thanks very much




---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org