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

David Smiley commented on LUCENE-5119:
--------------------------------------

Would it be easy to add random access as an option?  Looking at your patch, 
which was pretty simple, it doesn't appear that it'd be hard to support random 
access should an application which to want this.

A realistic example in my mind is a spatial filter in which a potentially large 
binary geometry representations of a shape is encoded for each document into 
DiskDV.  Some fast leading filters narrow down the applicable documents but 
some documents shape geometry need to be consulted in the DiskDV afterwards.  
Does that make sense?
                
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to