I'd like to index a document. And I want some fields to be indexable, and some fields to be storable, so that when I search for a field it will search through the indexable ones, and return the storable fields in the result set. Is it possible to do this in ES?
I'd like to index a document. And I want some fields to be indexable, and
some fields to be storable, so that when I search for a field it will search
through the indexable ones, and return the storable fields in the result
set. Is it possible to do this in ES?
Store field mapping is one option, though note that by default the whole
json document provided is stored under _source, and you can ask for
specific "paths" out of it when providing fields in the search request.
On Fri, Mar 16, 2012 at 7:28 PM, David Pilato david@pilato.fr wrote:
I'd like to index a document. And I want some fields to be indexable, and
some fields to be storable, so that when I search for a field it will
search
through the indexable ones, and return the storable fields in the result
set. Is it possible to do this in ES?
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.