Is it wrong to create index writer on each query request.

2014-06-05 Thread Rajendra Rao
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

Re: Is it wrong to create index writer on each query request.

2014-06-05 Thread Aditya
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@launchship.com wrote: I have system in

Re: Is it wrong to create index writer on each query request.

2014-06-05 Thread Manjula Wijewickrema
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 findbestopensou...@gmail.com wrote: Hi Rajendra You should NOT create index writer for every request. Whether it is time consuming to