lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adrien Grand (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SOLR-3855) DocValues support
Date Thu, 08 Nov 2012 00:32:12 GMT

     [ 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

New patch:
 - ability to have direct doc values,
 - doc values are not fetched by default, you need to explicitely add their name to the fl
parameter to load them,
 - all tests pass except BasicDistributedZkTest.testDistribSearch, but it doesn't pass either
without the patch applied on my (very slow...) laptop.

This patch is not perfect... for example I am not happy that I had to add a new createDocValuesFields
method in FieldType. The reason is that only poly fields are allowed to return several fields
in createFields but I think this would require a more globabl refactoring and should not block
this issue?

If you want to play with doc values and Solr, I modified the example schema.xml so that popularity
and inStock have doc values enabled. You can try to display their values, sort on them and/or
use function queries on them.

When a field is indexed and has doc values, the patch always tries to use doc values instead
of the field cache.
                
> 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, 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