Shawn Feldman created SOLR-10872:
------------------------------------

             Summary: _version_ returns exception when changed to point field
                 Key: SOLR-10872
                 URL: https://issues.apache.org/jira/browse/SOLR-10872
             Project: Solr
          Issue Type: Bug
      Security Level: Public (Default Security Level. Issues are Public)
    Affects Versions: 6.6
            Reporter: Shawn Feldman
            Priority: Minor


I changed all my TrieLong Fields to Point fields.  _version_ always returns an 
error unless i turn on docvalues for version

  <fieldType name="long" class="solr.LongPointField"/>
  <field name="_version_" type="long" indexed="true" stored="true" />

Getting this error when i index 
{code}
 Remote error message: Point fields can't use FieldCache. Use docValues=true 
for field: _version_
solr2_1    |    at 
org.apache.solr.update.processor.DistributedUpdateProcessor.doFinish(DistributedUpdateProcessor.java:973)
solr2_1    |    at 
org.apache.solr.update.processor.DistributedUpdateProcessor.finish(DistributedUpdateProcessor.java:1912)
solr2_1    |    at 
org.apache.solr.update.processor.LogUpdateProcessorFactory$LogUpdateProcessor.finish(LogUpdateProcessorFactory.java:182)
solr2_1    |    at 
org.apache.solr.handler.ContentStreamHandlerBase.handleRequestBody(ContentStreamHandlerBase.java:78)
solr2_1    |    at 
org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:173)
solr2_1    |    at org.apache.solr.core.SolrCore.execute(SolrCore.java:2440)
solr2_1    |    at 
org.apache.solr.servlet.HttpSolrCall.execute(HttpSolrCall.java:723)
{code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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

Reply via email to