hi all,
im new to lucene. i have an xml with repeating tags.something like :
<a>
<p>x</p>
<p>xx</p>
<p>xxx</p>
<p>xxxx</p>
</a>

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
www.rezaghp.com

Reply via email to