lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matteo Grolla <matteo.gro...@gmail.com>
Subject Re: add and then delete same document before commit,
Date Wed, 05 Nov 2014 21:21:48 GMT
Perfectly clear,
	thanks a lot!

Il giorno 05/nov/2014, alle ore 13:48, Jack Krupansky ha scritto:

> 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= 


Mime
View raw message