lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Manjula Wijewickrema <manjul...@gmail.com>
Subject Re: Is it wrong to create index writer on each query request.
Date Fri, 06 Jun 2014 05:31:44 GMT
Hi,

What are the other disadvantages (other than the time factor) of creating
index for every request?

Manjula.


On Thu, Jun 5, 2014 at 2:34 PM, Aditya <findbestopensource@gmail.com> wrote:

> Hi Rajendra
>
> You should NOT create index writer for every request.
>
> >>Whether it is time consuming to update index writer when new document
> will come.
> No.
>
> Regards
> Aditya
> www.findbestopensource.com
>
>
>
> On Thu, Jun 5, 2014 at 12:24 PM, Rajendra Rao <rajendra.rao@launchship.com
> >
> wrote:
>
> > I have system in which documents and Query comes  frequently  .I am
> > creating index writer in memory every time for each query I request . I
> > want to know Is it good to separate Index Writing and loading  and Query
> > request ?  Whether It is good to save index writer on hard disk .Whether
> it
> > is time consuming to update index writer when new document will come.
> >
>

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