You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The _type field can also not be indexed, and all the APIs will still work except for specific queries (term queries / filters) or faceting done on the _type field.
{
"tweet" : {
"_type" : {"index" : "no"}
}
}
From testing, when _type is configured to not be indexed, a query like the following will still return the documents:
From http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/mapping-type-field.html#mapping-type-field:
From testing, when _type is configured to not be indexed, a query like the following will still return the documents:
This seems to be consistent with the other documentation page on _uid (http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/mapping-uid-field.html) where it says "The _uid field is automatically used when _type is not indexed to perform type based filtering, and does not require the _id to be indexed."
But contradictory to the description provided on the _type doc page (http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/mapping-type-field.html#mapping-type-field):
"The _type field can also not be indexed, and all the APIs will still work except for specific queries (term queries / filters) or faceting done on the _type field."
The text was updated successfully, but these errors were encountered: