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

Michael McCandless commented on LUCENE-3433:
--------------------------------------------

bq. I agree with simon here, can't we spin off a different issue for these?

+1: I agree removal of SortedSource is unrelated to this issue.  We
should discuss it under a new issue (it's obviously contentious), and
for this issue do the nice cleanups we all agree on.  It shouldn't be
removed under this one.

One shouldn't have to pay such a high price (uninversion on searcher
startup) to sort or group by a string field, which we do today.  It's
silly to re-invert on every searcher startup when we can sort once
during indexing and record that in the doc values, and SortedSource
gives us that.

Besides the merge RAM usage (which I think is minor) is there a
technical/code complexity reason that SortedSource should be removed?
Does it somehow require the enums or something?  I'm trying to
understand how/why it suddenly got coupled into this issue...

I think sorting and grouping by string fields are first class
functions for Lucene.

                
> 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
>            Assignee: Simon Willnauer
>             Fix For: 4.0
>
>         Attachments: LUCENE-3433.patch, LUCENE-3433.patch, LUCENE-3433.patch, 
> sorted_source.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