Yes, if you do a commit with waitSearcher=true (and it succeeds) then
any adds before that point will be visible.

-Yonik


On Mon, Jul 20, 2015 at 8:25 PM, Bhawna Asnani <bhawna.asn...@gmail.com> wrote:
> Hi,
> I am using solr to update a document and read it back immediately through
> search.
>
>
> I do softCommit my changes which claims to use lucene's indexReader using
> indexWritter which was used to write teh document.
> But there are times when Itheget a stale document back even with
> waitSearcher=true.
>
> Does lucene's nrt (i.e. DirectoryReader open(IndexWriter writer, boolean
> applyAllDeletes)) guarantee's that the changes made through the wirtter
> will be visible to reader immediately?
>
> Thanks.

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

  • Lucene nrt Bhawna Asnani
    • Re: Lucene nrt Yonik Seeley

Reply via email to