[ https://issues.apache.org/jira/browse/SOLR-3855?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Adrien Grand updated SOLR-3855: ------------------------------- Attachment: SOLR-3855.patch Initial patch: DocValues can be: - configured on a per-field-type basis (docValueType=...), - enabled on a per-field basis (docValues=true/false) and are available for the following field types: - StrField, - UUIDField, - Trie*Field, - BoolField. When doc values are enabled, they have precedence over the field cache for {{getValueSource}} and {{getSortField}}, however faceting and stats cannot use doc values yet (I would like to do this as a separate issue). I force fields that have doc values enabled to be single-valued and to be either required or have a default value. I also modified a lot of code (ReturnFields especially) to make DocValues behave like stored fields. I think this would be great for ID fields. In a cluster that has {{numShards}} shards, it would help decrease the number of disk seeks in the .fdt file (which is often too big to fit entirely in the OS cache) per request from {{(numShards * (start + rows) + rows)}} to {{rows}}. The patch is not committable yet, and I have {{BasicDistributedZkTest.testDistribSearch}} that always fails (not sure why yet...) but I'd love to have some feedback to know whether it is going in the right direction. > DocValues support > ----------------- > > Key: SOLR-3855 > URL: https://issues.apache.org/jira/browse/SOLR-3855 > Project: Solr > Issue Type: Improvement > Reporter: Adrien Grand > Assignee: Adrien Grand > Priority: Minor > Fix For: 4.1, 5.0 > > Attachments: SOLR-3855.patch > > > It would be nice if Solr supported DocValues: > - for ID fields (fewer disk seeks when running distributed search), > - for sorting/faceting/function queries (faster warmup time than fieldcache), > - better on-disk and in-memory efficiency (you can use packed impls). -- 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: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org