[
https://issues.apache.org/jira/browse/LUCENE-5178?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13741826#comment-13741826
]
Yonik Seeley commented on LUCENE-5178:
--------------------------------------
bq. This way if someone wants this: they can do it.
Shouldn't this be handled at the lucene level?
Anyway, this whole discussion all started from this:
bq. There are currently one or two disadvantages to using docvalues in solr
currently. The major disadvantage is being forced to specify a default value in
Solr,
That's the major issue, to which you replied "why would have fields defined you
arent using?". Although the lack of resolution on this issue would be an
annoyance, the real problem is SOLR-5165. There should have never been a
required default value for Solr, and it should be removed.
> doc values should allow configurable defaults
> ---------------------------------------------
>
> Key: LUCENE-5178
> URL: https://issues.apache.org/jira/browse/LUCENE-5178
> Project: Lucene - Core
> Issue Type: Improvement
> Reporter: Yonik Seeley
>
> DocValues should somehow allow a configurable default per-field.
> Possible implementations include setting it on the field in the document or
> registration of an IndexWriter callback.
> If we don't make the default configurable, then another option is to have
> DocValues fields keep track of whether a value was indexed for that document
> or not.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]