How can we search all indices across elastic search and exlude one from the list.
Something like
Nest.Indices search = "_all,-kibana"
How can we search all indices across elastic search and exlude one from the list.
Something like
Nest.Indices search = "_all,-kibana"
Think this should work *,-.*,-kibana
*
include all indexes
-.*
exclude any system indexes
-kibana
exclude a specific index
Multi-target syntax | Elasticsearch Guide [7.14] | Elastic goes into this more on the Elasticsearch side.
Indices paths | Elasticsearch.Net and NEST: the .NET clients [7.x] | Elastic might also be applicable (caveat - I'm not a .net dev!).
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
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.