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

623 results 14 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

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

zatomantzatomant · 2025-02-21 · 2 · #240

This also can be reproduced with curl requests, e.g.: curl localhost:9308/cli -d 'create table test(f text)' curl localhost:9308/search -d '{"table":"test","query":{"bool":{"must":[{"match":{"*":"something!"}}]}}}' {"took":0,"timed_out":false,"hits":{" …

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

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-21 · 2 · #240

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

zatomantzatomant · 2025-02-21 · 2 · #240

@Nick-S-2018 is this blocked by any other issue?

sanikolaevsanikolaev · 2025-02-21

Rename "index" to "table" in the docs

sanikolaevsanikolaev · 2025-02-19 · 2 · #237

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

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

bug

I can't reproduce the issue in the lastest dev version of the php client and Manticore: snikolaev@dev2:~$ mysql -P9306 -h0 -e "drop table if exists manuals_rt; create table manuals_rt(f text) min_infix_len='2'; insert into manuals_rt values(1, '3409123')" …

sanikolaevsanikolaev · 2024-12-09

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

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

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

bug

…MRE: snikolaev@dev2:~$ mysql -P9306 -h0 < ac.sql snikolaev@dev2:~$ mysql -P9306 -h0 Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 49210 Server version: 6.3.9 5357ba75b@24120609 dev (columnar 2.3.1 edadc69@24112219) ( …

sanikolaevsanikolaev · 2024-12-09

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

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

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

bug

@EvgenyAly Fixed in the dev version. Please try to update your distribution - it should work. Thanks for the bug report!

donhardmandonhardman · 2024-12-12

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

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

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

bug

@donhardman do you have an MRE for this issue? I'd like us to cover this with a test without publishing: snikolaev@dev2:~$ ls -lah /home/snikolaev/ac.sql -rw-rw-r-- 1 snikolaev snikolaev 431K Dec 9 11:48 /home/snikolaev/ac.sql

sanikolaevsanikolaev · 2024-12-12

Replace self with static

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

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

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

bug

This should work as MRE: mysql> create table mre (value text) min_infix_len='2'; mysql> insert into mre (value) values ('340'); mysql> CALL AUTOCOMPLETE('34', 'mre'); +-------+ | query | +-------+ | 340 | +-------+ mysql>…

donhardmandonhardman · 2024-12-13

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

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

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

bug

@PavelShilin89 pls update the fuzzy search test accordingly.

sanikolaevsanikolaev · 2024-12-13

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

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

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

bug

@donhardman Testing done in PR - https://github.com/manticoresoftware/manticoresearch/pull/2901 please give feedback or approval for the merger.

PavelShilin89PavelShilin89 · 2025-01-07

`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

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

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

bug

@PavelShilin89 looks ok for me

donhardmandonhardman · 2025-01-08

Method to upload a large batch at max speed

Could / should the Manticore PHP client be adapted?

marclaportemarclaporte · 2025-02-19 · 2 · #217

Support for PHP 8.4

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

Cool. Cheers. New tagged version would be nice.

CicerBroCicerBro · 2025-02-19

Replaced `index` with `table` in related code parts and docs

Nick-S-2018Nick-S-2018 · 2025-02-20 · 0 · #241

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

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

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

Autoset limit when fetching documents by ids

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

est::size_S

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

Support for PHP 8.4

Related issue https://github.com/manticoresoftware/manticoresearch-php/issues/228

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

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

Fixed the handling of persistent curl connections

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

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

How to get a modified query when searching with FUZZY

Hello. Can you tell me if there is a way to get the actual query that was searched? When the search is enabled with the fix $query = 'fzzy serch'; $result = $index->search($query)->option('fuzzy', 1)->get(); you can use the highlight() method to highlight …

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

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

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

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

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

est::size_Srel::upcoming

This blocks https://github.com/manticoresoftware/manticoresearch/issues/2348

sanikolaevsanikolaev · 2024-12-16

Release 1.8.0

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

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

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

est::size_Srel::upcoming

Fixed in https://github.com/manticoresoftware/manticoresearch-php/commit/096676a93053f2dd7eeb3ce496dc77d7b9e3168b

Nick-S-2018Nick-S-2018 · 2025-01-07

percolate feature: invalid percolate operation '_search', should be one of 'search' or 'doc' or '_delete_by_query'

If I issue the following command, I get given error. $client->index('percolated_table')->search(['year'=>2000]); The connection I have is valid. When I use the sql method CALL PQ('percolated_table','{"year":2000}') I do get results, so that will be my …

henze-housepediahenze-housepedia · 2024-10-29 · 6 · #218

waiting

Rename "index" to "table" in the docs

sanikolaevsanikolaev · 2025-02-19 · 2 · #237

@sanikolaev pls, review a related PR

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