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

ASF subversion and git services commented on LUCENE-6379:
---------------------------------------------------------

Commit 1670412 from [~mikemccand] in branch 'dev/branches/branch_5x'
[ https://svn.apache.org/r1670412 ]

LUCENE-6379: short circuit IndexWriter.deleteDocuments(MatchAllDocsQuery) to 
the much faster and schema-cleansing .deleteAll

> 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, 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

Reply via email to