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