lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yousef Ourabi <>
Subject Field.Keyword vs new Field(String, String, true, true, true)
Date Fri, 24 Jun 2005 18:46:18 GMT
I have a quick question on the Field class. What is the difference between this:

for ()
Field content = new Field("content", contentArray[i], true, true, true, true);

and this:

doc.add(Field.Keyword("userAlias", userAlias ));

In the first example where the constructor is uesed will the second
term be entered as a Keyword by default? I am a little confused
because the JavaDoc's list both and I am not clear on the difference.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message