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

576 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

Updated composer require command in readme

sanikolaevsanikolaev · 2024-12-18 · 1 · #225

@Nick-S-2018 pls review

sanikolaevsanikolaev · 2024-12-09

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 · 2024-12-19 · 1 · #228

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

EvgenyAlyEvgenyAly · 2024-12-13 · 6 · #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 · 2024-12-13 · 6 · #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

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

I can't create a table with a field with the property engine='columnar' . snikolaev@dev2:~$ cat test_client.php <?php require_once __DIR__ . '/vendor/autoload.php'; $config = ['host'=>'127.0.0.1','port'=>9308]; $client = new \Manticoresearch\Client($ …

sanikolaevsanikolaev · 2024-12-16 · 1 · #215

est::size_Srel::upcoming

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

EvgenyAlyEvgenyAly · 2024-12-13 · 6 · #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

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 · 2024-12-13 · 6 · #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

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 · 2024-12-13 · 6 · #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

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 · 2024-12-13 · 6 · #224

bug

@PavelShilin89 pls update the fuzzy search test accordingly.

sanikolaevsanikolaev · 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

Support for PHP 8.4

Nick-S-2018Nick-S-2018 · 2024-12-19 · 1 · #228

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

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

Add JOIN support

donhardmandonhardman · 2024-12-17 · 2 · #210

1👍1

est::size_Mrel::upcoming

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

donhardmandonhardman · 2024-05-21

`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

Add JOIN support

donhardmandonhardman · 2024-12-17 · 2 · #210

1👍1

est::size_Mrel::upcoming

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

sanikolaevsanikolaev · 2024-08-06

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

Fixes an error when searching without params

Manticoresearch\Search::compile expects query to be null, if it is empty, but it returned ['bool' => []] , now it returns null

acya-skulskayaacya-skulskaya · 2024-12-18 · 0 · #226

Method to upload a large batch at max speed

marclaportemarclaporte · 2024-09-24 · 1 · #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

1👍1

Release 1.8.0

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

can't use option “field_weights”

jShi-gitjShi-git · 2024-12-16 · 1 · #227

Hi @jShi-git, I see you've closed this issue. It would be great if you could share how you solved it, so others facing a similar problem can learn from your solution.

sanikolaevsanikolaev · 2024-12-16

Updated composer require command in readme

sanikolaevsanikolaev · 2024-12-18 · 1 · #225

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

sanikolaevsanikolaev · 2024-12-16 · 1 · #215

est::size_Srel::upcoming

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

sanikolaevsanikolaev · 2024-12-16

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

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

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

waiting

Thanks for the issue @henze-housepedia @Nick-S-2018 pls take a look.

sanikolaevsanikolaev · 2024-10-01

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

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

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

waiting

@henze-housepedia , It looks you perform search on your percolate table the same way as on a plain table. Please, see the documentation with correct examples here: https://github.com/manticoresoftware/manticoresearch-php/blob/master/docs/percolate.md

Nick-S-2018Nick-S-2018 · 2024-10-16

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

Problem Description When using the autocomplete method with numeric queries (e.g., 3409 ), it results in the following error: Manticoresearch\Buddy\Base\Plugin\Autocomplete\Handler::compareSuggestions(): Argument #1 ($a) must be of type string, int given, …

EvgenyAlyEvgenyAly · 2024-12-13 · 6 · #224

bug

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

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

waiting

oh silly me, why did I made a mistake here. I DID found an error here though, but in two places. What I did was (seemed to me the cleaner way): $client->index('percolated_table')->percolate( ['year'=>2002] ); That gave me the error. This seemed to me the …

henze-housepediahenze-housepedia · 2024-10-16

Fix compatibility of ResultSet with php 8.1+

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

waiting for reply

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

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

waiting

Can you please add an example of how you create your percolate table? And what is the exact Manticore version you use?

Nick-S-2018Nick-S-2018 · 2024-10-17

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

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

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

waiting

table percolated_table { type = percolate path = /var/lib/manticore/percolated_table rt_attr_uint = year } Manticoresearch version 6.3.6 manticoresearch-php version 3.1 I wouldn't report a bug otherwise.

henze-housepediahenze-housepedia · 2024-10-17