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

Hoss Man commented on SOLR-10872:
---------------------------------

Shawn: you said this affects 6.6 but i'm not sure i understand how that's 
possible given the fixes in SOLR-10472.

See also SOLR-10832 for other reasons why Points are not currently a good idea 
for {{\_version_}}

> _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