I'm using the Ruby gem Tire to communicate with ElasticSearch. I have setup
a mapping for my users index. However, I want certain fields to be excluded
from the "_all" field so that that field doesn't creep into my results. I'm
using the setting "include_in_all", but for some fields it doesn't seem to
be honoring that.
Is there a command like "_mapping" where I can either view the _all field,
or see which fields go into it on the server side?
I'm using the Ruby gem Tire to communicate with Elasticsearch. I have
setup a mapping for my users index. However, I want certain fields to be
excluded from the "_all" field so that that field doesn't creep into my
results. I'm using the setting "include_in_all", but for some fields it
doesn't seem to be honoring that.
Is there a command like "_mapping" where I can either view the _all field,
or see which fields go into it on the server side?
I'm familiar with the _mapping API, however, it doesn't show the _all field
which is what I was curious about. Is there another way to see it or see
what it mapped to it?
On Sunday, May 20, 2012 4:29:49 PM UTC-4, kimchy wrote:
Yes, you can issue a get mapping API and see how things are "actually"
mapped on ES side.
I'm using the Ruby gem Tire to communicate with Elasticsearch. I have
setup a mapping for my users index. However, I want certain fields to be
excluded from the "_all" field so that that field doesn't creep into my
results. I'm using the setting "include_in_all", but for some fields it
doesn't seem to be honoring that.
Is there a command like "_mapping" where I can either view the _all
field, or see which fields go into it on the server side?
I'm familiar with the _mapping API, however, it doesn't show the _all
field which is what I was curious about. Is there another way to see it or
see what it mapped to it?
On Sunday, May 20, 2012 4:29:49 PM UTC-4, kimchy wrote:
Yes, you can issue a get mapping API and see how things are "actually"
mapped on ES side.
I'm using the Ruby gem Tire to communicate with Elasticsearch. I have
setup a mapping for my users index. However, I want certain fields to be
excluded from the "_all" field so that that field doesn't creep into my
results. I'm using the setting "include_in_all", but for some fields it
doesn't seem to be honoring that.
Is there a command like "_mapping" where I can either view the _all
field, or see which fields go into it on the server side?
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.