lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ralf Heyde" <ralf.he...@gmx.de>
Subject Is it possible to combine Wildcard and Phrasequery for the Queryparser
Date Thu, 13 Oct 2011 10:07:20 GMT
Hello,

 

i'm trying to search the following phase:

 

I'm searching all occurrences of:

.         "The Right Way"

.         "The Right Ways"

 

Possible solutions could be something like this - combining a phrase &
wildcard search:

 

.         title:"The Right Way*"

.         title:"The Right Way"*

 

But these approaches don't work using the QueryParser - a ParseException is
thrown.

 

Does anybody have an idea how to face this problem?

Is there a general (another) solution for that problem?

 

Regards

 

Ralf


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message