manticoresearch-php
manticoresearch-php copied to clipboard
Official PHP client for Manticore Search
UnixSocket support added. Class "Match" renamed to "QueryMatch" because of PHP8 'match' reserved keyword.
``` $config = ['host'=>'manticore','port'=>9308] $client = new Client($config); $suggest = $client->index('suggest'); $suggest->create([ 'explanation' => [ 'type' => 'text', ], ], [ 'min_infix_len' => 1, 'dict' => 'keywords', ]); $suggest->addDocument([ 'explanation'...
Perhaps list the `in` operator [here](https://gitlab.com/manticoresearch/manticoresearch-php/uploads/89beab258c8804c347c25e17b1509037/1634715401_searchclass.md_filter-and-notfilter), used for MVA attributes (took me some time and failed tests to dig it up).
In documentation OR as default operator I try profile()->match('word word2') and i see : [query] => Array ( [type] => AND [description] => AND( AND( AND(KEYWORD(word, querypos=1)), AND(KEYWORD(word2, querypos=2))), OR(...
Hello Devs Can i use Ranking for this module? Can i use Weight for field's? in documentation not found information
Method "setBody" of class "Create" has unnecessary line # 37 (of origin file /phpClient/vendor/manticoresoftware/manticoresearch-php/src/Manticoresearch/Endpoints/Indices/Create.php). See comment inside code: public function setBody($params = null) { if (isset($this->index)) { $columns = [];...
The library doesn't have a method to get total count of facets. Here is the code example, imagine an index `jobs` with columns `employer_id` and `employer_name`: ``` $client = new...
Hello! I'm moving from sphinxsearch and can't find several features at php api for manticore. Try to make samples with sphinx 2.0 php code. 1. SetGroupBy method for grouping results....
I was building a wrapper around some of the provided functions and tried to use updateDocument to only find out it had an issue as stated here https://github.com/manticoresoftware/manticoresearch-php/issues/10 So I...
not quite sure how to set multiple wordform files for index ```php $params = [ 'body' => [ 'settings' => [ 'wordforms' => '/usr/local/sphinx/data/wordforms.txt' ], 'columns' => [ 'title'=>['type'=>'text'], 'price'=>['type'=>'float']...