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

637 results 27 ms in manticoresoftware/manticoresearch-php

Adds method to unset last response in Client

I have a kafka consumer, which works as a demon. Manticore client is initialized one time at start. This consumer adds documents to manticore in bulk, say 100-200Mb at a time. I have noticed a memory leak, it increases every time the consumer adds …

acya-skulskayaacya-skulskaya · 2024-11-05 · 3 · #221

Curl connection fails randomly

Nick-S-2018Nick-S-2018 · 2025-04-24 · 1 · #243

est::size_M

This issue can be fixed if Manticore would support HTTP keep-alive connections by default. The tests showed that if the number of open keep-alive connections exceeds the number the server can currently handle, next attempts of connections from clients …

Nick-S-2018Nick-S-2018 · 2025-04-24

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

Support for PHP 8.4

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

1👍1

For now if it's not supported let's mention it in the support matrix in https://github.com/manticoresoftware/manticoresearch-php/blob/master/README.md

sanikolaevsanikolaev · 2024-12-19

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

Support for PHP 8.4

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

1👍1

This is holding back my 8.4 upgrade. Would be nice to have this work. Currently running into errors like: DEPRECATED Manticoresearch\Client::__construct(): Implicitly marking parameter $logger as nullable is deprecated, the explicit nullable type must be …

CicerBroCicerBro · 2025-01-29

Curl connection fails randomly

We have an issue with curl connection which looks similar to the one described here. The client fails while processing multiple requests to the server executed in a loop. The issue can be reproduced with the test script and data attached. testing.zip …

Nick-S-2018Nick-S-2018 · 2025-04-24 · 1 · #243

est::size_M

Support for PHP 8.4

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

1👍1

@CicerBro would you like to make a PR which adapts the code to PHP 8.4?

sanikolaevsanikolaev · 2025-01-31

Introduced "path" option

Fixes #135 The only problem is testing. I didn't find an easy way to test url building functionality. @sanikolaev can you help with it?

aivchenaivchen · 2023-10-17 · 1 · #136

Support for PHP 8.4

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

1👍1

@Nick-S-2018 pls review https://github.com/manticoresoftware/manticoresearch-php/pull/236

sanikolaevsanikolaev · 2025-02-17

Replace self with static

donhardmandonhardman · 2023-12-05 · 0 · #172

Support for PHP 8.4

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

1👍1

I've added a few updates to https://github.com/manticoresoftware/manticoresearch-php/pull/236 and merged it.

Nick-S-2018Nick-S-2018 · 2025-02-19

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

Encoding Issues on getResponse()

bgroubgrou · 2025-04-18 · 1 · #246

@Nick-S-2018 pls help here.

sanikolaevsanikolaev · 2025-04-18

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

WIP: Add call qsuggest endpoint support

hlushpenkohlushpenko · 2025-04-18 · 1 · #245

Thanks for the PR @hlushpenko @Nick-S-2018 pls review.

sanikolaevsanikolaev · 2025-04-18

`getDocumentByIds` returns not all documents when size of array > 20

This code only retrieves 20 documents, and currently, we don't have the option to chain a limit setting in the Client. However, I believe we shouldn't need to. We have an array of IDs, which should allow us to determine the necessary limit to fetch all …

donhardmandonhardman · 2023-12-12 · 3 · #174

bugest::size_S

How to set match mode to SPH_MATCH_EXTENDED2 ?

marios88marios88 · 2022-12-15 · 2 · #105

SPH_MATCH_EXTENDED2 was temporary even in Sphinx. It's not supported in Manticore, at least officially (nothing about it in the docs https://manual.manticoresearch.com/) You can use option() to specify search options including ranking options. See https …

sanikolaevsanikolaev · 2022-12-15

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

How to set match mode to SPH_MATCH_EXTENDED2 ?

marios88marios88 · 2022-12-15 · 2 · #105

Thank you @sanikolaev for helpful insight and quick reply. For anyone interested here is my current code for emulating the old SPH_MATCH_EXTENDED2 match mode used in an autocomplete system $search_string = 'ragon fire'; // needs to match "dragon fireplace …

marios88marios88 · 2022-12-15

Autoset limit when fetching documents by ids

donhardmandonhardman · 2023-12-07 · 1 · #175

est::size_S

Method to upload a large batch at max speed

marclaportemarclaporte · 2025-04-04 · 3 · #217

est::NO_ESTIMATE

Hi @marclaporte disable binlog This has been mitigated here https://github.com/manticoresoftware/manticoresearch/issues/879 write to multiple tables at once This will be resolved once auto-sharding is completed: https://github.com/manticoresoftware/ …

sanikolaevsanikolaev · 2024-09-24

2👍2

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

Method to upload a large batch at max speed

marclaportemarclaporte · 2025-04-04 · 3 · #217

est::NO_ESTIMATE

Many things have been addressed. One remaining blocker: https://github.com/manticoresoftware/manticoresearch/pull/3073

marclaportemarclaporte · 2025-02-19

Method to upload a large batch at max speed

Could / should the Manticore PHP client be adapted?

marclaportemarclaporte · 2025-04-04 · 3 · #217

est::NO_ESTIMATE

Method to upload a large batch at max speed

marclaportemarclaporte · 2025-04-04 · 3 · #217

est::NO_ESTIMATE

AFAICT, the last blocker is https://github.com/manticoresoftware/manticoresearch/issues/1087

marclaportemarclaporte · 2025-03-21

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

Request error - "index" property missing

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

The cause is that due renaming "index" to "table" the expected "index"` property is missing. I fixed it by extending Search class and extending setTable() method: public function setTable($table): Search { parent::setTable($table); $this->params['index'] …

mskocikmskocik · 2025-03-03

Rename "index" to "table" in the docs

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

Request error - "index" property missing

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

Yes, you need to use Manticore >= 7.0.0 with client v4.0. It's specified in the requirements here

Nick-S-2018Nick-S-2018 · 2025-03-05

2👍2

Release 1.8.0

sanikolaevsanikolaev · 2022-01-06 · 0 · #75

Request error - "index" property missing

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

Thanks for the help! Try to rebuild docker containers with version 7 of the search today.

dblackCatdblackCat · 2025-03-05

Exception - column 'id' specified twice

Manticore 6.3.6 manticoresoftware/manticoresearch-php v 3.1 Hi, when I add new document, like this $index->addDocument([ 'id' => $post->id, 'name' => $post->name, 'description' => $post->description, ]); OR $index->addDocument([ 'id' => $post->id, 'name' …

rim89rim89 · 2024-10-18 · 1 · #220

Issue with umlauts when using the keywords call

ForsakenNGSForsakenNGS · 2021-11-15 · 4 · #59

waiting

The problem is the Utils:;escape function. I don't remember why I picked that solution, but it doesn't work with UTF characters.

adriannutaadriannuta · 2021-07-15

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

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

manticoresearch-php supports it too. You can set the scroll option just as other search options, like cutoff , etc. We're going to update the corresponding section of documentation to include information about scroll .…

Nick-S-2018Nick-S-2018 · 2025-02-03

Fixed test messages

Nick-S-2018Nick-S-2018 · 2025-01-10 · 0 · #230

need support for scroll

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

yes, but it doesn't include information about scroll in search results. so please update it ASAP.

chongshengdzchongshengdz · 2025-02-03

Fix compatibility of ResultSet with php 8.1+

donhardmandonhardman · 2022-08-02 · 5 · #71

waiting for reply

need support for scroll

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

@sanikolaev pls, review https://github.com/manticoresoftware/manticoresearch-php/pull/234 that fixes the issue

Nick-S-2018Nick-S-2018 · 2025-02-04