Query Suggestion Options
Last word completion
Keyboard Layouts
GitHub

👀 While it's loading, feel free to check out the other repositories:

🔔 To get a notification when it's ready, leave your email here:

By entering your email, you agree to receive notifications and marketing-related emails

Filter by reset

88 results 16 ms in manticoresoftware/manticoresearch-php

can't use option “field_weights”

vendor/manticoresoftware/manticoresearch-php/src/Manticoresearch/Transport/Http.php 中,第 147 行] :"unknown option 'field_weights'" $results = $index->search("@(title,description) ".$words) ->sort("_score", "desc") ->sort('updatetime','desc') ->option(" …

jShi-gitjShi-git · 2024-12-16 · 1 · #227

silent=true for drop() is not working

According to https://github.com/manticoresoftware/manticoresearch-php/blob/master/docs/indices.md#drop this shouldn't fail, but it fails: # cat test_drop.php <?php require_once __DIR__ . '/vendor/autoload.php'; $config = ['host'=>'127.0.0.1','port'=>9308 …

sanikolaevsanikolaev · 2025-02-19 · 1 · #238

bug

table : query error: P08: syntax error, unexpected $end near ''

https://forum.manticoresearch.com/t/issue-with-manticore-search-during-load-testing-syntax-error-unexpected-end-near-and-500-internal-server-error/2124 get error like this $str = 'aaa'; $search = new Search($client); $search->setIndex($tablename); $ …

zatomantzatomant · 2025-02-26 · 3 · #240

Feature requests: multi-attribute sorting and case-insensitive sort directions

With regard to the sort() function in the Search class, I would like to be able to specify multi-attribute sorting, like so: $search->sort(['date' => 'DESC', 'attribute2' => 'ASC', 'attribute3' => 'DESC', 'attribute4' => 'ASC']); It appears that the …

Robert-K-SRobert-K-S · 2023-12-09 · 8 · #109

Rename "index" to "table" in the docs

sanikolaevsanikolaev · 2025-02-26 · 3 · #237

Support for PHP 8.4

We need to test the client with PHP 8.4 to make sure everything works fine.

Nick-S-2018Nick-S-2018 · 2025-02-19 · 5 · #228

1👍1

need support for scroll

Manticore Search 7.0.0 supports scroll, but manticosearch-php is not

chongshengdzchongshengdz · 2025-02-06 · 4 · #233

fix cluster test instability

There's a workaround in https://github.com/manticoresoftware/manticoresearch-php/blob/master/test/Manticoresearch/ClusterTest.php#L103 : // workaround against unstable tests. For some reason the replication which // has to be synchronous acts like if it …

sanikolaevsanikolaev · 2022-01-07 · 1 · #74

Add JOIN support

We should implement joins via the JSON interface on the client side, following the results from this task: https://github.com/manticoresoftware/manticoresearch/issues/2208

donhardmandonhardman · 2025-01-09 · 5 · #210

1👍1

est::size_Mrel::upcoming

Autocomplete method throws error for numeric queries: "Argument #1 ($a) must be of type string"

Problem Description When using the autocomplete method with numeric queries (e.g., 3409 ), it results in the following error: Manticoresearch\Buddy\Base\Plugin\Autocomplete\Handler::compareSuggestions(): Argument #1 ($a) must be of type string, int given, …

EvgenyAlyEvgenyAly · 2025-01-08 · 8 · #224

bug

PHP 8.3 Support - Use of "static" in callables is deprecated

Getting deprecation message when upgrading to PHP 8.3: vendor/manticoresoftware/manticoresearch-php/src/Manticoresearch/Index.php:144 Use of "static" in callables is deprecated

markomilivojevicmarkomilivojevic · 2025-01-14 · 6 · #231

Can't create a table with a field with a property with a value

I can't create a table with a field with the property engine='columnar' . snikolaev@dev2:~$ cat test_client.php <?php require_once __DIR__ . '/vendor/autoload.php'; $config = ['host'=>'127.0.0.1','port'=>9308]; $client = new \Manticoresearch\Client($ …

sanikolaevsanikolaev · 2025-01-07 · 2 · #215

est::size_Srel::upcoming

Encoding Issues on getResponse()

Hello there, I am having problems with encoding on a project that before used SphinxQL Library. My database is in latin1 and I can't change it. The problem is here: public function getResponse() { if (null === $this->response) { $this->response = json_ …

bgroubgrou · 2025-05-08 · 3 · #246

Coding Standards Compliance

hi Adrian, Firstly I do not with to add a PR for this as my stats would be unfairly over the codebase. However I normally use phpcs and phpcbf to detect and fix errors against the PSR2 coding standard. Locally I have ran these commands Automated adherence …

gordonbandersongordonbanderson · 2020-05-05 · 2 · #36

Unable to Create Cluster

hi Adrian, I am trying to get clusters working with Travis, but have run into a problem in trying to create a cluster. The relevant code is here, https://github.com/gordonbanderson/manticoresearch-php/blob/CLUSTER/test/ClusterTest.php The output of a …

gordonbandersongordonbanderson · 2020-05-06 · 5 · #37

Server path

Currently there is no way to specify a path in the connection config. For example, if my manticore server is behind nginx proxy and I want to access to it via http://localhost/manticore there is no way to do it. Would be cool to have something like this: …

aivchenaivchen · 2023-10-18 · 4 · #135

est::size_S

Request error - "index" property missing

Hello, I can't get started with SDK version 4.0.0. I use it in my laravel application. I have set up two artisan commands. The first creates an index (table): try { $client = ClientBuilder::make(); $table = $client->table('products'); $table->drop(true); …

dblackCatdblackCat · 2025-03-05 · 3 · #242

PHP Code Style

As I see php code style is very various across the project. How about replacing PHP_CodeSniffer with Php-Cs-Fixer? The latter is very flexible, easy to set up and allows to fine tune almost any aspect of php code. Also I see that PHP_CodeSniffer is …

aivchenaivchen · 2024-01-17 · 8 · #137

Implement partial replace

We need the php client to support the 'partial replace' feature recently added to Manticore.

Nick-S-2018Nick-S-2018 · 2024-04-17 · 1 · #206

est::size_S

ResponseException with message ""\"in\" filter should contain an array of values for not sequencial ids

The getDocumentByIds method throws an exception when the list of IDs passed to it is a filtered array, meaning it doesn't have an element at index 0. Here's the pseudo code to reproduce: $ids = [1 => 123]; $docs = $index->getDocumentByIds($ids); We can …

donhardmandonhardman · 2023-12-08 · 1 · #173