Skip to content

Commit 25b4785

Browse files
committed
docs: align wording for meilisearch hybrid search
1 parent 65275c2 commit 25b4785

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
@@ -526,7 +526,7 @@
526526
->stringNode('vector_field')->end()
527527
->integerNode('dimensions')->end()
528528
->floatNode('semantic_ratio')
529-
->info('The ratio between semantic (vector) and keyword (BM25) search (0.0 to 1.0). Default: 1.0 (100% semantic)')
529+
->info('The ratio between semantic (vector) and full-text search (0.0 to 1.0). Default: 1.0 (100% semantic)')
530530
->defaultValue(1.0)
531531
->validate()
532532
->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
@@ -59,9 +59,6 @@ CHANGELOG
5959
- Minimum score filtering
6060
- Result limiting
6161
- Distance/similarity scoring
62-
* Add Meilisearch hybrid search support:
63-
- Configurable `semanticRatio` parameter to control the balance between semantic (vector) and keyword (BM25) search
64-
- Default ratio of 1.0 (100% semantic search) for backward compatibility
65-
- Per-query override support via query options
62+
* Add Meilisearch hybrid search support with a configurable `semanticRatio` parameter to control the balance between semantic (vector) and full-text search.
6663
* Add custom exception hierarchy with `ExceptionInterface`
6764
* 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 @@
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)