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

Simon Willnauer commented on LUCENE-3433:
-----------------------------------------

bq. Maybe we should take a look at the bigger picture: perhaps DocValues should 
really just be
a ByteBuffer where offsets are docids, maybe even just using ByteBuffer etc API?

this looks like a very big change to me. you should open an issue and uplaod a 
patch so we can see how that looks like for variable bytes etc.

bq. Personally i think the seek() versus advance() is overkill, I think having 
DISI-like enums
doesn't really make sense for CSF (which is random access by definition), it 
only
needs get(int) apis.

I figured adding this is a quick win. I'd rather refine the API in a different 
issue?
                
> Random access non RAM resident IndexDocValues (CSF)
> ---------------------------------------------------
>
>                 Key: LUCENE-3433
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3433
>             Project: Lucene - Java
>          Issue Type: New Feature
>    Affects Versions: 4.0
>            Reporter: Yonik Seeley
>             Fix For: 4.0
>
>         Attachments: LUCENE-3433.patch
>
>
> There should be a way to get specific IndexDocValues by going through the 
> Directory rather than loading all of the values into memory.

--
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to