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

107 results 17 ms in manticoresoftware/manticoresearch-python

Remove the upper bound for urllib3 dependency

urllib3 is currently pinned at >= 1.25.3, < 2.1.0 in setup.py and requirements.txt . I was not able to find any reason to forbid using newer versions of urllib3 (unless somebody is using versions of Python that are no longer maintained – 3.7 or 3.8). Just …

nikitagrygorievnikitagrygoriev · 2025-07-09 · 4 · #24

Replace index failed with ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))

zepenzepen · 2025-12-15 · 2 · #27

bug

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

Nick-S-2018Nick-S-2018 · 2025-12-01

Replace index failed with ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))

Bug Description: my replace index py code is here import manticoresearch from datetime import datetime configuration = manticoresearch.Configuration( host="http://127.0.0.1:9308" ) ... def update_index(): try: with manticoresearch.ApiClient(configuration) …

zepenzepen · 2025-12-15 · 2 · #27

bug

Replace index failed with ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))

zepenzepen · 2025-12-15 · 2 · #27

bug

It should be fixed now in the devel version. @zepen please, check if it works ok for you. We are going to include the fix in the next release version.

Nick-S-2018Nick-S-2018 · 2025-12-08

ProtocolError (ConnectionResetError) with connection pooling - POST requests not retried by default

Problem Description When making multiple consecutive requests to ManticoreSearch using the Python SDK, intermittent ProtocolError exceptions occur: urllib3.exceptions.ProtocolError: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by …

guyskkguyskk · 2026-02-19 · 3 · #28

ProtocolError (ConnectionResetError) with connection pooling - POST requests not retried by default

guyskkguyskk · 2026-02-19 · 3 · #28

hi @guyskk , can you please elaborate on which client you used - latest release version or latest dev version?

Nick-S-2018Nick-S-2018 · 2026-01-06

Test

Nick-S-2018Nick-S-2018 · 2025-01-30 · 0 · #19

ProtocolError (ConnectionResetError) with connection pooling - POST requests not retried by default

guyskkguyskk · 2026-02-19 · 3 · #28

@Nick-S-2018 pip show manticoresearch Name: manticoresearch Version: 9.0.0

guyskkguyskk · 2026-01-12

Supporting async requests

We need to generate a new version of the client based on another OpenApi generator template (presumably, https://github.com/OpenAPITools/openapi-generator/tree/master/modules/openapi-generator/src/main/resources/python-aiohttp ) to be able to support …

Nick-S-2018Nick-S-2018 · 2025-04-01 · 1 · #23

est::size_S

ProtocolError (ConnectionResetError) with connection pooling - POST requests not retried by default

guyskkguyskk · 2026-02-19 · 3 · #28

Fixed in https://github.com/manticoresoftware/manticoresearch/issues/3336

Nick-S-2018Nick-S-2018 · 2026-02-19

Deprecation warning on client publish

Bug Description: We get a warning when publishing the Python client: /opt/hostedtoolcache/Python/3.10.17/x64/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and …

Nick-S-2018Nick-S-2018 · 2025-06-04 · 2 · #25

bug

SearchApi seems to generate a wrong endpoint

akordeckiakordecki · 2021-07-09 · 4 · #3

Fixed in https://github.com/manticoresoftware/manticoresearch-python/commit/9c340ac6fc2d351f86e104071a65c8ea7c62cc20. Closing the issue

sanikolaevsanikolaev · 2021-07-09

SearchApi seems to generate a wrong endpoint

…Hi, I want to try the Python API, but I couldn't send a SearchRequest to localhost. On every request, I'm getting: Exception when calling SearchApi->search: (501) Reason: Not Implemented HTTP response headers: HTTPHeaderDict({'Server': '3.6.0 96d61d8@ …

akordeckiakordecki · 2021-07-09 · 4 · #3

利用SQL进行multi-query

lljqylljqy · 2023-07-19 · 10 · #4

This works fine for me: snikolaev@dev:~$ cat manticore.py import datetime import mysql.connector cnx = mysql.connector.connect(host='127.0.0.1', port='9306') cursor = cnx.cursor() cursor.execute("drop table if exists t") cursor.execute("create table t(f …

l1t1l1t1 · 2023-07-19

Unexpected truncate if text contains null char `\x00`

import manticoresearch table_name = 'test' manticoresearch_config = manticoresearch.Configuration( host="http://127.0.0.1:9308") manticoresearch_client = manticoresearch.ApiClient(manticoresearch_config) utilsApi = manticoresearch.UtilsApi(manticoresearch …

scruelscruel · 2024-10-01 · 4 · #18

bug

Encoding issue with UtilsApi sql method when using UTF-8 charset

narayanacharya6narayanacharya6 · 2022-02-24 · 4 · #6

bug

I've tested the issue with the current dev build - it's fixed there.

Nick-S-2018Nick-S-2018 · 2022-02-24

UtilsApi.sql fails with `{"error":"query missing"}` but query works in mysql

Example query fails when called via UtilsApi.sql in python client with {"error":"query missing"} but same query works in mysql client. Steps to reproduce: import manticoresearch configuration = manticoresearch.Configuration(host="http://127.0.0.1:9308") …

narayanacharya6narayanacharya6 · 2022-04-07 · 1 · #8

Documentation lacking for SearchRequest parameters

narayanacharya6narayanacharya6 · 2023-04-20 · 8 · #7

bug

This python client is based on Manticore HTTP JSON protocol, it doesn't natively support ranker=... as well as other search options, so you are right - you need to use sql method for that. We'll look into the other issues

sanikolaevsanikolaev · 2022-02-23

1👍1

Improve Readme

We need to add information about the structure of auto created table to code examples in Readme.

Nick-S-2018Nick-S-2018 · 2025-02-04 · 1 · #20

est::size_S

Documentation lacking for SearchRequest parameters

narayanacharya6narayanacharya6 · 2023-04-20 · 8 · #7

bug

Is adding support for OPTIONS over HTTP in the pipeline? If not, can it be added? :)

narayanacharya6narayanacharya6 · 2022-02-23

Fix documentation

We need to fix formatting here: https://github.com/manticoresoftware/manticoresearch-python/blob/master/docs/SearchApi.md#percolate

Nick-S-2018Nick-S-2018 · 2025-02-04 · 1 · #21

est::size_S

Documentation lacking for SearchRequest parameters

narayanacharya6narayanacharya6 · 2023-04-20 · 8 · #7

bug

Yes. We had it in our internal ticketing system. I've just exposed it to github - https://github.com/manticoresoftware/manticoresearch/issues/715

sanikolaevsanikolaev · 2022-02-23

1👍1

Implemented the composite aggregation feature

Nick-S-2018Nick-S-2018 · 2024-04-13 · 0 · #13

Documentation lacking for SearchRequest parameters

narayanacharya6narayanacharya6 · 2023-04-20 · 8 · #7

bug

Unfortunately, I raised two questions in one ticket (sorry for this): "match" in the HTTP query is not equivalent to the the MATCH in the SQL syntax. Support for OPTIONS over HTTP in SearchRequest . Can you please clarify what was done?

narayanacharya6narayanacharya6 · 2022-03-03

Encoding issue with UtilsApi sql method when using UTF-8 charset

When trying to use the UtilsApi to send some SQL to manticore server the query is sent as plain text in the body. This runs into encoding issues if your query contains non ISO-8859-1 (or latin-1 ) characters because when your request body is str or bytes …

narayanacharya6narayanacharya6 · 2022-02-24 · 4 · #6

bug

Documentation lacking for SearchRequest parameters

narayanacharya6narayanacharya6 · 2023-04-20 · 8 · #7

bug

The issue about OPTIONS is here https://github.com/manticoresoftware/manticoresearch/issues/715.

sanikolaevsanikolaev · 2022-03-03

2👍2

Documentation lacking for SearchRequest parameters

I'm new to manticoresearch and manticoresearch-python and I am looking for more detailed documentation for the arguments in the SearchRequest constructor. I noticed that the "match" in the HTTP query is not equivalent to the the MATCH in the SQL syntax. …

narayanacharya6narayanacharya6 · 2023-04-20 · 8 · #7

bug

Documentation lacking for SearchRequest parameters

narayanacharya6narayanacharya6 · 2023-04-20 · 8 · #7

bug

➤ Nick Sergeev commented: Done in 29e878b0

githubmanticoregithubmanticore · 2022-03-03

Invalid characters in MC break search API

Adding messages like this to MC seems to break the ability of the client to fetch them: 'msg': '[\x02L\u200bi\u200bl\u200bB\u200br\u200bu\u200bc\u200be\x02] sss' Indexing with the client works fine: {'error': None, 'items': [{'bulk': {'_id': …

syxiesyxie · 2022-09-13 · 3 · #10

利用SQL进行multi-query

lljqylljqy · 2023-07-19 · 10 · #4

Sorry I'm not sure I can translate your question properly. Could you please ask in English and best if you provide some examples: code examples or smth which works via just SQL, but doesn't work out when you try to do the same via the python client

sanikolaevsanikolaev · 2021-11-12

Ability to get document via `indexAPI.get`

Currently, I can only filter with searchAPI to get the document via its ID or field, I wonder if you could let indexAPI provide a more easy way to do so.

scruelscruel · 2024-03-21 · 9 · #12

利用SQL进行multi-query

lljqylljqy · 2023-07-19 · 10 · #4

Sorry I'm not sure I can translate your question properly. Could you please ask in English and best if you provide some examples: code examples or smth which works via just SQL, but doesn't work out when you try to do the same via the python client I need …

lljqylljqy · 2021-11-14

How to filter by the keys of JSON type field?

…>>> utilsApi.sql(f"CREATE TABLE testx(title text, infos json) morphology='stem_en'") >>> indexApi.insert({"index": "testx", "doc": { "title": "test", 'infos': {-1: 1, -2: 1, -3: 2}}}) >>> search_res = searchApi.search( SearchRequest(index="testx", query …

scruelscruel · 2024-05-06 · 3 · #15

利用SQL进行multi-query

lljqylljqy · 2023-07-19 · 10 · #4

This is a known issue. The root cause is the HTTP JSON protocol didn't allow multiple queries. That is already fixed in the latest Manticore Search dev version. Please give it a try. You can find dev packages on https://repo.manticoresearch.com/ or use …

sanikolaevsanikolaev · 2021-11-15

`UtilsApi` will return MVA type list value as string

According to your document: https://manual.manticoresearch.com/Creating_a_table/Data_types#Multi-value-integer-(MVA) We will be able to obtain a list for MVA type value. However, by using UtilsApi to query the index, it won't act as the same: >>> utilsApi …

scruelscruel · 2024-05-07 · 5 · #14

利用SQL进行multi-query

lljqylljqy · 2023-07-19 · 10 · #4

That is already fixed in the latest Manticore Search dev version Forget it. There was a bug.

sanikolaevsanikolaev · 2021-11-15

Question about `query` and `filter`s field.

What is the purpose of fulltext_filter and attr_filter ? It seems that your documentation didn't contain such related info about them: Furthermore, I would like to know what is the difference between the following code snippets: search_req = SearchRequest …

scruelscruel · 2024-06-13 · 3 · #16

est::size_S

利用SQL进行multi-query

lljqylljqy · 2023-07-19 · 10 · #4

That is already fixed in the latest Manticore Search dev version Forget it. There was a bug. I want to use it in a production environment. Is there a better recommended tools to use manticore for multi-queries in a python environment?

lljqylljqy · 2021-11-20

Unsupported value type check only works with `None`

…>>> utilsApi.sql(f"CREATE TABLE testx(num bigint)") [{'total': 0, 'error': '', 'warning': ''}] >>> indexApi.insert({"index": "testx", "doc": {'num': None}}) ... manticoresearch.exceptions.ApiException: (400) Reason: Bad Request HTTP response headers: …

scruelscruel · 2024-06-17 · 1 · #17

est::size_S

利用SQL进行multi-query

lljqylljqy · 2023-07-19 · 10 · #4

Is there a better recommended tools to use manticore for multi-queries in a python environment? Just use python mysql connector instead of the python client.

sanikolaevsanikolaev · 2021-11-20