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

Martijn van Groningen commented on LUCENE-3509:
-----------------------------------------------

We currently only use it for types BYTES_VAR_SORTED and BYTES_FIXED_SORTED 
hence the name. I think we can use it for the other types as well. This option 
basically decides whether DirectInt or PacketInt is used (in 
PacketInt#getReader()). The DirectInt classes are faster for when using 
BYTES_VAR_SORTED and BYTES_FIXED_SORTED types. I'll try and test if this is 
also the case for for the other types (I think it will be faster for the other 
types as well).
                
> Add settings to IWC to optimize IDV indices for CPU or RAM respectivly
> ----------------------------------------------------------------------
>
>                 Key: LUCENE-3509
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3509
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: core/index
>    Affects Versions: 4.0
>            Reporter: Simon Willnauer
>            Priority: Minor
>             Fix For: 4.0
>
>         Attachments: LUCENE-3509.patch, LUCENE-3509.patch
>
>
> spinnoff from LUCENE-3496 - we are seeing much better performance if required 
> bits for PackedInts are rounded up to a 8/16/32/64. We should add this option 
> to IWC and default to round up ie. more RAM & faster lookups.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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