[
https://issues.apache.org/jira/browse/SOLR-1604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13506475#comment-13506475
]
Roman Slavik commented on SOLR-1604:
------------------------------------
Hi, I downloaded last version of ComplexPhrase (24/Oct/12 02:30) but have
problem with junit test. Here is error log :
{noformat}
test(org.apache.solr.search.ComplexPhraseQParserPluginTest) Time elapsed:
0.191 sec <<< ERROR!
java.lang.RuntimeException: Exception during query
at
__randomizedtesting.SeedInfo.seed([4BF35CC9C13F3B15:C3A763136FC356ED]:0)
at
org.apache.solr.util.AbstractSolrTestCase.assertQ(AbstractSolrTestCase.java:283)
at
org.apache.solr.search.ComplexPhraseQParserPluginTest.test(ComplexPhraseQParserPluginTest.java:158)
// nothing interest here
Caused by: java.lang.IllegalArgumentException: Unknown query type
"org.apache.lucene.search.ConstantScoreQuery" found in phrase query string "jo*
[sma TO smz]"
at
org.apache.lucene.queryparser.classic.ComplexPhraseQueryParser$ComplexPhraseQuery.rewrite(ComplexPhraseQueryParser.java:297)
at
org.apache.lucene.search.IndexSearcher.rewrite(IndexSearcher.java:599)
at
org.apache.lucene.search.IndexSearcher.createNormalizedWeight(IndexSearcher.java:646)
at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:280)
at
org.apache.solr.search.SolrIndexSearcher.getDocListNC(SolrIndexSearcher.java:1385)
at
org.apache.solr.search.SolrIndexSearcher.getDocListC(SolrIndexSearcher.java:1260)
at
org.apache.solr.search.SolrIndexSearcher.search(SolrIndexSearcher.java:390)
at
org.apache.solr.handler.component.QueryComponent.process(QueryComponent.java:411)
at
org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:206)
at
org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:129)
at org.apache.solr.core.SolrCore.execute(SolrCore.java:1699)
at org.apache.solr.util.TestHarness.query(TestHarness.java:364)
at org.apache.solr.util.TestHarness.query(TestHarness.java:346)
at
org.apache.solr.util.AbstractSolrTestCase.assertQ(AbstractSolrTestCase.java:273)
... 41 more
{noformat}
Is it error on my side (I didn't change anything)? Or some crucial error?
> Wildcards, ORs etc inside Phrase Queries
> ----------------------------------------
>
> Key: SOLR-1604
> URL: https://issues.apache.org/jira/browse/SOLR-1604
> Project: Solr
> Issue Type: Improvement
> Components: query parsers, search
> Affects Versions: 1.4
> Reporter: Ahmet Arslan
> Priority: Minor
> Attachments: ASF.LICENSE.NOT.GRANTED--ComplexPhrase.zip,
> ComplexPhraseQueryParser.java, ComplexPhrase.zip, ComplexPhrase.zip,
> ComplexPhrase.zip, ComplexPhrase.zip, ComplexPhrase.zip, ComplexPhrase.zip,
> SOLR-1604-alternative.patch, SOLR-1604.patch, SOLR-1604.patch
>
>
> Solr Plugin for ComplexPhraseQueryParser (LUCENE-1486) which supports
> wildcards, ORs, ranges, fuzzies inside phrase queries.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]