[ 
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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to