ElasticSearch mapping vs JSON Schema


(jan.javorek) #1

Hello,

I am just looking at mapping files for ElasticSearch and they look a lot
like JSON schema. Unfortunately, I could not find any official information
about a relation between those two formats. Are ES mapping files subset of
JSON schema? Superset? Are they two totally different things which just
happened to look similar?

Regards,
Honza

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/da84dd37-ed24-45ab-b886-9fdafff3f261%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(Brian Yoder) #2

Honza,

They are totally different. Very simple examples of ES mappings might
appear similar to JSON schema. But ES mappings also allow you to define
analyzers and tokenizers and character filters and stop words and stemming
and time to live and such that are needed for search.

Brian

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/8a4341c7-a81a-4fcf-800c-a0a3c747d66e%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(system) #3