I'm wanting to search a series of documents which have a nested object nature. For instance a Github issue. I'm needing to ideally use the ES search lite <http://www.elasticsearch.org/guide/en/elasticsearch/guide/current/search-lite.html> syntax
I have some top level data (assignee, created_at etc) and some nested items, think comments or commits etc. Dumping an entire document into ES makes it easily searchable but some weird side effects come up, most notably around sorting on the nested comments. What's the best practice for this kind of document search? Is it better to split the comments into seperate documents with issue meta data attached, or via each issue being a big dump in a document? Ideally, I'd like to be able to search for an document, and sort by one of the attributes of the document, either at the top level, or nested inside one of the comments. Any ideas? -- 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 protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/42a3fffb-97ee-43e1-be68-02cd44bd9a28%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
