We always do a full delete before indexing, this is because for us that is
the only way to be sure that there are no documents in the index that don't
exist anymore.
So delete all, than add all.
To use the delete all, we did the following. We added a field called
dummyDelete. This field always
-user@lucene.apache.org; Jack L
Betreff: Re: Re[2]: add and delete docs at same time
We always do a full delete before indexing, this is because for us
that is the only way to be sure that there are no documents in the
index that don't exist anymore.
So delete all, than add all.
To use
On 25-May-07, at 2:49 AM, Burkamp, Christian wrote:
Thierry,
If you always start from scratch you could even reset the index
completely (i.e. delete the index directory). Solr will create a
new index automatically at startup.
This will also make indexing and optimizing much faster for
can I add and delete docs at same post?
Some thing like this:
myDocs.xml
=
add
docfield name=mainId4/field/doc
docfield name=mainId5/field/doc
docfield name=mainId6/field/doc
/add
deleteid1/id/delete
deleteid2/id/delete
deleteid3/id/delete
currently no.
Right now you even need a new request for each delete...
Patrick Givisiez wrote:
can I add and delete docs at same post?
Some thing like this:
myDocs.xml
=
add
docfield name=mainId4/field/doc
docfield name=mainId5/field/doc
docfield
On May 24, 2007, at 3:47 PM, Ryan McKinley wrote:
currently no.
Right now you even need a new request for each delete...
Unless you used delete-by-query with the id's OR'd
deletequeryid:1 OR id:2 OR id:3/query/delete
Patrick Givisiez wrote:
can I add and delete docs at same