Questions about PhraseWildCardQuery- Part 2

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Questions about PhraseWildCardQuery- Part 2


In my previous post: In summary:

i just cant decide to go with addTerm or addMultiTerm from

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: [hidden email]
For additional commands, e-mail: [hidden email]