Ok, so the index aliasing feature is really cool and powerful. I was
wondering if there is any similar sort of functionality for types? The use
case is this - you have 100,000 news articles and 100,000 tweets indexed. I
want to change the mapping on the news articles (index a new field) and do a
reindex of just news articles into the new mapping. Is there a way to alias
these so that you could atomically cut from a query on the old type to a
query on the new type without having to rewrite the queries?
By the way Shay, amazing work. And not even just in code, though what is
there is really elegant, but with the whole project - the releases, the site
maintenance, responsiveness on the listserv, the whole bucket. Hats off.
phone: 305.858.1422 ext. 286
direct: (978) 294-9429 https://www.google.com/voice/b/0?pli=1#phones
On Wed, Aug 24, 2011 at 4:17 PM, Sebastian email@example.com wrote:
I was thinking in using JMX monitoring to plot some data, like index
size, doc. count, translog ops, etc. The problem I am having is that
only the indices names are shown under "org.elasticsearch/indices",
not the aliases, so it's impossible to add an agent request for that
index, as the name changes from time to time (when I do a full reindex
for example, as I increment the index version and swap the alias
later). Also the caches status would be a nice JMX addition.
I think it must be somewhere in the roadmap, meanwhile I can implement
myself an MBean using the status API and the like, but I would like to
know if you are planning to add it soon so I won't waste time in it