lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jafarim <jafa...@gmail.com>
Subject Re: How to reflect index changes to search automatically
Date Thu, 12 Jul 2007 17:41:15 GMT
With local indices, it is enough to reopen the IndexSearcher by calling
close() and then renew the IndexSearcher object. How about RemoteSearchers?
Is it necessary to re-initialize remote search server?

--jaf


On 7/12/07, Erick Erickson <erickerickson@gmail.com> wrote:
>
> In general, searchers cannot see changes to an index with out restarting,
> so I suspect that the answer is "no". This is entirely independent of
> remote,
> parallel, etc.
>
> Erick
>
> On 7/12/07, Sonu SR <sonusr@gmail.com> wrote:
> >
> > Hi,
> >      I have SearchServer and SearchClient programs. The SearchServer
> > using RemoteSearchable
> > for binding the indices in servers . The SearchClient using
> > ParallelMultiSearcher for searching the indices. The problem is that I
> > have
> > to restart the search servers for reflecting the index change in search
> on
> > every index change(add or update). Is there any other solution to
> reflect
> > the changes in search. That is without restarting the SearchServer.
> >
> > Thanks,
> > Sonu
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message