One of the coolest and most celebrated features of Elasticsearch is its
ability to index JSON in what we know to be a “quasi schemaless” fashion.
Elasticsearch does this by automatically flattening fields, whenever
possible, while resorting to nested field (“Blockjoin”) when objects are
While this works well for small documents and document collections, it
becomes unsustainable for larger ones: Blockjoin works by splitting the
original document in many documents, one per nested record. For example, a
single USPTO patent (XML format converted to JSON) will end up being over
1500 documents in the index. This has implications on performance and
SIREn is an open source plugin for Elasticsearch that enhances search over
nested data. SIREn uses a sophisticated "tree indexing" design which
ensures that the index is not artificially inflated. This ensures that
querying on many types of nested queries can be up to 3x faster. Further,
depending on the data, memory requirements for faceting can be up to 10x
higher. As such, SIREn allows you to use Elasticsearch for larger and more
complex datasets, especially so for sophisticated analytics. (You can read
our whitepaper to find out more )
SIREn is also truly schemaless - it even allows you to change the type of a
property between documents without being restricted by a defined mapping.
This can be very useful for data integration scenarios where data is
described in different ways in different sources.
You only need a few minutes to download and try SIREn . It comes with a
detailed manual  and you have access to the code on GitHub .
We look forward to hear about your feedbacks.
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 email@example.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/7a71fab2-f79d-46de-b443-8a01a818f7c4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.