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

96 results 9 ms in manticoresoftware/manticoresearch-php

need support for scroll

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

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

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

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

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

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

`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

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

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

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

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-01-31 · 3 · #228

1👍1

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

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

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

getDocumentByIds doees not work: "self" in callables is deprecated

Method getDocumentByIds does not work in PHP 8.2 while getDocumentById works fine Unhandled exception Exception with message "Use of "self" in callables is deprecated" in file "/src/app/core.php:360" * #0 /src/app/core.php(230): App::error('Use of "self" …

donhardmandonhardman · 2024-04-26 · 3 · #170

bugest::size_S

does manticoresearch-php support search_after function?

does manticoresearch-php support search_after function?

chongshengdzchongshengdz · 2024-11-13 · 1 · #222

The first request is not search request if using basic auth

php version 8.2 manticoresearch-php version 3.1.0 Client config $params = [ 'connections' => [ [ 'host' => 'host', 'port' => 80, 'timeout' => 5, 'connection_timeout' => 1, 'transport' => 'Http', 'scheme' => 'http', 'username' => 'login', 'password' => ' …

vipercs90vipercs90 · 2024-04-26 · 8 · #146

est::size_S

PhpHttp transport depends on not existing package

Currently \Manticoresearch\Transport\PhpHttp uses classes from 'php-http/discovery' package but this package is not required in composer.json. Therefore, users who don't have already installed 'php-http/discovery' (besides, the version we support) in …

aivchenaivchen · 2024-04-26 · 2 · #138

est::size_S

Invalid HTTP request in some cases on replaceDocuments

As we were updating the docs with recalculated embeddings in the Manticore GitHub search demo, we encountered an issue where replaceDocuments was producing an "Invalid HTTP method" error. We should investigate this and try to understand the reason behind …

donhardmandonhardman · 2024-05-09 · 14 · #207

Drop support for older versions of php

PHP 7.1 - 7.4 are not supported by php core developers. PHP 8.0 will stop to be supported in November 2023. I suggest to drop support for all < 8.1 php versions in next major release. It would allow to use strict types for variables, parameters, use …

aivchenaivchen · 2024-05-09 · 7 · #143

1👍1

KNN overwrite the query while it's not expected

When we use the code $client->index('test')->search("query term")->knn(...) we expect to perform a hybrid search that combines vector and keyword searches. However, due to the current implementation, we can't do this without directly manipulating internal …

donhardmandonhardman · 2024-05-23 · 2 · #200