I've recently become aware that Lucene allows duplicate field names,
which essentially allows multiple values to be associated with a field.
A follow-up question is whether the order of the values is maintained...
if I store the values "A", "B", and then "C" in a given field for a
document, and then I later get the values via:
IndexableField[] f = doc.getFields(fieldName);
for (int i = 0; i < f.length; ++i)
{
...
}
... will the values come back in the same order I added them?
Thanks,
Daniel
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org