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, 18 Nov 2015 15:21:33 GMT
On Solr 4.10.3 I'm noting a different (desired) behaviour

1) add document x
2) delete document x
3) commit

document x doesn't get indexed.
The question now is: Can I count on this behaviour or is it just incidental?

2014-11-05 22:21 GMT+01:00 Matteo Grolla <matteo.grolla@gmail.com>:

> 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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message