Tanks for quick reply!
To be more presise - im looking for the ability to specify wether to
analyze the field at index request time - not at setup/mapping
definition time - as one can when adding Field to a lucene Document.
My second question is: how does ES support multi valued fields - ie in
lucene: adding several Field instances to one and the same Document
using the same field name but different settings , eg. adding product
number as not-analyzed but product description analyzed - using the
same field name
Tanks for quick reply!
To be more presise - im looking for the ability to specify wether to
analyze the field at index request time - not at setup/mapping
definition time - as one can when adding Field to a lucene Document.
My second question is: how does ES support multi valued fields - ie in
lucene: adding several Field instances to one and the same Document
using the same field name but different settings , eg. adding product
number as not-analyzed but product description analyzed - using the
same field name
It makes little sense to add under the same field name in Lucene fields with different analysis settings. But, as was noted, the multi field type can be used to have the same json data be indexed differently under different field names.
On Monday, February 6, 2012 at 3:45 AM, Phu Le wrote:
Tanks for quick reply!
To be more presise - im looking for the ability to specify wether to
analyze the field at index request time - not at setup/mapping
definition time - as one can when adding Field to a lucene Document.
My second question is: how does ES support multi valued fields - ie in
lucene: adding several Field instances to one and the same Document
using the same field name but different settings , eg. adding product
number as not-analyzed but product description analyzed - using the
same field name
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.