How to overcome locking in Indexwriter
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   parag_dharmadhikari
Posted On:   Monday, January 14, 2002 11:21 PM

I am creating index for my application in seesion timeout event. In my application I have called some different methods which will create index files for different directories. For this, I am creating different indexwriter objects and giving each index file different name so that i can search on them. I am closing each index file after method is finished. But my problem is all the index which are created in the session timeout contanis "wrier.lock" file and when I try to search on such index I obviously get no results. Can anybody pls help me!!! regards parag    More>>

I am creating index for my application in seesion timeout event.

In my application I have called some different methods which will create index files for different directories. For this, I am creating different indexwriter objects and giving each index file different name so that i can search on them.

I am closing each index file after method is finished.

But my problem is all the index which are created in the session timeout contanis "wrier.lock" file and when I try to search on such index I obviously get no results.



Can anybody pls help me!!!



regards
parag

   <<Less
About | Sitemap | Contact