[
https://issues.apache.org/jira/browse/SOLR-8316?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15018404#comment-15018404
]
Keith Laban commented on SOLR-8316:
-----------------------------------
After looking further into this, it looks like a problem related to the worked
being done in [SOLR-8220].
We are adding fields retrieved from docValues by doing the following:
{code}
doc.add(schemaField.getType().createField(schemaField,
sdv.get(docid).utf8ToString(), 1.0f));
{code}
this {{createField}} call is returning {{null}} based on the code I wrote
above. Perhaps we need to create fields differently, or change how
{{createField}} works.
> 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: [email protected]
For additional commands, e-mail: [email protected]