[ https://issues.apache.org/jira/browse/LUCENE-5402?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13875613#comment-13875613 ]
Michael McCandless commented on LUCENE-5402: -------------------------------------------- I like the idea of being able to pass a Query to identify which documents you want to index. But, it's spooky to pull the TopDocs with Integer.MAX_VALUE: this could suck up a lot of transient RAM. Can we instead just pull our own Weight/Scorer/DISI and iterate the documents from that? > Add support for index-time pruning in Document*Dictionary (Suggester) > --------------------------------------------------------------------- > > Key: LUCENE-5402 > URL: https://issues.apache.org/jira/browse/LUCENE-5402 > Project: Lucene - Core > Issue Type: Improvement > Components: core/search > Reporter: Areek Zillur > Fix For: 5.0, 4.7 > > Attachments: LUCENE-5402.patch > > > It would be nice to be able to prune out entries that the suggester consumes > by some query. -- This message was sent by Atlassian JIRA (v6.1.5#6160) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org