I'm building a simple app which presents the user with two drop-downs to
easily filter data: one for day (mapping to my daily indices), and one for
client (a term within documents).
I'm currently finding indices using curl -XGET localhost:9200/_aliases, and
a simple aggregation query to get a list of known clients over all indices.
It works, but since not every client is present on every date it feels
clunky when the client is known but the list of dates still contains all
indices, many of which are irrelevant for the selected client.
Can anyone recommend a good way of finding a list of indices in which there
is at least one document containing a specified term please? Thank you very
much.
I'm building a simple app which presents the user with two drop-downs to
easily filter data: one for day (mapping to my daily indices), and one for
client (a term within documents).
I'm currently finding indices using curl -XGET localhost:9200/_aliases,
and a simple aggregation query to get a list of known clients over all
indices. It works, but since not every client is present on every date it
feels clunky when the client is known but the list of dates still contains
all indices, many of which are irrelevant for the selected client.
Can anyone recommend a good way of finding a list of indices in which
there is at least one document containing a specified term please? Thank
you very much.
On Mon, Sep 1, 2014 at 3:10 PM, Chris Lees <ch...@fixspec.com
<javascript:>> wrote:
I'm building a simple app which presents the user with two drop-downs to
easily filter data: one for day (mapping to my daily indices), and one for
client (a term within documents).
I'm currently finding indices using curl -XGET localhost:9200/_aliases,
and a simple aggregation query to get a list of known clients over all
indices. It works, but since not every client is present on every date it
feels clunky when the client is known but the list of dates still contains
all indices, many of which are irrelevant for the selected client.
Can anyone recommend a good way of finding a list of indices in which
there is at least one document containing a specified term please? Thank
you very much.
I'm building a simple app which presents the user with two drop-downs to
easily filter data: one for day (mapping to my daily indices), and one for
client (a term within documents).
I'm currently finding indices using curl -XGET localhost:9200/_aliases,
and a simple aggregation query to get a list of known clients over all
indices. It works, but since not every client is present on every date it
feels clunky when the client is known but the list of dates still contains
all indices, many of which are irrelevant for the selected client.
Can anyone recommend a good way of finding a list of indices in which
there is at least one document containing a specified term please? Thank
you very much.
--
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 elasticsearc...@googlegroups.com.
I'm building a simple app which presents the user with two drop-downs
to easily filter data: one for day (mapping to my daily indices), and one
for client (a term within documents).
I'm currently finding indices using curl -XGET localhost:9200/_aliases,
and a simple aggregation query to get a list of known clients over all
indices. It works, but since not every client is present on every date it
feels clunky when the client is known but the list of dates still contains
all indices, many of which are irrelevant for the selected client.
Can anyone recommend a good way of finding a list of indices in which
there is at least one document containing a specified term please? Thank
you very much.
--
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 elasticsearc...@googlegroups.com.
I'm building a simple app which presents the user with two drop-downs
to easily filter data: one for day (mapping to my daily indices), and one
for client (a term within documents).
I'm currently finding indices using curl -XGET
localhost:9200/_aliases, and a simple aggregation query to get a list of
known clients over all indices. It works, but since not every client is
present on every date it feels clunky when the client is known but the list
of dates still contains all indices, many of which are irrelevant for the
selected client.
Can anyone recommend a good way of finding a list of indices in which
there is at least one document containing a specified term please? Thank
you very much.
--
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 elasticsearc...@googlegroups.com.
I'm building a simple app which presents the user with two drop-downs
to easily filter data: one for day (mapping to my daily indices), and one
for client (a term within documents).
I'm currently finding indices using curl -XGET
localhost:9200/_aliases, and a simple aggregation query to get a list of
known clients over all indices. It works, but since not every client is
present on every date it feels clunky when the client is known but the list
of dates still contains all indices, many of which are irrelevant for the
selected client.
Can anyone recommend a good way of finding a list of indices in which
there is at least one document containing a specified term please? Thank
you very much.
--
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 elasticsearc...@googlegroups.com.
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.