lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yogesh patel <yogeshpateldai...@gmail.com>
Subject Lucene Question about Query
Date Mon, 07 May 2012 03:59:50 GMT
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 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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message