-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'cassandra-5.0' into trunk
- Loading branch information
Showing
27 changed files
with
213 additions
and
100 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
doc/modules/cassandra/examples/CQL/sai/create-vector-index-cycling.cql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
CREATE CUSTOM INDEX IF NOT EXISTS ann_index | ||
ON cycling.comments_vs(comment_vector) USING 'StorageAttachedIndex'; | ||
CREATE INDEX IF NOT EXISTS ann_index | ||
ON cycling.comments_vs(comment_vector) USING 'sai'; |
4 changes: 2 additions & 2 deletions
4
doc/modules/cassandra/examples/CQL/sai/create-vector-index.cql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
CREATE CUSTOM INDEX IF NOT EXISTS ann_index | ||
ON vsearch.products(item_vector) USING 'StorageAttachedIndex'; | ||
CREATE INDEX IF NOT EXISTS ann_index ON vsearch.products(item_vector) | ||
USING 'sai'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
doc/modules/cassandra/examples/CQL/sai/index-sai-case-sensitive.cql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
CREATE CUSTOM INDEX commenter_cs_idx ON cycling.comments_vs (commenter) | ||
USING 'StorageAttachedIndex' | ||
CREATE INDEX commenter_cs_idx ON cycling.comments_vs (commenter) | ||
USING 'sai' | ||
WITH OPTIONS = {'case_sensitive': 'true', 'normalize': 'true', 'ascii': 'true'}; |
8 changes: 4 additions & 4 deletions
8
doc/modules/cassandra/examples/CQL/sai/index-sai-composite-partition-key-index-match.cql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
CREATE CUSTOM INDEX race_name_idx | ||
CREATE INDEX race_name_idx | ||
ON cycling.rank_by_year_and_name (race_name) | ||
USING 'StorageAttachedIndex'; | ||
CREATE CUSTOM INDEX race_year_idx | ||
USING 'sai'; | ||
CREATE INDEX race_year_idx | ||
ON cycling.rank_by_year_and_name (race_year) | ||
USING 'StorageAttachedIndex'; | ||
USING 'sai'; |
4 changes: 2 additions & 2 deletions
4
doc/modules/cassandra/examples/CQL/sai/index-sai-from-list-match.cql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
CREATE CUSTOM INDEX events_idx | ||
CREATE INDEX events_idx | ||
ON cycling.upcoming_calendar (events) | ||
USING 'StorageAttachedIndex'; | ||
USING 'sai'; |
4 changes: 2 additions & 2 deletions
4
doc/modules/cassandra/examples/CQL/sai/index-sai-from-set-match.cql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
CREATE CUSTOM INDEX teams_idx | ||
CREATE INDEX teams_idx | ||
ON cycling.cyclist_career_teams (teams) | ||
USING 'StorageAttachedIndex'; | ||
USING 'sai'; |
12 changes: 6 additions & 6 deletions
12
doc/modules/cassandra/examples/CQL/sai/index-sai-multiple-index-match-with-and.cql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
CREATE CUSTOM INDEX commenter_idx | ||
CREATE INDEX commenter_idx | ||
ON cycling.comments_vs (commenter) | ||
USING 'StorageAttachedIndex'; | ||
CREATE CUSTOM INDEX created_at_idx | ||
USING 'sai'; | ||
CREATE INDEX created_at_idx | ||
ON cycling.comments_vs (created_at) | ||
USING 'StorageAttachedIndex'; | ||
CREATE CUSTOM INDEX ann_index | ||
USING 'sai'; | ||
CREATE INDEX ann_index | ||
ON cycling.comments_vs (comment_vector) | ||
USING 'StorageAttachedIndex'; | ||
USING 'sai'; | ||
|
4 changes: 2 additions & 2 deletions
4
doc/modules/cassandra/examples/CQL/sai/index-sai-similarity-function.cql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
CREATE CUSTOM INDEX sim_comments_idx | ||
CREATE INDEX sim_comments_idx | ||
ON cycling.comments_vs (comment_vector) | ||
USING 'StorageAttachedIndex' | ||
USING 'sai' | ||
WITH OPTIONS = { 'similarity_function': 'DOT_PRODUCT'}; |
4 changes: 2 additions & 2 deletions
4
doc/modules/cassandra/examples/CQL/sai/index-sai-single-index-match.cql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
CREATE CUSTOM INDEX commenter_idx | ||
CREATE INDEX commenter_idx | ||
ON cycling.comments_vs (commenter) | ||
USING 'StorageAttachedIndex'; | ||
USING 'sai'; |
4 changes: 2 additions & 2 deletions
4
doc/modules/cassandra/examples/CQL/sai/index-sai-udt-match.cql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
CREATE CUSTOM INDEX races_idx | ||
CREATE INDEX races_idx | ||
ON cycling.cyclist_races (races) | ||
USING 'StorageAttachedIndex'; | ||
USING 'sai'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
CREATE CUSTOM INDEX ON demo2.person_id_name_primarykey (id) | ||
USING 'StorageAttachedIndex'; | ||
CREATE INDEX ON demo2.person_id_name_primarykey (id) | ||
USING 'sai'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.