Slow ness of IndexWriter.close()

2011-06-13 Thread Yogesh Dabhi
Hi, I try to add and update document in index At the start its take only 1 to 2 second but after 50 to 60 document add and update Its take 40 to 50 second or some time its take more then 1 min Is there any way to improve performance ? Please help me Please check my code

# search in Query

2011-05-23 Thread Yogesh Dabhi
I have some bellow value in lucene index field 1#abcd 2#test wer 3# testing rty I wright the query like bellow +fieldname:1# After query parser I see query string become +fieldname:1 is there a way to search given string Thanks & Regards Yogesh

An unexpected network error occurred

2011-05-10 Thread Yogesh Dabhi
Three Instance of My application & lucene index directory shared for all instance Lucene version 3.1 Lock factory:- NativeFSLockFactory Instance1 jdk64 ,64 os Instance2 jdk64 ,64 os Instance3 jdk32 ,32 os When I try to search the data from the index directory from Instance1 I got

Locking Issue with Concurrency

2011-04-20 Thread Yogesh Dabhi
Three Instance of My application & they access common lucene directory Instance1 jdk64 ,64 os Instance2 jdk64 ,64 os Instance3 jdk32 ,32 os When I access folder from Instance1 I got bellow error An unexpected network error occurred I see the index folder there is one .lock file

Concurrent Issue

2011-04-05 Thread Yogesh Dabhi
Hi My application is cluster in jobss application servers & lucene directory was shared. Concurrently 5 user access same lucene directory for searching document That time I got bellow exception org.apache.lucene.store.AlreadyClosedException: this IndexReader is closed is there a way

RE: org.apache.lucene.store.AlreadyClosedException: this IndexReader is closed

2011-04-03 Thread Yogesh Dabhi
ease reply Thanks & Regards Yogesh From: Yogesh Dabhi Sent: Friday, April 01, 2011 6:44 PM To: 'java-user@lucene.apache.org' Subject: org.apache.lucene.store.AlreadyClosedException: this IndexReader is closed Hi Concurrently 5 user access same lucene directory for

org.apache.lucene.store.AlreadyClosedException: this IndexReader is closed

2011-04-01 Thread Yogesh Dabhi
Hi Concurrently 5 user access same lucene directory for searching document That time I got bellow exception org.apache.lucene.store.AlreadyClosedException: this IndexReader is closed is there a way to handle such error Thanks & Regards Yogesh