Re: Custom sort/basic question

2005-11-22 Thread Erik Hatcher
On 22 Nov 2005, at 11:29, Gus Kormeier wrote: Hey John, My understanding is that if you add a field with the same name as a previous field added, you will be overwriting the value stored in the document. So if you add: doc.add(Field.Text("sequence", "1")); doc.add(Field.Text("sequence",

RE: Custom sort/basic question

2005-11-22 Thread Gus Kormeier
ot;)); doc.add(Field.Text("sequence", "3")); Afterwards, the field sequence would hold a value of 3. I'm guessing that by now you have already tested that. -Gus -Original Message- From: John Powers [mailto:[EMAIL PROTECTED] Sent: Monday, November 21, 2005 3:01 PM To

Custom sort/basic question

2005-11-21 Thread John Powers
If I add keywords to a document at the same time, will they stay in that order? Create New doc A doc.add(Field.Text("category", "toys")); doc.add(Field.Text("sequence", "235")); doc.add(Field.Text("category", "bears")); doc.add(Field.Text("sequence", "63")); doc.add(Field.Text("category", "truc