Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-10872

_version_ returns exception when changed to point field

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 6.6
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      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

       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)
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                safeldm Shawn Feldman
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: