We want to use Elastic search for our search use case.
We store issue data(think of it like jira) but more structured. Each ISSUE_TYPE contains some common fields like requestor, assigned to etc. and some specific fields for that particular problem.
I plan to create an elastic search index per ISSUE_TYPE. To enable cross ISSUE_TYPE search, I plan to do a cross index search something like . elasticsearch_endpoint/_search/*/ Our use case is read heavy. I am debating between using static mapping vs dynamic mapping(with dynamic templates). Using static mapping provides more control but is more restrictive. Dynamic mapping comes with a problem of mapping explosion.
I want to understand how ElasticSearch scales and what is tipping factor that determines its performance. How will it behave(read latency) for below use cases:
- More data(A lot of same type of ISSUES but not many ISSUE_TYPES) with small size of individual document.
- More fields in same index.( 20 vs 2000).
- More indexes each with similar number of fields.
- More indexes with some having 20 fields other having 2000 fields
Would really appreciate any pointers.
Thanks