You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@solr.apache.org by ho...@apache.org on 2024/02/07 16:34:28 UTC
(solr) branch jira/SOLR-16858 updated: typos
This is an automated email from the ASF dual-hosted git repository.
hossman pushed a commit to branch jira/SOLR-16858
in repository https://gitbox.apache.org/repos/asf/solr.git
The following commit(s) were added to refs/heads/jira/SOLR-16858 by this push:
new 745c838d3b5 typos
745c838d3b5 is described below
commit 745c838d3b5a4d6b17a32bd87725dc3d91f953e6
Author: Chris Hostetter <ho...@apache.org>
AuthorDate: Wed Feb 7 09:34:17 2024 -0700
typos
---
.../src/test/org/apache/solr/search/neural/KnnQParserTest.java | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/solr/core/src/test/org/apache/solr/search/neural/KnnQParserTest.java b/solr/core/src/test/org/apache/solr/search/neural/KnnQParserTest.java
index 696fca5f394..ccd0e3ecc44 100644
--- a/solr/core/src/test/org/apache/solr/search/neural/KnnQParserTest.java
+++ b/solr/core/src/test/org/apache/solr/search/neural/KnnQParserTest.java
@@ -593,7 +593,7 @@ public class KnnQParserTest extends SolrTestCaseJ4 {
final String vectorToSearch = "[1.0, 2.0, 3.0, 4.0]";
final SolrParams common = params("fl", "id");
- // these requests should be equivilent
+ // these requests should be equivalent
final String filt = "id:(1 2 7 20)";
for (SolrQueryRequest req :
Arrays.asList(
@@ -619,7 +619,7 @@ public class KnnQParserTest extends SolrTestCaseJ4 {
final String vectorToSearch = "[1.0, 2.0, 3.0, 4.0]";
final SolrParams common = params("fl", "id");
- // these requests should be equivilent
+ // these requests should be equivalent
final String fx = "id:(3 4 9 2 1 )"; // 1 & 10 dropped from intersection
final String fy = "id:(3 4 9 2 10)";
for (SolrQueryRequest req :
@@ -716,7 +716,7 @@ public class KnnQParserTest extends SolrTestCaseJ4 {
"fq", "{!tag=xx,aa}id:(5 6 7 8 9 10)",
"fq", "{!tag=yy,aa}id:(1 2 3 4 5 6 7)");
- // These req's are equivilent: pre-filter everything
+ // These req's are equivalent: pre-filter everything
// So only 7,6,5 are viable for topK=5
for (SolrQueryRequest req :
Arrays.asList(
@@ -755,7 +755,7 @@ public class KnnQParserTest extends SolrTestCaseJ4 {
"fq", "{!tag=xx,aa}id:(5 6 7 8 9 10)",
"fq", "{!tag=yy,aa}id:(1 2 3 4 5 6 7)");
- // These req's are equivilent: pre-filter nothing
+ // These req's are equivalent: pre-filter nothing
// So 1,4,2,10,3,7 are the topK=6
// Only 7 matches both of the the regular fq params
for (SolrQueryRequest req :
@@ -803,7 +803,7 @@ public class KnnQParserTest extends SolrTestCaseJ4 {
"fq", "{!tag=xx,aa}id:(5 6 7 8 9 10)",
"fq", "{!tag=yy,aa}id:(1 2 3 4 5 6 7)");
- // These req's are equivilent: prefilter only the 'yy' fq
+ // These req's are equivalent: prefilter only the 'yy' fq
// So 1,4,2,3,7 are in the topK=5.
// Only 7 matches the regular 'xx' fq param
for (SolrQueryRequest req :