RE: FieldType.tokenized not the same after query

2014-01-17 Thread Phil Herold
o: java-user@lucene.apache.org Subject: RE: FieldType.tokenized not the same after query Hi, The indexing settings of FieldTypes are not available in the index. The FieldType information is only used during indexing. IndexReader.document() only returns stored fields, nothing more. This is one re

RE: FieldType.tokenized not the same after query

2014-01-17 Thread Uwe Schindler
il: u...@thetaphi.de > -Original Message- > From: Phil Herold [mailto:phil.her...@d-wise.com] > Sent: Friday, January 17, 2014 2:37 AM > To: java-user@lucene.apache.org > Subject: FieldType.tokenized not the same after query > > The last line in the test program below fails. I'm

FieldType.tokenized not the same after query

2014-01-16 Thread Phil Herold
The last line in the test program below fails. I'm trying to store a keyword, not tokenized, and get the same "type" of field back after query. But it doesn't work, it comes back as "tokenized". Is this a known problem, or am I missing something? Thanks. -- Phil import org.apache.lucen