Skip to content

Commit d6c4375

Browse files
committed
docs: align wording for meilisearch hybrid search
1 parent 94790b7 commit d6c4375

File tree

3 files changed

+4
-7
lines changed

3 files changed

+4
-7
lines changed

src/ai-bundle/config/options.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -539,7 +539,7 @@
539539
->stringNode('vector_field')->end()
540540
->integerNode('dimensions')->end()
541541
->floatNode('semantic_ratio')
542-
->info('The ratio between semantic (vector) and keyword (BM25) search (0.0 to 1.0). Default: 1.0 (100% semantic)')
542+
->info('The ratio between semantic (vector) and full-text search (0.0 to 1.0). Default: 1.0 (100% semantic)')
543543
->defaultValue(1.0)
544544
->validate()
545545
->ifTrue(fn ($v) => $v < 0.0 || $v > 1.0)

src/store/CHANGELOG.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,6 @@ CHANGELOG
6060
- Minimum score filtering
6161
- Result limiting
6262
- Distance/similarity scoring
63-
* Add Meilisearch hybrid search support:
64-
- Configurable `semanticRatio` parameter to control the balance between semantic (vector) and keyword (BM25) search
65-
- Default ratio of 1.0 (100% semantic search) for backward compatibility
66-
- Per-query override support via query options
63+
* Add Meilisearch hybrid search support with a configurable `semanticRatio` parameter to control the balance between semantic (vector) and full-text search.
6764
* Add custom exception hierarchy with `ExceptionInterface`
6865
* Add support for specific exceptions for invalid arguments and runtime errors

src/store/src/Bridge/Meilisearch/Store.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ final class Store implements ManagedStoreInterface, StoreInterface
2929
/**
3030
* @param string $embedder The name of the embedder where vectors are stored
3131
* @param string $vectorFieldName The name of the field in the index that contains the vector
32-
* @param float $semanticRatio The ratio between semantic (vector) and keyword (BM25) search (0.0 to 1.0)
33-
* - 0.0 = 100% keyword search (BM25)
32+
* @param float $semanticRatio The ratio between semantic (vector) and full-text search (0.0 to 1.0)
33+
* - 0.0 = 100% full-text search
3434
* - 0.5 = balanced hybrid search
3535
* - 1.0 = 100% semantic search (vector only)
3636
*/

0 commit comments

Comments
 (0)