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

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

Actually another idea is maybe there should be no default? And it wouldnt be 
too bad if we combine docValuesType and docValues into one parameter.

So this way there is no trap (slow-io, or huge ram) on anyone. you would just 
say docValuesType=packed docValuesMethod=(disk/memory?)

Then down the road once docvalues is really worked out, we could have example 
fieldtypes for various use cases (id, sort, scoring factors, etc) configured 
reasonably with whatever makes sense?

I guess it doesnt matter to me if there is a default, and what the default is, 
as long as we are careful to both offer and advertise the ram/disk option in 
the example (even if there is actually a default).

for this initial patch, we could just make it so only "memory" actually works 
and you get a UOE if you ask for direct. I feel like this is a good step to 
remove uninversion times, etc and we could separately add the disk option... 
I'm just throwing out future ideas.

                
> 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

Reply via email to