For supporting a strongly-typed Query DSL, we should generate some runtime-queryable metadata for each field when deriving ElasticType.
That way we can capture properties of each field that might affect generated queries as types. Things like date formats for example.
I don't have a clear picture of what this should look like yet, I think we'll end up with some strongly-typed structure implementing traits for each field, one per type, but it needs some proper design.
For supporting a strongly-typed Query DSL, we should generate some runtime-queryable metadata for each field when deriving ElasticType.
That way we can capture properties of each field that might affect generated queries as types. Things like date formats for example.
I don't have a clear picture of what this should look like yet, I think we'll end up with some strongly-typed structure implementing traits for each field, one per type, but it needs some proper design.