How to create sub index using elastic search?


(Sam-4) #1

Hi All

I have a situation where i want to create sub index of main index .Is
it possible in elastic search? if yes,then please help me.

Thanks


(David Pilato) #2

What is your use case ?
Why not creating index1, index2, index3, ... ?
With an alias on index1, index2, index3, ...

David :wink:

Le 13 juil. 2011 à 08:44, sam mishra.sameek@gmail.com a écrit :

Hi All

I have a situation where i want to create sub index of main index .Is
it possible in elastic search? if yes,then please help me.

Thanks


(Sam-4) #3

I will create index form one table and sub indexes from other tables
using rabbitmq river, so that if my searched data is not found in
index then it will go to search in sub indexes. How is it possible?

On Jul 13, 11:59 am, David Pilato da...@pilato.fr wrote:

What is your use case ?
Why not creating index1, index2, index3, ... ?
With an alias on index1, index2, index3, ...

David :wink:

Le 13 juil. 2011 à 08:44, sam mishra.sam...@gmail.com a écrit :

Hi All

I have a situation where i want to create sub index of main index .Is
it possible in elastic search? if yes,then please help me.

Thanks


(Shay Banon) #4

There is no notion of sub indexes in elasticsearch, but you can do what you want simply with several indices (which is what you are describing).

On Wednesday, July 13, 2011 at 10:34 AM, sam wrote:

I will create index form one table and sub indexes from other tables
using rabbitmq river, so that if my searched data is not found in
index then it will go to search in sub indexes. How is it possible?

On Jul 13, 11:59 am, David Pilato <da...@pilato.fr (http://pilato.fr)> wrote:

What is your use case ?
Why not creating index1, index2, index3, ... ?
With an alias on index1, index2, index3, ...

David :wink:

Le 13 juil. 2011 à 08:44, sam <mishra.sam...@gmail.com (http://gmail.com)> a écrit :

Hi All

I have a situation where i want to create sub index of main index .Is
it possible in elastic search? if yes,then please help me.

Thanks


(system) #5