Skip to content
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

remove -single from query install command #241

Merged
merged 1 commit into from
Dec 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions demos/guru_scripts/docker/tutorial/4.x/VectorSearch.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ CREATE OR REPLACE QUERY q1 (LIST<float> query_vector) SYNTAX v3 {
}

#compile and install the query as a stored procedure
install query -single q1
install query q1

#run the query
run query q1([-0.017733968794345856, -0.01019224338233471, -0.016571875661611557])
Expand Down Expand Up @@ -181,7 +181,7 @@ CREATE OR REPLACE QUERY q1a (LIST<float> query_vector) SYNTAX v3 {
}

#compile and install the query as a stored procedure
install query -single q1a
install query q1a

#run the query
run query q1a ([-0.017733968794345856, -0.01019224338233471, -0.016571875661611557])
Expand Down Expand Up @@ -212,7 +212,7 @@ CREATE OR REPLACE QUERY q2 (LIST<float> query_vector, double threshold) SYNTAX v
}

#compile and install the query as a stored procedure
install query -single q2
install query q2

#run the query
run query q2([-0.017733968794345856, -0.01019224338233471, -0.016571875661611557], 0.394)
Expand Down Expand Up @@ -247,7 +247,7 @@ CREATE OR REPLACE QUERY q3 (LIST<float> query_vector, int k) SYNTAX v3 {
}

#compile and install the query as a stored procedure
install query -single q3
install query q3

#run the query
run query q3([-0.017733968794345856, -0.01019224338233471, -0.016571875661611557], 2)
Expand Down Expand Up @@ -299,7 +299,7 @@ CREATE OR REPLACE QUERY q4 (datetime low, datetime high, LIST<float> query_vecto
}

#compile and install the query as a stored procedure
install query -single q4
install query q4

#run the query
run query q4("2024-01-01", "2024-12-31", [-0.017733968794345856, -0.01019224338233471, -0.016571875661611557])
Expand Down Expand Up @@ -337,7 +337,7 @@ CREATE OR REPLACE QUERY q5() SYNTAX v3 {
}

#compile and install the query as a stored procedure
install query -single q5
install query q5

#run the query
run query q5()
Expand Down Expand Up @@ -371,7 +371,7 @@ CREATE OR REPLACE QUERY q6 (LIST<float> query_vector) SYNTAX v3 {
}

#compile and install the query as a stored procedure
install query -single q6
install query q6

#run the query
run query q6([-0.017733968794345856, -0.01019224338233471, -0.016571875661611557])
Expand Down
2 changes: 1 addition & 1 deletion demos/guru_scripts/docker/tutorial/4.x/vector/q1.gsql
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ CREATE OR REPLACE QUERY q1 (LIST<float> query_vector) SYNTAX v3 {
}

#compile and install the query as a stored procedure
install query -single q1
install query q1

#run the query
run query q1([-0.017733968794345856, -0.01019224338233471, -0.016571875661611557])
2 changes: 1 addition & 1 deletion demos/guru_scripts/docker/tutorial/4.x/vector/q1a.gsql
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ CREATE OR REPLACE QUERY q1a (LIST<float> query_vector) SYNTAX v3 {
}

#compile and install the query as a stored procedure
install query -single q1a
install query q1a

#run the query
run query q1a ([-0.017733968794345856, -0.01019224338233471, -0.016571875661611557])
2 changes: 1 addition & 1 deletion demos/guru_scripts/docker/tutorial/4.x/vector/q2.gsql
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ CREATE OR REPLACE QUERY q2 (LIST<float> query_vector, double threshold) SYNTAX v
}

#compile and install the query as a stored procedure
install query -single q2
install query q2

#run the query
run query q2([-0.017733968794345856, -0.01019224338233471, -0.016571875661611557], 0.394)
2 changes: 1 addition & 1 deletion demos/guru_scripts/docker/tutorial/4.x/vector/q3.gsql
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ CREATE OR REPLACE QUERY q3 (LIST<float> query_vector, int k) SYNTAX v3 {
}

#compile and install the query as a stored procedure
install query -single q3
install query q3

#run the query
run query q3([-0.017733968794345856, -0.01019224338233471, -0.016571875661611557], 2)
2 changes: 1 addition & 1 deletion demos/guru_scripts/docker/tutorial/4.x/vector/q4.gsql
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ CREATE OR REPLACE QUERY q4 (datetime low, datetime high, LIST<float> query_vecto
}

#compile and install the query as a stored procedure
install query -single q4
install query q4

#run the query
run query q4("2024-01-01", "2024-12-31", [-0.017733968794345856, -0.01019224338233471, -0.016571875661611557])
2 changes: 1 addition & 1 deletion demos/guru_scripts/docker/tutorial/4.x/vector/q5.gsql
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ CREATE OR REPLACE QUERY q5() SYNTAX v3 {
}

#compile and install the query as a stored procedure
install query -single q5
install query q5

#run the query
run query q5()
2 changes: 1 addition & 1 deletion demos/guru_scripts/docker/tutorial/4.x/vector/q6.gsql
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ CREATE OR REPLACE QUERY q6 (LIST<float> query_vector) SYNTAX v3 {
}

#compile and install the query as a stored procedure
install query -single q6
install query q6

#run the query
run query q6([-0.017733968794345856, -0.01019224338233471, -0.016571875661611557])
Loading