[
https://issues.apache.org/jira/browse/CASSANDRA-19837?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17892213#comment-17892213
]
Stefan Miklosovic commented on CASSANDRA-19837:
-----------------------------------------------
There should be also easier way how to create vectors instead of this:
{code}
insertInto(TEST_KEYSPACE_NAME, TEST_TABLE_NAME)
.value("a", literal(1))
.value("b", literal(CqlVector.newInstance(0.1, 0.2,
0.3)))
.build()
{code}
something like "vector(1,2,3)" maybe?
cc [~absurdfarce] [~janehe]
> QueryBuilder Select does not support new vector sort syntax
> -----------------------------------------------------------
>
> Key: CASSANDRA-19837
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19837
> Project: Cassandra
> Issue Type: Improvement
> Components: Client/java-driver
> Reporter: Mark Paluch
> Priority: Normal
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> Building Select statements through
> {{com.datastax.oss.driver.api.querybuilder.select.Select}} only supports
> ASC/DESC ordering and not {{ORDER BY … ANN OF ….}}
>
> It would be good to have the vector search syntax in the query builder for
> all users that rely on the Query Builder. This extension should also accept
> {{Term}} to be able to bind vector values.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]