[ https://issues.apache.org/jira/browse/LUCENE-6379?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14388486#comment-14388486 ]
Robert Muir commented on LUCENE-6379: ------------------------------------- +1 > IndexWriter's delete-by-query should optimize/specialize MatchAllDocsQuery > -------------------------------------------------------------------------- > > Key: LUCENE-6379 > URL: https://issues.apache.org/jira/browse/LUCENE-6379 > Project: Lucene - Core > Issue Type: Improvement > Reporter: Michael McCandless > Assignee: Michael McCandless > Fix For: Trunk, 5.1 > > Attachments: LUCENE-6379.patch > > > We can short-circuit this to just IW.deleteAll (Solr already does so I > think). This also has the nice side effect of clearing Lucene's low-schema > (FieldInfos). -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org