You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Yonik Seeley (JIRA)" <ji...@apache.org> on 2007/09/11 23:50:32 UTC
[jira] Created: (SOLR-354) optimize removing all documents
optimize removing all documents
-------------------------------
Key: SOLR-354
URL: https://issues.apache.org/jira/browse/SOLR-354
Project: Solr
Issue Type: Improvement
Reporter: Yonik Seeley
Priority: Minor
a delete-by-query of *:* should quickly be able to remove all documents.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (SOLR-354) optimize removing all documents
Posted by "Thomas Peuss (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-354?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12528735 ]
Thomas Peuss commented on SOLR-354:
-----------------------------------
Anything new on that? The QueryParser part seems to be missing from that patch...
> optimize removing all documents
> -------------------------------
>
> Key: SOLR-354
> URL: https://issues.apache.org/jira/browse/SOLR-354
> Project: Solr
> Issue Type: Improvement
> Reporter: Yonik Seeley
> Priority: Minor
> Attachments: removeAllDocs.patch
>
>
> a delete-by-query of *:* should quickly be able to remove all documents.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (SOLR-354) optimize removing all documents
Posted by "Mike Klaas (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-354?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12528846 ]
Mike Klaas commented on SOLR-354:
---------------------------------
Actually, this is already commited (accidently?) in r576683.
I'm not sure what you mean by the QueryParser part being missing -- the logic seems sound to me
> optimize removing all documents
> -------------------------------
>
> Key: SOLR-354
> URL: https://issues.apache.org/jira/browse/SOLR-354
> Project: Solr
> Issue Type: Improvement
> Reporter: Yonik Seeley
> Priority: Minor
> Attachments: removeAllDocs.patch
>
>
> a delete-by-query of *:* should quickly be able to remove all documents.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (SOLR-354) optimize removing all documents
Posted by "Thomas Peuss (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-354?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12529001 ]
Thomas Peuss commented on SOLR-354:
-----------------------------------
Ah. Sorry. I was searching MatchAllDocsQuery in the Solr's codebase. It's in Lucene's.
I am very happy to have that now!
Thanks
Thomas
> optimize removing all documents
> -------------------------------
>
> Key: SOLR-354
> URL: https://issues.apache.org/jira/browse/SOLR-354
> Project: Solr
> Issue Type: Improvement
> Reporter: Yonik Seeley
> Priority: Minor
> Attachments: removeAllDocs.patch
>
>
> a delete-by-query of *:* should quickly be able to remove all documents.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (SOLR-354) optimize removing all documents
Posted by "Yonik Seeley (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-354?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yonik Seeley updated SOLR-354:
------------------------------
Attachment: removeAllDocs.patch
attaching patch that opens an IndexWriter in create mode to effectively overwrite the main index.
> optimize removing all documents
> -------------------------------
>
> Key: SOLR-354
> URL: https://issues.apache.org/jira/browse/SOLR-354
> Project: Solr
> Issue Type: Improvement
> Reporter: Yonik Seeley
> Priority: Minor
> Attachments: removeAllDocs.patch
>
>
> a delete-by-query of *:* should quickly be able to remove all documents.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (SOLR-354) optimize removing all documents
Posted by "Yonik Seeley (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-354?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yonik Seeley resolved SOLR-354.
-------------------------------
Resolution: Fixed
Indeed, committed accidentally.
I left it and just updated CHANGES.txt
> optimize removing all documents
> -------------------------------
>
> Key: SOLR-354
> URL: https://issues.apache.org/jira/browse/SOLR-354
> Project: Solr
> Issue Type: Improvement
> Reporter: Yonik Seeley
> Priority: Minor
> Attachments: removeAllDocs.patch
>
>
> a delete-by-query of *:* should quickly be able to remove all documents.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.