Re: Field.Keyword vs new Field(String, String, true, true, true)

2005-06-24 Thread Erik Hatcher
On Jun 24, 2005, at 2:46 PM, Yousef Ourabi wrote: 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); doc.add(content); and this: doc.add(Field.Keyword("userAlias", userAli

Field.Keyword vs new Field(String, String, true, true, true)

2005-06-24 Thread Yousef Ourabi
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); doc.add(content); and this: doc.add(Field.Keyword("userAlias", userAlias )); In the first example where the constructor is uesed