Field mapping

hey guys,

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?

Yes see index and store option in mapping.

David :wink:
@dadoonet

Le 16 mars 2012 à 00:54, android orcunsimsek@gmail.com a écrit :

hey guys,

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?

--
View this message in context: http://elasticsearch-users.115913.n3.nabble.com/field-mapping-tp3830453p3830453.html
Sent from the Elasticsearch Users mailing list archive at Nabble.com.

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:

Yes see index and store option in mapping.

Elasticsearch Platform — Find real-time answers at scale | Elastic

David :wink:
@dadoonet

Le 16 mars 2012 à 00:54, android orcunsimsek@gmail.com a écrit :

hey guys,

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?

--
View this message in context:
http://elasticsearch-users.115913.n3.nabble.com/field-mapping-tp3830453p3830453.html
Sent from the Elasticsearch Users mailing list archive at Nabble.com.