I read ElasticSearch online guide but found no information on why
index name and doc type both exist. I wonder if doc type is a way to
separate different indexes but all of them share the same logical
name.
I think that I am wrong because ElasticSearch's /data directory shows
nothing about it. E.x:
Index names are different indices. Types are just syntactic sugar to add separation between types of documents. If you know Lucene, type is just a field on a doc.
On Wednesday, April 6, 2011 at 7:33 AM, pcdinh wrote:
I read Elasticsearch online guide but found no information on why
index name and doc type both exist. I wonder if doc type is a way to
separate different indexes but all of them share the same logical
name.
I think that I am wrong because Elasticsearch's /data directory shows
nothing about it. E.x:
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.