lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ahmet Arslan <iori...@yahoo.com>
Subject Re: ComplexPhraseQueryParser with multiple fields
Date Thu, 23 Jun 2011 13:06:15 GMT
> But now there's another issue. 
> I'm using SOLR and Lucene 3.1.0 and when sending a query
> "Wildcard* phrase*"
> it works as expected - but, when sending the query
> "wildcard*" (Only one
> word withing the phrase) I'm getting another exception:
> 
> HTTP ERROR: 500
> Unknown query type "org.apache.lucene.search.PrefixQuery"
> found in phrase
> query string "touch*"
> java.lang.IllegalArgumentException: Unknown query type
> "org.apache.lucene.search.PrefixQuery" found in phrase
> query string "touch*"


Actually query string "touch*" is invalid. It should be equivalent of just touch*. What is
your expectation from that query?


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


Mime
View raw message