lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <luc...@mikemccandless.com>
Subject Re: How to achieve real-time index search in lucene
Date Wed, 06 Jan 2016 11:51:20 GMT
Why not just always use IndexWriter.updateDocument, passing a unique
identifier for your document?

This way IW will add it if it doesn't exist, else replace it if it did.

Mike McCandless

http://blog.mikemccandless.com


On Tue, Jan 5, 2016 at 10:35 PM, Alok Bhandari
<alokomprakashbhandari@gmail.com> wrote:
> Is any one aware of how to achieve this ?
>
>
>
> --
> View this message in context: http://lucene.472066.n3.nabble.com/How-to-achieve-real-time-index-search-in-lucene-tp4248648p4248807.html
> Sent from the Lucene - Java Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>

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


Mime
View raw message