Thanks! Now it works. 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*" Any ideas? -- View this message in context: http://lucene.472066.n3.nabble.com/ComplexPhraseQueryParser-with-multiple-fields-tp2879290p3099495.html Sent from the Lucene - Java Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org