java.lang.IllegalStateException: unexpected docvalues type NUMERIC for field 'predictiveModelId' (expected one of [SORTED, SORTED_SET]). Use UninvertingReader or index with docvalues.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Stack Overflow by morse
, 1 year ago
unexpected docvalues type NUMERIC for field 'predictiveModelId' (expected one of [SORTED, SORTED_SET]). Use UninvertingReader or index with docvalues.
via GitHub by payammeyer
, 1 year ago
unexpected docvalues type NONE for field 'titleText' (expected one of [SORTED, SORTED_SET]). Use UninvertingReader or index with docvalues.
via Hibernate JIRA by André Hildinger, 1 year ago
unexpected docvalues type NONE for field 'organizationStatistics.viewsSort' (expected=NUMERIC). Use UninvertingReader or index with docvalues.
via Stack Overflow by andrehil
, 1 year ago
unexpected docvalues type NONE for field 'organizationStatistics.viewsSort' (expected=NUMERIC). Use UninvertingReader or index with docvalues.
via Hibernate JIRA by André Hildinger, 1 year ago
unexpected docvalues type NONE for field 'organizationStatistics.viewsSort' (expected=NUMERIC). Use UninvertingReader or index with docvalues.
via Stack Overflow by Dinesh Kumar
, 1 year ago
unexpected docvalues type SORTED_SET for field 'created' (expected=NUMERIC). Use UninvertingReader or index with docvalues.
java.lang.IllegalStateException: unexpected docvalues type NUMERIC for field 'predictiveModelId' (expected one of [SORTED, SORTED_SET]). Use UninvertingReader or index with docvalues.
at org.apache.lucene.index.DocValues.checkField(DocValues.java:212)
at org.apache.solr.search.join.BlockJoinFieldFacetAccumulator.initSegmentData(BlockJoinFieldFacetAccumulator.java:77)
at org.apache.solr.search.join.BlockJoinFieldFacetAccumulator.setNextReader(BlockJoinFieldFacetAccumulator.java:183)
at org.apache.lucene.search.SimpleCollector.getLeafCollector(SimpleCollector.java:33)
at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:660)
at org.apache.solr.search.SolrIndexSearcher.buildAndRunCollectorChain(SolrIndexSearcher.java:260)
at org.apache.solr.search.SolrIndexSearcher.getDocListNC(SolrIndexSearcher.java:1810)
at org.apache.solr.search.SolrIndexSearcher.getDocListC(SolrIndexSearcher.java:1627)
at org.apache.solr.search.SolrIndexSearcher.search(SolrIndexSearcher.java:643)
at org.apache.solr.handler.component.QueryComponent.process(QueryComponent.java:529)
at org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:301)
at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:156)
at org.apache.solr.core.SolrCore.execute(SolrCore.java:2036)
at org.apache.solr.servlet.HttpSolrCall.execute(HttpSolrCall.java:657)
at org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:464)
at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:257)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1668)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:581)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1160)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1092)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:213)
at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:119)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134)
at org.eclipse.jetty.server.Server.handle(Server.java:518)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:308)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:244)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)
at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93)
at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceAndRun(ExecuteProduceConsume.java:246)
at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:156)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:654)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 years ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.