I want documents who has certain field/value pairs ("availability: 0"), not
to be "searchable".
There's one solution provided by Igor, which is to use an alias. We set an
alias with the index name and a filter requiring availibity > 0 , and we
make all our search queries to that alias. But I like to know if there's
anyway to tell "ES to "not even look at" those documents. More or less like
the "index:no" option when defining a field mapping, but on a document
I've pursuing this because I think there's a performance gain here, maybe
there's not? an alias with a numeric filter is as performant as this "not
searchable document" solution would be???
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 firstname.lastname@example.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/20714f9a-a79b-4c62-9439-780c33f18e56%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.