Document x doesn't exist - in terms of visibility - until the commit, so the
delete will no-op since a query of Lucene will not "see" the uncommitted new
document.
-- Jack Krupansky
-----Original Message-----
From: Matteo Grolla
Sent: Wednesday, November 5, 2014 4:47 AM
To: solr-user@lucene.apache.org
Subject: add and then delete same document before commit,
Can anyone tell me the behavior of solr (and if it's consistent) when I do
what follows:
1) add document x
2) delete document x
3) commit
I've tried with solr 4.5.0 and document x get's indexed
Matteo=