lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From neeraj shah <neerajsha...@gmail.com>
Subject how to fetch qyery feild + other feild related results in Lucene3.6
Date Sat, 22 Jun 2013 06:07:07 GMT
Hello,

Im using Lucene 3.6.2.  and my file, which i indexed ,is something like
this :

     FIELD-1   FIELD-2 FIELD-3 FIELD-4
DOC1: A 1111 2222 ABC
DOC2: B 1111 KKKK ABC
DOC3: C 1111 JJJJ ABC
DOC4: D 1111 LLLL ABC
DOC5: E 1111 WWW ABC
DOC6: F 2222 CCCC DEF
DOC7: G 2222 SSSS DEF
DOC8: H 2222 FFFF DEF
DOC9: I 2222 QQQQ DEF

now if i search over  field "FIELD-3" and search for "222" ,i would get the
single result of "ABC".
My requirement is i want to fetch all results which contains "ABC". while
quering Field-4 value is not knwon so i can not put direct "ABC" for search.

how can i do this?

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