stargate / data-api

JSON document API for Apache Cassandra (formerly known as JSON API)
https://stargate.io
Apache License 2.0
14 stars 16 forks source link

Add support for analyzers to JSON API #525

Open jeffreyscarpenter opened 1 year ago

jeffreyscarpenter commented 1 year ago

CQL analyzers are now available in datastax/cassandra fork and Astra Vector DB (docs).

Let's define syntax for adding analyzers to find and similar operations supporting filtering on JSON API

tatu-at-datastax commented 1 year ago

Analyzers are what is called "text search"?

In addition to syntax, need to figure out how they'd work for data model: since we have no schema to work on ("JSON" model) for anything but couple of special fields (_id, $vector), I think we'd require another special field.

So maybe another issue for figuring out how this would work from data model perspective?

sync-by-unito[bot] commented 1 year ago

➤ Aaron Morton commented:

Getting this into the API is on hold until after the Nov 14 MVP, if we have time we will add it or it will be a fast follow.

We want to keep working on getting the SAI enhancements into the core because it will take longer to get through, the PR for this is https://github.com/datastax/cassandra/pull/813 ( https://github.com/datastax/cassandra/pull/813|smart-link )

Michael Marshall is helping to get the changes into SAI