@@ -44,10 +44,10 @@ setup:
4444 properties :
4545 keyword :
4646 type : keyword
47- inference_1 :
47+ dense_inference :
4848 type : semantic_text
4949 inference_id : dense-inference-id
50- inference_2 :
50+ sparse_inference :
5151 type : semantic_text
5252 inference_id : sparse-inference-id
5353 text_1 :
7272 {"index": {"_id": "1"}}
7373 {
7474 "keyword": "keyword match 1",
75- "inference_1 ": "you know",
76- "inference_2 ": "for testing",
75+ "dense_inference ": "you know",
76+ "sparse_inference ": "for testing",
7777 "text_1": "foo match 1",
7878 "text_2": "x match 2",
7979 "timestamp": "2000-03-30",
8282 {"index": {"_id": "2"}}
8383 {
8484 "keyword": "keyword match 2",
85- "inference_1 ": "ElasticSearch is an open source",
86- "inference_2 ": "distributed, RESTful, search engine",
85+ "dense_inference ": "ElasticSearch is an open source",
86+ "sparse_inference ": "distributed, RESTful, search engine",
8787 "text_1": "bar match 3",
8888 "text_2": "y match 4",
8989 "timestamp": "2010-02-08",
9292 {"index": {"_id": "3"}}
9393 {
9494 "keyword": "keyword match 3",
95- "inference_1 ": "which is built on top of Lucene internally",
96- "inference_2 ": "and enjoys all the features it provides",
95+ "dense_inference ": "which is built on top of Lucene internally",
96+ "sparse_inference ": "and enjoys all the features it provides",
9797 "text_1": "baz match 5",
9898 "text_2": "z match 6",
9999 "timestamp": "2024-08-08",
@@ -178,7 +178,7 @@ setup:
178178 body :
179179 retriever :
180180 linear :
181- fields : [ "inference_1 ", "inference_2 " ]
181+ fields : [ "dense_inference ", "sparse_inference " ]
182182 query : " distributed, RESTful, search engine"
183183 normalizer : " minmax"
184184
@@ -200,7 +200,7 @@ setup:
200200 body :
201201 retriever :
202202 linear :
203- fields : [ "inference_1 ^3", "inference_2 " ]
203+ fields : [ "dense_inference ^3", "sparse_inference " ]
204204 query : " distributed, RESTful, search engine"
205205 normalizer : " minmax"
206206
0 commit comments