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

Uwe Schindler commented on LUCENE-2127:

Grant: In your latest patch, the collector seems to ignore docBase (or the next IndexReader), so the whole thing only works with optimized indexes. It should simply store the base doc and add it on new ScoreDoc.
Improved large result handling

Key: LUCENE-2127
URL: https://issues.apache.org/jira/browse/LUCENE-2127
Project: Lucene - Java
Issue Type: New Feature
Components: Search
Reporter: Grant Ingersoll
Assignee: Grant Ingersoll
Priority: Minor
Attachments: LUCENE-2127.patch, LUCENE-2127.patch

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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupdev @
postedSep 21, '10 at 5:21p
activeSep 21, '10 at 5:21p

1 user in discussion

Uwe Schindler (JIRA): 1 post



site design / logo © 2021 Grokbase