You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Adrien Grand (JIRA)" <ji...@apache.org> on 2015/03/31 14:57:52 UTC
[jira] [Commented] (LUCENE-6379) IndexWriter's delete-by-query
should optimize/specialize MatchAllDocsQuery
[ https://issues.apache.org/jira/browse/LUCENE-6379?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14388481#comment-14388481 ]
Adrien Grand 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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org