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

641 results 26 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

Encoding Issues on getResponse()

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

@Nick-S-2018 pls help here.

sanikolaevsanikolaev · 2025-04-18

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

Encoding Issues on getResponse()

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

Yes, response data is supposed to be UTF-8 encoded. Unfortunately, encoding detection isn't a 100% reliable method in PHP so we cannot apply it to solve such issues. If you cannot use stripBadtf8 , you have to adapt your client as you actually did. We've …

Nick-S-2018Nick-S-2018 · 2025-05-08

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

Encoding Issues on getResponse()

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

Done in https://github.com/manticoresoftware/manticoresearch-php/pull/247

Nick-S-2018Nick-S-2018 · 2025-05-08

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

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

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

Replace self with static

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

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

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

use rt_field directive

ChrisJokinenChrisJokinen · 2021-07-08 · 1 · #58

Manticore has an old limitation that there should be at least one full-text field in the index.

sanikolaevsanikolaev · 2021-07-08

`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

Issue with umlauts when using the keywords call

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

waiting

@ForsakenNGS can you verify that it's now fixed in https://packagist.org/packages/manticoresoftware/manticoresearch-php#dev-master ?

sanikolaevsanikolaev · 2021-07-16

Autoset limit when fetching documents by ids

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

est::size_S

In ResultHit setId and getId Do Not Mirror Each Other

gordonbandersongordonbanderson · 2020-07-09 · 2 · #17

fix #17 id in setId of ResultHit via commit https://github.com/manticoresoftware/manticoresearch-php/commit/55e145b579af4e3fc8d586fe41c1e071e3a8b8a7

githubmanticoregithubmanticore · 2020-07-09

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

Wrong Runtime Exception Thrown

gordonbandersongordonbanderson · 2020-07-09 · 2 · #19

fix #19 wrong RuntimeException in Connection via commit https://github.com/manticoresoftware/manticoresearch-php/commit/94c40d43d3e17dbf9baae87eb30f9298dca36359

githubmanticoregithubmanticore · 2020-07-09

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

Minor Error in Cluster Documentation

gordonbandersongordonbanderson · 2020-07-09 · 2 · #31

fix #31 delete cluster docs via commit https://github.com/manticoresoftware/manticoresearch-php/commit/e2498235ef744cffc5e4c17a6d6f33a2e559d828

githubmanticoregithubmanticore · 2020-07-09

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

Static Analysis Fixes

gordonbandersongordonbanderson · 2020-07-09 · 3 · #38

Static Analysis Fixes (#38) WIP: Copying Travis details from silverstripe member profiles project WIP: Tested command locally, trying in Travis WIP: Trying a different method of installation for PHPStan MINOR: PHPStan config file FIX: Path to autoload …

githubmanticoregithubmanticore · 2020-07-09

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

Next release

versh23versh23 · 2020-07-09 · 1 · #44

Released 1.3. It should be used with 3.4.x. Next release will be after Manticore Search 3.5.0 is out.

adriannutaadriannuta · 2020-07-09

Rename "index" to "table" in the docs

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

Search: Geo sort docs wrong

KayrimKayrim · 2023-07-24 · 1 · #123

bug

➤ Nick Sergeev commented: Fixed in https://github.com/manticoresoftware/manticoresearch-php/commit/732e6dc202bfb359351241dfda7803ba779fda3c

githubmanticoregithubmanticore · 2023-07-24

1👍1

Release 1.8.0

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

Filter does not work with bool fields as expected

somesonsomeson · 2023-07-24 · 1 · #122

bug

➤ Nick Sergeev commented: Fixed in https://github.com/manticoresoftware/manticoresearch-php/commit/732e6dc202bfb359351241dfda7803ba779fda3c

githubmanticoregithubmanticore · 2023-07-24

1👍1

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

Undefined array key "took"

Fossil01Fossil01 · 2023-07-24 · 13 · #117

1👍1

bug

➤ Nick Sergeev commented: Fixed in https://github.com/manticoresoftware/manticoresearch-php/commit/732e6dc202bfb359351241dfda7803ba779fda3c

githubmanticoregithubmanticore · 2023-07-24

1👍1

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

Undefined array key "took"

Fossil01Fossil01 · 2023-07-24 · 13 · #117

1👍1

bug

ResultSet::$response array keys probably may not exist. The problem is, that if at some point you change the backend code and frontend's still running, which causes the bug/feature described above.

somesonsomeson · 2023-07-05

Fixed test messages

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

Docs: $search->filter() method takes 'in' operator

milanmadarmilanmadar · 2022-03-07 · 2 · #63

1👍1

➤ Nick Sergeev commented: Done in https://github.com/manticoresoftware/manticoresearch-php/pull/77

githubmanticoregithubmanticore · 2022-03-07

Fix compatibility of ResultSet with php 8.1+

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

waiting for reply

Indices/Alter.php not working as expected

tomterltomterl · 2022-03-04 · 2 · #76

Never mind - found the commit message cheers (for another lost soul like myself: the reason is a breaking change in manticoresearch >4.2.0, where query= has to be encoded)

tomterltomterl · 2022-03-04

need support for scroll

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

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

Indices/Alter.php not working as expected

tomterltomterl · 2022-03-04 · 2 · #76

Dev version of the php client supports the new behaviour.

sanikolaevsanikolaev · 2022-03-04