You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by Carl19 <i....@gmail.com> on 2008/05/26 16:49:43 UTC
Field attribute is not consistent with field data attribute?
A lucene field has some attributes (eg. storeTermVector ...), when
a document is added these attributes are updated, so how these
fields attributes can represent all field datas attributes?
For example, when add doc1 (field a's storeTermVector is false),
doc2(field A's storeTermVector is false), doc3(field A's storeTermVector
is true), the field A's attribute storeTermVector will be true, and
FieldsReader will read back these 3 docs with field A's storeTermVector
is true, but actually there is no term vector stored for field A of doc1,
doc2.
--
View this message in context: http://www.nabble.com/Field-attribute-is-not-consistent-with-field-data-attribute--tp17473272p17473272.html
Sent from the Lucene - Java Developer mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org
Re: Field attribute is not consistent with field data attribute?
Posted by Chris Hostetter <ho...@fucit.org>.
: A lucene field has some attributes (eg. storeTermVector ...), when
: a document is added these attributes are updated, so how these
: fields attributes can represent all field datas attributes?
some properties are specific to the field across the entire index,
regardless of how many docs use them -- fieldNorms for example exist for
all docs as soon as one doc has an instance of that field that does not
omitNorms. Off the top of my head, i can't remember if storeTermVector
works like that ... i seem to recall some fairly straight forward
documentation about which properties are per field name, and which are per
field instance, but i'm not finding it at the moment.
Does anyone know if/where this is documented? is it only in LIA?
-Hoss
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org