I am wondering if it is possible to filter a field from a document
using aliases. For example if I have an index with documents such as

{
    "user" : "test",
    "secret_field": "value",
    "post_date" : "2014-06-05T09:12:12",
    "message" : "trying out Elasticsearch"
}

Now if I want to create an alias for this index which has all the
documents with fields as above except the secret_field. I can use the
term filter in the alias creation but that works at document level and
filters the documents based on specified terms. So I am wondering is
there any other method to filter only field but not the whole document
from index.

Regards,
Gurvinder

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/54323E86.8000001%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to