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

423 results 24 ms in manticoresoftware/manticoresearch-php

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

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

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

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

why does this MATCH work? (code from your example)

Server version: 7.0.0 92c650401@25013002 (columnar 4.0.0 5aa8e43@25012409) (secondary 4.0.0 5aa8e43@25012409) (knn 4.0.0 5aa8e43@25012409) git branch manticore-7.0.0...origin/manticore-7.0.0 manticore-lemmatizer-uk , pymorphy2-dicts-uk python 3.9.11 php 7 …

zatomantzatomant · 2025-02-17 · 3 · #235

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

Metod match('word word2') generate query type AND

In documentation OR as default operator I try profile()->match('word word2') and i see : [query] => Array ( [type] => AND [description] => AND( AND( AND(KEYWORD(word, querypos=1)), AND(KEYWORD(word2, querypos=2))), OR( AND(KEYWORD(word, querypos=1)), AND( …

MaxplMaxpl · 2021-12-24 · 5 · #70

waiting for reply

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

failed to set multiple wordforms

not quite sure how to set multiple wordform files for index $params = [ 'body' => [ 'settings' => [ 'wordforms' => '/usr/local/sphinx/data/wordforms.txt' ], 'columns' => [ 'title'=>['type'=>'text'], 'price'=>['type'=>'float'] ] ], 'index' => 'products' ]; …

githubmanticoregithubmanticore · 2023-11-25 · 2 · #39

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

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

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

Methods needed for moving from sphinxsearch to Manticore PHP API

Hello! I'm moving from sphinxsearch and can't find several features at php api for manticore. Try to make samples with sphinx 2.0 php code. SetGroupBy method for grouping results. as far as I understand, this feature is present in manticore and maybe this …

mikedinmikedin · 2021-08-31 · 3 · #60

waiting for reply

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

Can i use setMachRanking?

Hello Devs Can i use Ranking for this module? Can i use Weight for field's? in documentation not found information

skvarovskiskvarovski · 2021-12-06 · 15 · #42

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

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

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

Return distance when sorting by _geo_distance

would be awesome if we could include the distance value with the search result. I know this can be done with SQL but would be great if we could add it to the result. Similar to how we add score with $search->trackScores(true) Something like $search-> …

KayrimKayrim · 2023-08-22 · 1 · #132

waiting

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

Request for Transaction Support in manticoresearch-php

Hello, I'd like to inquire if there are any plans to add transaction support to the manticoresearch-php library in the future, considering that transactions are supported according to the official ManticoreSearch documentation (https://manual. …

rostislav-pnrostislav-pn · 2024-05-24 · 4 · #127

waiting for reply

Support for PHP 8.4

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

Cool. Cheers. New tagged version would be nice.

CicerBroCicerBro · 2025-02-19

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

Perhaps list the in operator here, used for MVA attributes (took me some time and failed tests to dig it up).

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

1👍1

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

suggest не работает

$config = ['host'=>'manticore','port'=>9308] $client = new Client($config); $suggest = $client->index('suggest'); $suggest->create([ 'explanation' => [ 'type' => 'text', ], ], [ 'min_infix_len' => 1, 'dict' => 'keywords', ]); $suggest->addDocument([ ' …

hrustbb2hrustbb2 · 2022-07-12 · 1 · #65

bugwaiting for reply

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

Add a method to get total facets count

The library doesn't have a method to get total count of facets. Here is the code example, imagine an index jobs with columns employer_id and employer_name : $client = new \Manticoresearch\Client(); $index = $client->index('jobs'); $query = new \ …

markomilivojevicmarkomilivojevic · 2021-11-19 · 4 · #67

waiting for reply

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

Unnecessary line in class Create

Method "setBody" of class "Create" has unnecessary line # 37 (of origin file /phpClient/vendor/manticoresoftware/manticoresearch-php/src/Manticoresearch/Endpoints/Indices/Create.php). See comment inside code: public function setBody($params = null) { if ( …

oam333oam333 · 2021-11-24 · 1 · #68

waiting for reply

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

Aggregation functions support

Read all client documents. Looked at the implementation of "facet" in the code. Am I right in thinking that there is no such functionality? For example "MIN" or "MAX"? It after all as not simply to create sql. Worry about escaping field names or something …

genby8genby8 · 2023-04-26 · 4 · #119

enhancement

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

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

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

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

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