lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Markus Jelsma <markus.jel...@openindex.io>
Subject 8.0.0 ClassCastException in ValueSource
Date Wed, 20 Mar 2019 16:01:37 GMT
Hello,

Upgraded to Lucene and Solr 8.0 and ran all our unit tests, this one popped up:

Caused by: java.lang.ClassCastException: org.apache.lucene.queries.function.ValueSource$ScoreAndDoc
cannot be cast to org.apache.lucene.search.Scorer
        at org.apache.lucene.queries.function.ValueSource$FromDoubleValuesSource.getValues(ValueSource.java:288)
        at org.apache.lucene.queries.function.valuesource.MultiFloatFunction.getValues(MultiFloatFunction.java:76)
        at org.apache.lucene.queries.function.valuesource.ReciprocalFloatFunction.getValues(ReciprocalFloatFunction.java:64)
        at org.apache.lucene.queries.function.valuesource.MultiFloatFunction.getValues(MultiFloatFunction.java:76)
        at org.apache.lucene.queries.function.ValueSource$WrappedDoubleValuesSource.getValues(ValueSource.java:203)
        at org.apache.lucene.queries.function.FunctionScoreQuery$MultiplicativeBoostValuesSource.getValues(FunctionScoreQuery.java:248)
        at org.apache.lucene.queries.function.FunctionScoreQuery$FunctionScoreWeight.scorer(FunctionScoreQuery.java:211)
        at org.apache.lucene.search.Weight.scorerSupplier(Weight.java:143)
        at org.apache.lucene.search.BooleanWeight.scorerSupplier(BooleanWeight.java:374)
        at org.apache.lucene.search.BooleanWeight.scorer(BooleanWeight.java:340)
        at org.apache.lucene.search.Weight.bulkScorer(Weight.java:177)
        at org.apache.lucene.search.BooleanWeight.bulkScorer(BooleanWeight.java:334)
        at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:649)
        at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:443)
        at org.apache.solr.search.SolrIndexSearcher.buildAndRunCollectorChain(SolrIndexSearcher.java:200)
        at org.apache.solr.search.SolrIndexSearcher.getDocListNC(SolrIndexSearcher.java:1604)
        at org.apache.solr.search.SolrIndexSearcher.getDocListC(SolrIndexSearcher.java:1420)
        at org.apache.solr.search.SolrIndexSearcher.search(SolrIndexSearcher.java:567)
        at org.apache.solr.handler.component.QueryComponent.doProcessUngroupedSearch(QueryComponent.java:1434)
        at org.apache.solr.handler.component.QueryComponent.process(QueryComponent.java:373)
        at org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:306)

I couldn't immediately find this in Jira. Is this a known issue?

Thanks!
Markus

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message