Home | About | Sematext search-lucene.com search-hadoop.com
 Search Lucene and all its subprojects:

Switch to Threaded View
Solr, mail # user - A bug in ComplexPhraseQuery ?


Copy link to this message
-
Re: A bug in ComplexPhraseQuery ?
Ahmet Arslan 2010-11-04, 01:26
> However, we have found that this query is crashing when
> using
> CoomplexPhraseQuery:
> "sulfur-reducing bacteria"
>
> It is due to the dash inside the phrase.
> Here is the trace:
> java.lang.IllegalArgumentException: Unknown query type
> "org.apache.lucene.search.PhraseQuery" found in phrase
> query string
> "sulfur-reducing bacteria"

I added Terje Eggestad's fix[1], can you test it give us feedback?

[1]https://issues.apache.org/jira/browse/LUCENE-1486?focusedCommentId=12900278&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12900278