Skip to content

Commit a1fcea3

Browse files
committed
Fixes field name
1 parent d7ee886 commit a1fcea3

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

src/contracts/Search/FieldType/EmbeddingField.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ private function __construct(string $type)
1616
}
1717

1818
/**
19-
* @param string $type Has to be handled by configured search engine (ez_dense_vector_ada002).
19+
* @param string $type Has to be handled by configured search engine (ibexa_dense_vector_ada002).
2020
*/
2121
public static function create(string $type): self
2222
{

src/contracts/Search/FieldType/EmbeddingFieldFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@ public function create(?string $type = null): EmbeddingField
2525

2626
$suffix = $this->config->getDefaultEmbeddingModelFieldSuffix();
2727

28-
return EmbeddingField::create('ez_dense_vector_' . $suffix);
28+
return EmbeddingField::create('ibexa_dense_vector_' . $suffix);
2929
}
3030
}

src/lib/Resources/settings/search_engines/common.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ parameters:
2222
ez_geolocation: 'gl'
2323
ez_document: 'doc'
2424
ez_fulltext: 'fulltext'
25-
ez_dense_vector_ada002: 'ada002_dv'
26-
ez_dense_vector_3small: '3small_dv'
27-
ez_dense_vector_3large: '3large_dv'
25+
ibexa_dense_vector_ada002: 'ada002_dv'
26+
ibexa_dense_vector_3small: '3small_dv'
27+
ibexa_dense_vector_3large: '3large_dv'
2828

2929
services:
3030
# Note: services tagged with 'ibexa.field_type.indexable'

tests/integration/Core/Search/FieldType/EmbeddingFieldFactoryTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ public function testCreateUsesConfigSuffix(): void
2626
$field = $factory->create();
2727

2828
$this->assertSame(
29-
'ez_dense_vector_model_123',
29+
'ibexa_dense_vector_model_123',
3030
$field->getType(),
31-
'Factory should prepend "ez_dense_vector_" to the suffix from theconfig'
31+
'Factory should prepend "ibexa_dense_vector_" to the suffix from the config'
3232
);
3333
}
3434

0 commit comments

Comments
 (0)