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

592 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

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

Autoset limit when fetching documents by ids

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

est::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

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

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

Release 1.8.0

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

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

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

@markomilivojevic is this reproducible in the dev version? IIRC we fixed smth like this recently.

sanikolaevsanikolaev · 2025-01-13

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

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

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

Yes, it is still reproducible. You recently changed 'self' to 'static'. But the 'static' also creates the problem.

markomilivojevicmarkomilivojevic · 2025-01-13

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

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

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

Thanks @markomilivojevic @Nick-S-2018 pls look into this.

sanikolaevsanikolaev · 2025-01-13

Fixed test messages

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

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

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

@sanikolaev done in https://github.com/manticoresoftware/manticoresearch-php/pull/232. Pls review the fix.

Nick-S-2018Nick-S-2018 · 2025-01-14

Fix compatibility of ResultSet with php 8.1+

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

waiting for reply

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

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

@Nick-S-2018 approved

sanikolaevsanikolaev · 2025-01-14

Any settings in $index->create() throw exception "query missing"

This code works $index->create([ 'title' => ['type' => 'text'], 'item_id' => ['type' => 'int'], ]); but this one doesn't $index->create([ 'title' => ['type' => 'text'], 'item_id' => ['type' => 'int'], ], [ 'min_infix_len' => '3' ]); So example from docs …

aVadim483aVadim483 · 2023-11-25 · 2 · #103

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

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

Fixed in https://github.com/manticoresoftware/manticoresearch-php/pull/232

Nick-S-2018Nick-S-2018 · 2025-01-14

debugging .travis.yml

sanikolaevsanikolaev · 2022-01-06 · 1 · #72

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

github actions

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

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

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

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

1👍1

est::size_Mrel::upcoming

Blocked by: https://github.com/manticoresoftware/manticoresearch/issues/2208

donhardmandonhardman · 2024-05-21

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

Add JOIN support

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

1👍1

est::size_Mrel::upcoming

Blocked by: https://github.com/manticoresoftware/manticoresearch/issues/2208 Unblocked.

sanikolaevsanikolaev · 2024-08-06