Skip to content

Commit 328493f

Browse files
committed
chore: use consistent spelling for module names
1 parent d4774a2 commit 328493f

2 files changed

Lines changed: 99 additions & 99 deletions

File tree

src/it/java/io/weaviate/integration/SearchITest.java

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ public void testNearText() throws IOException {
151151
client.collections.create(nsSongs,
152152
col -> col
153153
.properties(Property.text("title"))
154-
.vectorConfig(VectorConfig.text2VecModel2Vec()));
154+
.vectorConfig(VectorConfig.text2vecModel2Vec()));
155155

156156
var songs = client.collections.use(nsSongs);
157157
var submarine = songs.data.insert(Map.of("title", "Yellow Submarine"));
@@ -173,7 +173,7 @@ public void testNearText() throws IOException {
173173

174174
@Test
175175
public void testNearText_groupBy() throws IOException {
176-
var vectorizer = VectorConfig.text2VecModel2Vec();
176+
var vectorizer = VectorConfig.text2vecModel2Vec();
177177

178178
var nsArtists = ns("Artists");
179179
client.collections.create(nsArtists,
@@ -370,7 +370,7 @@ public void testNearObject() throws IOException {
370370
client.collections.create(nsAnimals,
371371
collection -> collection
372372
.properties(Property.text("kind"))
373-
.vectorConfig(VectorConfig.text2VecModel2Vec()));
373+
.vectorConfig(VectorConfig.text2vecModel2Vec()));
374374

375375
var animals = client.collections.use(nsAnimals);
376376

@@ -399,7 +399,7 @@ public void testHybrid() throws IOException {
399399
client.collections.create(nsHobbies,
400400
collection -> collection
401401
.properties(Property.text("name"), Property.text("description"))
402-
.vectorConfig(VectorConfig.text2VecModel2Vec()));
402+
.vectorConfig(VectorConfig.text2vecModel2Vec()));
403403

404404
var hobbies = client.collections.use(nsHobbies);
405405

@@ -432,7 +432,7 @@ public void testBadRequest() throws IOException {
432432
client.collections.create(nsThings,
433433
collection -> collection
434434
.properties(Property.text("name"))
435-
.vectorConfig(VectorConfig.text2VecModel2Vec()));
435+
.vectorConfig(VectorConfig.text2vecModel2Vec()));
436436

437437
var things = client.collections.use(nsThings);
438438
var balloon = things.data.insert(Map.of("name", "balloon"));
@@ -449,7 +449,7 @@ public void testBadRequest_async() throws Throwable {
449449
async.collections.create(nsThings,
450450
collection -> collection
451451
.properties(Property.text("name"))
452-
.vectorConfig(VectorConfig.text2VecModel2Vec()))
452+
.vectorConfig(VectorConfig.text2vecModel2Vec()))
453453
.join();
454454

455455
var things = async.collections.use(nsThings);
@@ -470,7 +470,7 @@ public void testMetadataAll() throws IOException {
470470
client.collections.create(nsThings,
471471
c -> c
472472
.properties(Property.text("name"))
473-
.vectorConfig(VectorConfig.text2VecModel2Vec(
473+
.vectorConfig(VectorConfig.text2vecModel2Vec(
474474
t2v -> t2v.sourceProperties("name"))));
475475

476476
var things = client.collections.use(nsThings);
@@ -563,7 +563,7 @@ public void testGenerative_bm25() throws IOException {
563563
c -> c
564564
.properties(Property.text("title"))
565565
.generativeModule(new DummyGenerative())
566-
.vectorConfig(VectorConfig.text2VecModel2Vec(
566+
.vectorConfig(VectorConfig.text2vecModel2Vec(
567567
t2v -> t2v.sourceProperties("title"))));
568568

569569
var things = client.collections.use(nsThings);
@@ -604,7 +604,7 @@ public void testGenerative_bm25_groupBy() throws IOException {
604604
c -> c
605605
.properties(Property.text("title"))
606606
.generativeModule(new DummyGenerative())
607-
.vectorConfig(VectorConfig.text2VecModel2Vec(
607+
.vectorConfig(VectorConfig.text2vecModel2Vec(
608608
t2v -> t2v.sourceProperties("title"))));
609609

610610
var things = client.collections.use(nsThings);

0 commit comments

Comments
 (0)