Re: Lucene: Index Writer to write in multiple file instead make one heavy file

2014-05-15 Thread Yogesh patel
In my case, it creates CFS(Compound File) As 10 GB. Can we split that file while optimize or writing index. Thanks On Wed, May 14, 2014 at 7:38 PM, Yogesh patel wrote: > Thanks for reply!!! > > Can you please provide me sample code for it? I got the idea but i dont >

Re: Lucene: Index Writer to write in multiple file instead make one heavy file

2014-05-14 Thread Yogesh patel
gments it > should merge. > > Also, you should try to upgrade: 3.0.1 is REALLY old. > > Mike McCandless > > http://blog.mikemccandless.com > > > On Tue, May 13, 2014 at 1:58 AM, Yogesh patel > wrote: > > HI > > > > I am using lucene 3.0.1.

Lucene: Index Writer to write in multiple file instead make one heavy file

2014-05-12 Thread Yogesh patel
HI I am using lucene 3.0.1. I am writing many documents with lucene Indexwriter. But Indexwriter add all documents into file which becomes more than 4GB in my case. so can i distribute files or partitioned ? -- *Regards,Yogesh Patel*

Re: Lucene Query About Sorting

2012-06-26 Thread Yogesh patel
an. > > > > On Tue, Jun 26, 2012 at 4:05 AM, Yogesh patel > wrote: > > Hi, > > > > I have one query of lucene about sort. > > > > I have 1 documents in my index which having fields A,B,C,D. i want > > first 100 results in my query but they mu

Re: Lucene Pagination with Query

2012-05-12 Thread Yogesh patel
/apache/* > *lucene/search/IndexSearcher.**html<http://lucene.apache.org/core/3_6_0/api/core/org/apache/lucene/search/IndexSearcher.html> > > > > > > On 2012-5-12 18:12, Yogesh patel wrote: > >> Hi >> >> I have index 10 documents in Lucene. I have one query that

Exact Match Query in Lucene with SnowBall Analyzer

2012-05-08 Thread Yogesh patel
builder was found murdered at her Ghatkopar flat on Monday night when i search with keyword 'murder' , it should search only murder keyword from content field and highlight only murder keyword(Not murdering or murdered). Awaiting for reply Yogesh Patel

Re: Lucene Question about Query

2012-05-08 Thread Yogesh patel
y 7, 2012 at 11:25 PM, Yogesh patel > wrote: > > I used SnowBall Analyzer with English language.In snowball analyzer is it > > possible? > > > > > > On Mon, May 7, 2012 at 9:48 AM, Li Li wrote: > > > >> what's your analyzer? > >> if

Re: Lucene Question about Query

2012-05-07 Thread Yogesh patel
ex this > field but not analyze it. > > On Mon, May 7, 2012 at 11:59 AM, Yogesh patel > wrote: > > Hi > > > > I am using lucene for search implementation . > > I have created index with two columns > > (1) Name > > (2) Year > > > > I sto

Lucene Question about Query

2012-05-06 Thread Yogesh patel
all record with ACC , ACJ etc..who start with AC...But I need only records of AC.. So is it possible with lucene for exact query match?. -- Yogesh Patel

Regarding Lucene Query

2011-09-25 Thread Yogesh patel
Respected, Hello, I am using lucene with my java application. I am having one confusion. I want to paginate my search and want 20-30 results and total results are 10. So When i query in application, it gives me heap space error. So can we fire lucene query so we can only get 20-30 results fro

Slow ness of IndexWriter.close()

2011-06-13 Thread Yogesh Dabhi
}finally{ try{ if(writer!=null){ writer.close(); } }catch(IOException ex){ } } } Thanks & Regards Yogesh

# 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
got bellow error An unexpected network error occurred In lucene directory there write.lock file I cannot read data & update data in index from Instance1 But for other two Instances its working fine is there a way to handle such error Thanks & Regards Yogesh

Re: Locking Issue with Concurrency

2011-04-21 Thread yogesh
i search the data i got error An unexpected network error occurred -- View this message in context: http://lucene.472066.n3.nabble.com/Locking-Issue-with-Concurrency-tp2842509p2846120.html Sent from the Lucene - Java Users mailing list archive at Nabble.com.

Locking Issue with Concurrency

2011-04-20 Thread Yogesh Dabhi
lock file But for other two Instances its working fine Before locking all thing working fine is there a way to handle such error Thanks & Regards Yogesh

Concurrent Issue

2011-04-05 Thread Yogesh Dabhi
re a way to handle such error Thanks & Regards Yogesh

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