lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reza Ghaffaripour <>
Subject repeating fields
Date Wed, 07 Dec 2005 08:49:45 GMT
hi all,
im new to lucene. i have an xml with repeating tags.something like :

I add the "p" field as follows:
myDocument.add(Field.Text("p", "x"));
myDocument.add(Field.Text("p", "xx"));

but when i search for "x" it returns the first hit only.
what should i do ? i want to search for "x" and get all the 4 hits.

Reza Ghaffaripour

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