You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
tgrall
changed the title
make SearchResult & Document classes more developer friendly
make SearchResult, Document and AggregationResult classes more developer friendly
Sep 17, 2020
We should improve the
SearchResult
andDocument
class more developer friendly, it could simply be a different serialization of the document.Using proper name/value object/map, instead of a list of k/v.
Note: this is just capture as a possible improvement, more thinking is needed, but the idea would be to reduce the code when processing the result.
For example a SearchResult should be represented by a JSON class like this one:
Instead of:
Possible solution:
The text was updated successfully, but these errors were encountered: