Releases: meilisearch/meilisearch-php
v1.12.0 π
This version introduces features released on Meilisearch v1.12.0 π
Check out the Meilisearch v1.12.0 changelog for more information.
π Enhancements
- Addition: #699
Introducing new methods to get one or several batches, respectively getBatch()
and getBatches()
. A batch is a set of tasks processed together.
- Addition: #698
The TaskQuery
class now has a setReverse()
method to retrieve tasks in reverse chronological order.
client->getTasks((new TasksQuery())->setReverse(true));
- Addition: #702
Index settings now allow disabling prefix search and facet search. They're both enabled by default. The SDK now comes with dedicated methods to configure these settings.
// disable prefix search
$index->updatePrefixSearch('disabled');
// reset prefix search settings
$index->resetPrefixSearch();
// disable facet search
$index->updateFacetSearch(false);
// reset facet search settings
$index->resetFacetSearch();
π Bug Fixes
- fix: pull the latest in the CI instead of forcing the v1.11 (#691) @mdubus
- Make
hitsCount
always the number ofhits
(and nottotalHits
value) (#701) @johnnynotsolucky
βοΈ Maintenance/misc
- Update CI to run with PHP 8.4 (#696) @norkunas
- Fixed SearchNestedFieldsTest test (#704) @aivchen
- PHPStan 2 + fixed uninitialized properties in SearchResult (#706) @aivchen
Thanks again to @aivchen, @johnnynotsolucky, @norkunas, @mdubus and @Strift! π
v1.11.0 π
This version introduces features released on Meilisearch v1.11.0 π
Check out the changelog of Meilisearch v1.11.0 for more information on the changes.
β οΈ Breaking change (experimental feature only)
- Adapt the library to the new usage of Meilisearch v1.11 (#683) @ManyTheFish & @norkunas
π Enhancements
- Add facet distribution to
multiSearch
(#683) @ManyTheFish & @norkunas - Add
rankingScoreThreshold
toSimilarDocumentsQuery
(#675) @norkunas - feat: Adds hybrid search options contract for multisearch (#677) @apozeus
- Cast body to a string to force rewind of stream (#678) @grizzm0
βοΈ Maintenance/misc
Thanks again to @ManyTheFish, @grizzm0, @apozeus and @norkunas! π
v1.10.1 π
v1.10.0 π
v1.9.1 π
π Bug Fixes
- Handle unexpected but valid JSON content-types (#656) @brunoocasali
βοΈ Maintenance/misc
Thanks again to @brunoocasali, and @norkunas! π
v1.9.0 π
This version introduces features released on Meilisearch v1.9.0 π
Check out the changelog of Meilisearch v1.9.0 for more information on the changes.
π Enhancements
- Add ranking score threshold (#644) @the-sinner
$client->index('INDEX_NAME')->search('badman', [
'rankingScoreThreshold' => 0.2
]);
- Add get similar document method (#645) @the-sinner
$similarQuery = new SimilarDocumentsQuery('TARGET_DOCUMENT_ID');
$client->index('INDEX_NAME')->getSimilar($similarQuery);
- hybrid search changes (#649) @ManyTheFish
- Add
setRetrieveVectors
method toSimilarDocumentsQuery
- Add
setRetrieveVectors
method toDocumentsQuery
- Add
- Add distinct attribute at search (#648) @the-sinner
$client->index('products')->updateFilterableAttributes(['product_id', 'sku', 'url']);
βοΈ Maintenance/misc
- Add PHP 8.3 to testing matrix (#626) @Koopzington
Thanks again to @Koopzington, @ManyTheFish, @curquiza, and @the-sinner! π
v1.8.0 π
This version introduces features released on Meilisearch v1.8.0 π
Check out the changelog of Meilisearch v1.8.0 for more information on the changes.
π Enhancements
- Add support for the new setting:
searchCutoffMs
(#636) @brunoocasali
$client->index('books')->getSearchCutoffMs();
$client->index('books')->updateSearchCutoffMs(150);
$client->index('books')->resetSearchCutoffMs();
- Add
getSemanticHitCount()
method to retrieve how many results were found because of the semantic query. #639 @brunoocasali
βοΈ Maintenance/misc
- Add missing $ to documentation code sample (#633) @guimachiavelli
Thanks again to @brunoocasali, @curquiza, @guimachiavelli, and @norkunas! π
v1.7.0 π
This version introduces features released on Meilisearch v1.7.0 π
Check out the changelog of Meilisearch v1.7.0 for more information on the changes.
β οΈ Breaking changes
scoreDetails
feature is not experimental anymore. You can directly useshowRankingScoreDetails
during a search without activating the experimental feature π
π Enhancements
- Includes any changes related to Hybrid search introduced in Meilisearch v1.7.0 π
βοΈ Maintenance/misc
v1.6.1 π
v1.6.0 π
π Enhancements
- Add support for the new setting:
proximityPrecision
(#606) brunoocasali
$client->index('books')->getProximityPrecision();
$client->index('books')->updateProximityPrecision('byAttribute');
$client->index('books')->resetProximityPrecision();
π§ͺ Experimental enhancement - Hybrid and vector search
vectorStore
experimental feature to use it
- Add support for the
embedders
settings & Add support for thehybrid
parameter during search (#608) brunoocasali
$client->index('books')->getEmbedders();
$client->index('books')->updateEmbedders(['default' => ['source' => 'userProvided', 'dimensions' => 1]]);
$client->index('books')->resetEmbedders();
βοΈ Maintenance/misc
Thanks again to @norkunas, @brunoocasali! π