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

Joel Bernstein commented on LUCENE-6601:
----------------------------------------

I believe this ticket caused this test failure:

Build: http://jenkins.thetaphi.de/job/Lucene-Solr-5.x-Linux/13026/
Java: 32bit/jdk1.9.0-ea-b60 -server -XX:+UseSerialGC

1 tests failed.
FAILED:  org.apache.solr.search.TestHashQParserPlugin.testHashPartition

Error Message:
Query  does not implement createWeight

Stack Trace:
java.lang.UnsupportedOperationException: Query  does not implement createWeight
        at 
__randomizedtesting.SeedInfo.seed([ABA75E60C74B5463:7A1A7F85FC21ED08]:0)
        at org.apache.lucene.search.Query.createWeight(Query.java:79)
        at 
org.apache.lucene.search.IndexSearcher.createWeight(IndexSearcher.java:851)
        at 
org.apache.lucene.search.ConstantScoreQuery.createWeight(ConstantScoreQuery.java:117)
        at 
org.apache.solr.search.HashQParserPlugin$HashQuery.createWeight(HashQParserPlugin.java:151)




 ant test  -Dtestcase=TestHashQParserPlugin -Dtests.method=testHashPartition 
-Dtests.seed=3CDD0F5BDDF9D8B3 -Dtests.slow=true -Dtests.locale=iw_IL 
-Dtests.timezone=Pacific/Johnston -Dtests.asserts=true 
-Dtests.file.encoding=UTF-8

> Change FilteredQuery.FilterStrategy to use the two-phase iteration API
> ----------------------------------------------------------------------
>
>                 Key: LUCENE-6601
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6601
>             Project: Lucene - Core
>          Issue Type: Task
>            Reporter: Adrien Grand
>            Assignee: Adrien Grand
>            Priority: Minor
>             Fix For: 5.3
>
>         Attachments: LUCENE-6601.patch
>
>
> We could change FilterStrategy so that instead of being a factory of scorers, 
> it would just rewrite filters in such a way that they can decide which of the 
> iterator or random-access API should be used.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to