What is difference between index,indices and type?


(Sam-4) #1

Hi

I have some confusion on index,indices and type and when it used.

Thanks


(Lukáš Vlček) #2

Hi,

how about this:

  • index is like a database
  • type is like a database table

You can search in one index or across more indices (and types).

Regards,
Lukas

On Thu, Jul 21, 2011 at 6:51 AM, sam mishra.sameek@gmail.com wrote:

Hi

I have some confusion on index,indices and type and when it used.

Thanks


(Sam-4) #3

thanks for reply i understood what is index and type but what the
indices are like?

On Jul 21, 11:19 am, Lukáš Vlček lukas.vl...@gmail.com wrote:

Hi,

how about this:

  • index is like a database
  • type is like a database table

You can search in one index or across more indices (and types).

Regards,
Lukas

On Thu, Jul 21, 2011 at 6:51 AM, sam mishra.sam...@gmail.com wrote:

Hi

I have some confusion on index,indices and type and when it used.

Thanks


(Shay Banon) #4

indices is the plural form of index. One index, many indices (indexes can
also be used).

On Thu, Jul 21, 2011 at 10:38 AM, sam mishra.sameek@gmail.com wrote:

thanks for reply i understood what is index and type but what the
indices are like?

On Jul 21, 11:19 am, Lukáš Vlček lukas.vl...@gmail.com wrote:

Hi,

how about this:

  • index is like a database
  • type is like a database table

You can search in one index or across more indices (and types).

Regards,
Lukas

On Thu, Jul 21, 2011 at 6:51 AM, sam mishra.sam...@gmail.com wrote:

Hi

I have some confusion on index,indices and type and when it used.

Thanks


(system) #5