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

631 results 31 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

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

Method to upload a large batch at max speed

Could / should the Manticore PHP client be adapted?

marclaportemarclaporte · 2025-03-21 · 3 · #217

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

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

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

sanikolaevsanikolaev · 2025-01-31

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

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

sanikolaevsanikolaev · 2025-02-17

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-03-21 · 0 · #243

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

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

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

Replace self with static

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

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

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

Method to upload a large batch at max speed

marclaportemarclaporte · 2025-03-21 · 3 · #217

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

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

Method to upload a large batch at max speed

marclaportemarclaporte · 2025-03-21 · 3 · #217

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

marclaportemarclaporte · 2025-02-19

`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

Method to upload a large batch at max speed

marclaportemarclaporte · 2025-03-21 · 3 · #217

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

marclaportemarclaporte · 2025-03-21

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

Support for PHP 8.4

sanikolaevsanikolaev · 2025-02-20 · 2 · #236

Cool. Cheers. New tagged version would be nice.

CicerBroCicerBro · 2025-02-19

Autoset limit when fetching documents by ids

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

est::size_S

Support for PHP 8.4

sanikolaevsanikolaev · 2025-02-20 · 2 · #236

Yes, we're going to release it now.

Nick-S-2018Nick-S-2018 · 2025-02-20

1❤️1

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

Fixed the handling of persistent curl connections

Nick-S-2018Nick-S-2018 · 2025-02-20 · 2 · #209

I just hit the same issue in v3.2.0. Sending persistent = false to the Client fixed the problem for my case. I checked in Http.php, but the code in this issue doesn't seem to be present. Was it later solved by another approach?

stevenbrookesstevenbrookes · 2025-02-10

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

Fixed the handling of persistent curl connections

Nick-S-2018Nick-S-2018 · 2025-02-20 · 2 · #209

Yes, a later change was made in https://github.com/manticoresoftware/manticoresearch-php/commit/0477b5c580a19705179e3a4cc755d4a8a3738d81

Nick-S-2018Nick-S-2018 · 2025-02-20

Rename "index" to "table" in the docs

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

How to get a modified query when searching with FUZZY

DimmmComDimmmCom · 2025-02-20 · 1 · #239

Hi. No easy way to do it now, but the idea makes sense. Thanks for it. Blocked by https://github.com/manticoresoftware/manticoresearch/issues/3115 which we need to do first.

sanikolaevsanikolaev · 2025-02-20

1👍1

Release 1.8.0

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

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

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

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

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

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

Fixed test messages

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

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

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

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