lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-3855) DocValues support
Date Tue, 12 Feb 2013 12:39:12 GMT

    [ https://issues.apache.org/jira/browse/SOLR-3855?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13576588#comment-13576588
] 

Robert Muir commented on SOLR-3855:
-----------------------------------

I like the size of this patch!

One thing thats a little confusing is the multivalued check against a boolean 'hasDocValues'.

In lucene this is not a limitation of docvalues per-say, instead its controlled-per-type.
it just happens that all 3 types today have consumers that check for this and throw exception,
but we might add a multi-valued type later (LUCENE-4765).

Separately there is also the possibility that someone can lay down their own multi-valued
encoding over e.g. a binary dv (like lucene facets/). But if we have a private check called
from SchemaField's ctor and checks in e.g. DocumentBuilder, it seems like this would be difficult
to change. Maybe as a start we should just let IndexWriter handle the check here?

                
> 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.2, 5.0
>
>         Attachments: SOLR-3855.patch, SOLR-3855.patch, 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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message