Re: Lucene Question about Query

2012-05-08 Thread Yogesh patel
Thanks so much..KeywordAnalyzer works fine with exact match... On Wed, May 9, 2012 at 8:11 AM, Ivan Brusic wrote: > The snowball analyzer will not work since it analyzes the field. Use > the KeywordAnalyzer, which will preserve the text as is. > > -- > Ivan > > On Mon, May 7, 2012 at 11:25 PM, Y

Re: Lucene Question about Query

2012-05-08 Thread Ivan Brusic
The snowball analyzer will not work since it analyzes the field. Use the KeywordAnalyzer, which will preserve the text as is. -- Ivan On Mon, May 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,

Re: Lucene Question about Query

2012-05-07 Thread Yogesh patel
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 you use standard analyzer, I think this won't happen. > if you want to get exact match of name field, you should index this > field but

Re: Lucene Question about Query

2012-05-06 Thread Li Li
what's your analyzer? if you use standard analyzer, I think this won't happen. if you want to get exact match of name field, you should index 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 create

Lucene Question about Query

2012-05-06 Thread Yogesh patel
Hi I am using lucene for search implementation . I have created index with two columns (1) Name (2) Year I stored values like AC 2001 AC 2002 ACC 2004 ACC 2001 ACJ 2006 ACJ 2007 I want to query in index to get year of AC ..When i query with Name:AC or Name: "AC" , it gives me all record with