You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by lu...@nitwit.de on 2004/02/17 12:47:58 UTC

Multiple equal Fields?

Hi!
What happens if I do this:

doc.add(Field.Text("foo", "bar"));
doc.add(Field.Text("foo", "blah"));

Is there a field "foo" with value "blah" or are there two "foo"s (actually not 
possible) or is there one "foo" with the values "bar" and "blah"?

And what does happen in this case:

doc.add(Field.Text("foo", "bar"));
doc.add(Field.Text("foo", "bar"));
doc.add(Field.Text("foo", "bar"));

Does lucene store this only once?

Timo

---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org