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 2025/07/11 20:41:00 UTC
(solr) branch branch_9x updated: Fix query bug in benchmarking test
This is an automated email from the ASF dual-hosted git repository.
houston pushed a commit to branch branch_9x
in repository https://gitbox.apache.org/repos/asf/solr.git
The following commit(s) were added to refs/heads/branch_9x by this push:
new 1e366727f66 Fix query bug in benchmarking test
1e366727f66 is described below
commit 1e366727f66b5ed470c87df5541b5a1242d75231
Author: Houston Putman <ho...@apache.org>
AuthorDate: Fri Jul 11 13:37:58 2025 -0700
Fix query bug in benchmarking test
(cherry picked from commit 6405f28f245d41bc3c86680d8865aac26ead64bb)
---
solr/benchmark/src/java/org/apache/solr/bench/search/NumericSearch.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/solr/benchmark/src/java/org/apache/solr/bench/search/NumericSearch.java b/solr/benchmark/src/java/org/apache/solr/bench/search/NumericSearch.java
index 4d662205230..398d102ec7c 100644
--- a/solr/benchmark/src/java/org/apache/solr/bench/search/NumericSearch.java
+++ b/solr/benchmark/src/java/org/apache/solr/bench/search/NumericSearch.java
@@ -168,7 +168,7 @@ public class NumericSearch {
new QueryRequest(
new SolrQuery(
"q",
- termQueryField + ":" + lowCardTerms.next(),
+ termQueryField + ":\"" + lowCardTerms.next() + "\"",
"fq",
"{!terms cache=false f='" + field + "'}" + queries.next()));
return q;