You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Hoss Man (JIRA)" <ji...@apache.org> on 2015/11/20 18:09:10 UTC
[jira] [Commented] (SOLR-8316) Allow a field to be stored=false
indexed=false docValues=true
[ https://issues.apache.org/jira/browse/SOLR-8316?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15018344#comment-15018344 ]
Hoss Man commented on SOLR-8316:
--------------------------------
This jira doesn't make sense to me ... it is absolutely posible to have a field that is stored=false & indexed=false (regardless of whether docValues=true|false)
There are lots of examples of this in various schemas, and even tests for the specific case of wanting docValues w/o stored or indexed fields...
* the {{ignored_\*}} dynamic field in {{basic_configs/conf/schema.xml}}
* {{manu_exact}} in {{sample_techproducts_configs/conf/schema.xml}}
* all of the {{sort_\*}} fields in {{schema-icucollate-dv.xml}} tested in {{TestICUCollationFieldDocValues.java}}
...just to name a few.
what exactly is the error you are getting?
> Allow a field to be stored=false indexed=false docValues=true
> -------------------------------------------------------------
>
> Key: SOLR-8316
> URL: https://issues.apache.org/jira/browse/SOLR-8316
> Project: Solr
> Issue Type: Improvement
> Reporter: Keith Laban
>
> Right now if you try to index a field which is not stored or indexed you will get an exception, however sometimes it makes sense to have a field which only has docValues on for example see [SOLR-8220]
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org