[ https://issues.apache.org/jira/browse/LUCENE-2127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12796823#action_12796823 ]
Jason Rutherglen commented on LUCENE-2127: ------------------------------------------ Grant, This issue could be useful and I may be able to test out the resulting patches. What's the specific problem with the Sort/SortField/FieldComparator apparatus? We don't want to generate new objects using DocComparator.value(int slot) and store these in FieldDoc? We probably don't want to excessively generate objects. Maybe we can figure out a way to access to the primitive array and compare values which seems doable? > Improved large result handling > ------------------------------ > > Key: LUCENE-2127 > URL: https://issues.apache.org/jira/browse/LUCENE-2127 > Project: Lucene - Java > Issue Type: New Feature > Reporter: Grant Ingersoll > Assignee: Grant Ingersoll > Priority: Minor > > Per > http://search.lucidimagination.com/search/document/350c54fc90d257ed/lots_of_results#fbb84bd297d15dd5, > it would be nice to offer some other Collectors that are better at handling > really large number of results. This could be implemented in a variety of > ways via Collectors. For instance, we could have a raw collector that does > no sorting and just returns the ScoreDocs, or we could do as Mike suggests > and have Collectors that have heuristics about memory tradeoffs and only > heapify when appropriate. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscr...@lucene.apache.org For additional commands, e-mail: java-dev-h...@lucene.apache.org