> 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