-
Notifications
You must be signed in to change notification settings - Fork 72
Develop CtsQueryBuilder #376
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
The priority on this is much lower now since data-movement sdk will not build on top of mlcp, so it will have available all queries supported by the java-client API. |
Assigning this to you Erik, since you said you were code generating it |
Optic payload is in EA3. The cts.query JSON serialization is a goal for EA4. |
Should this issue be moved to a later milestone? |
In a conversation with Erik just now he clarified the intended implementation of the JSON or XML serialization. His intention is to provide a wrapper class that implements QueryDefinition and thus provides In any case, the current cts query builder will work great for those using the Optic API. But for those that want to send a cts query to filter a search request or other places that accept a |
Setting to 9.0-1 because that's the milestone available but really this work will need to wait until after 9.0-1 |
Moving out of 9.0-1 now that a later milestone is available. |
Once this is available—which I’d like to prioritize—is there any reason to not deprecate |
I believe that Note that an interface for defining bindings for |
Question: instead of changing the client CtsQuery builder to emit two serializations, should the /v1/search REST API endpoint just process the AST representation of a cts:query()? |
That seems to me to meet the highest priority need. It would, of course, need to accept the AST representation in a combined query also since that's required to specify facets, values, tuples, etc. The main limitation I can see is it would probably output only XML which would prevent customers from specifying the rest of their combined query in JSON when combining with this. But we already have that limitation with StructuredQueryBuilder and would probably have had the same limitation with a new CtsQueryBuilder. |
For consideration, balancing other objectives. |
Functionality should mirror
StructuredQueryBuilder
, but the output should be a serialized cts query rather than a structured query. This is needed for integration with mlcp since it can only accept cts queries.The text was updated successfully, but these errors were encountered: