Will do that, thanks for thinking with me.
On Tue, Jul 9, 2013 at 10:38 AM, Radu Gheorghe
radu.gheorghe@sematext.comwrote:
Ah, I see now. I see that this one does show you indices:
curl localhost:9200/*/a/_mapping?pretty
Anyway, I understand the problem now. Maybe an option is to just open an
issue and maybe they'll make it more consistent.By the way, the UI shapes up really nice
On Tue, Jul 9, 2013 at 11:31 AM, Jettro Coenradie <
jettro.coenradie@gridshore.nl> wrote:I am working on a plugin:
GitHub - jettro/elasticsearch-gui: An angularJS client for elasticsearch as a plugin
Elasticsearch guiAt the moment I am thinking about a better way to present a dropdown with
all possible fields. I want to limit the fields based on prior selected
index(es) or type(s). It would be nice if the result of the following type
of queries would have the same structure:http://localhost:9200/_mapping
http://localhost:9200/index_a/_mapping
http://localhost:9200/index_a,index_b/_mapping
http://localhost:9200/index_a/type_a/_mapping
http://localhost:9200/index_a/type_a,type_b/_mapping
http://localhost:9200/*/type_a/_mapping
http://localhost:9200/_all/type_a/_mappingOn Tue, Jul 9, 2013 at 8:56 AM, Radu Gheorghe <radu.gheorghe@sematext.com
wrote:
Hi Jettro,
On Tue, Jul 9, 2013 at 9:15 AM, Jettro Coenradie <
jettro.coenradie@gmail.com> wrote:Hi Radu, thank you for your answer. I know there is more to it. But
what if you do this:It seems to me that it will just return the first "blog-item" mapping it
finds. For example, if you have two indices with this mapping, the command
above will only return one of them. And you probably wouldn't know which
index it comes from.Than you do not get back the index, so you get back the type without
the index it belongs to. I am not sure, is it possible to create a type
without an index and reuse the same type among indexes?No, you can't create a type without an index. But you can use templates
where you can automatically create the same mappings to all new indices
that match the template pattern:
Elasticsearch Platform — Find real-time answers at scale | ElasticIn any case, it just makes doing my generic stuff a bit harder, in the
end I'll go around it.Can you share what is the generic stuff you're trying to do here?
Best regards,
Raduhttp://sematext.com/ -- Elasticsearch -- Solr -- Lucene
--
You received this message because you are subscribed to a topic in the
Google Groups "elasticsearch" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/elasticsearch/EZyxjQeD3rk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
elasticsearch+unsubscribe@googlegroups.com.For more options, visit https://groups.google.com/groups/opt_out.
--
Jettro Coenradie
http://www.gridshore.nl--
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 elasticsearch+unsubscribe@googlegroups.com.For more options, visit https://groups.google.com/groups/opt_out.
--
http://sematext.com/ -- Elasticsearch -- Solr -- Lucene--
You received this message because you are subscribed to a topic in the
Google Groups "elasticsearch" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/elasticsearch/EZyxjQeD3rk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
Jettro Coenradie
--
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 elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.