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

Adrien Grand commented on LUCENE-5119:
--------------------------------------

David, I think your use-case would still work pretty well with this change. In 
particular, if you had enough memory to store your ordinals mapping in memory, 
this means that the file-system cache will likely be able to cache the whole 
ordinals mapping as well (you may just need to decrease a little the amount of 
memory given the the JVM) so random access should remain fast?
                
> DiskDV SortedDocValues shouldnt hold doc-to-ord in heap memory
> --------------------------------------------------------------
>
>                 Key: LUCENE-5119
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5119
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Robert Muir
>         Attachments: LUCENE-5119.patch
>
>
> These are accessed sequentially when e.g. faceting, and can be a fairly large 
> amount of data (based on # of docs and # of unique terms). 
> I think this was done so that conceptually "random" access to a specific 
> docid would be faster than eg. stored fields, but I think we should instead 
> target the DV datastructures towards real use cases 
> (faceting,sorting,grouping,...)

--
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