You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Michael McCandless (JIRA)" <ji...@apache.org> on 2015/03/31 14:47:52 UTC
[jira] [Updated] (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:all-tabpanel ]
Michael McCandless updated LUCENE-6379:
---------------------------------------
Attachment: LUCENE-6379.patch
Patch w/ simple test showing that Lucene's schema is actually reset (omitNorms goes away for a field).
> 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