The proto definition for SearchResult only contained a single "bytes hit = 1;", which made deserializing the object difficult in the SDKs. The aim here is to define each of the separate elements returned by the Search API in their own protobuf message to improve the SDKs implementations.
Additionally, BooleanQuery had an extra field not defined in the RFC (uint32 should_min) and didn't force must, must_not and should to be their distinct type of Query (respectively ConjunctionQuery and two DisjunctionQuery).
Motivation
The proto definition for SearchResult only contained a single "bytes hit = 1;", which made deserializing the object difficult in the SDKs. The aim here is to define each of the separate elements returned by the Search API in their own protobuf message to improve the SDKs implementations.
Additionally, BooleanQuery had an extra field not defined in the RFC (uint32 should_min) and didn't force must, must_not and should to be their distinct type of Query (respectively ConjunctionQuery and two DisjunctionQuery).