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

93 results 33 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-05-12 · 2 · #24

Remove the upper bound for urllib3 dependency

nikitagrygorievnikitagrygoriev · 2025-05-12 · 2 · #24

Yes, this looks reasonable. We will check the client templates to ensure the change doesn't affect anything else there and will update the client.

Nick-S-2018Nick-S-2018 · 2025-04-24

1👍1

Update UtilsApi.md

The configuration object is missing in line 38. It should be a parameter for ApiClient.

jonyrjonyr · 2022-02-03 · 1 · #5

Remove the upper bound for urllib3 dependency

nikitagrygorievnikitagrygoriev · 2025-05-12 · 2 · #24

Done in https://github.com/manticoresoftware/manticoresearch-python/commit/d863dc7211a846b688d9693344b009f662cb7cf6

Nick-S-2018Nick-S-2018 · 2025-05-08

1❤️1

Test

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

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

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

利用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

Is there a complete introduction to `dsl` for http requests?

For example. I want to know how many tables are there. I will run import manticoresearch config = manticoresearch.Configuration( host = "http://127.0.0.1:9308" ) client = manticoresearch.ApiClient(config) indexApi = manticoresearch.IndexApi(client) …

sangensongsangensong · 2021-05-07 · 3 · #2

waiting for reply

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

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

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

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

Documentation lacking for SearchRequest parameters

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

bug

➤ Nick Sergeev commented: Done in 29e878b0

githubmanticoregithubmanticore · 2022-03-03

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

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

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

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

利用SQL进行multi-query

利用SQL进行multi-query,怎么获取批量查询的结果?

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

利用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

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

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

sanikolaevsanikolaev · 2021-11-15

add missing import statement in IndexApi.md code snippet

hi this is just a small change to make all the code snippets in IndexApi.md runnable

joshuakosasihjoshuakosasih · 2022-09-05 · 2 · #9

利用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

Update README.md

sanikolaevsanikolaev · 2024-01-23 · 0 · #11

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

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

利用SQL进行multi-query

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

You are talking about pymysql (https://pypi.org/project/PyMySQL/)? I have used this toolkit, and found that the execution of first_sql and second_sql at the same time, and finally only the execution result of first_sql ;And there is another problem. When …

lljqylljqy · 2021-11-20

bulk insert error

Hear is my code import json import platform import manticoresearch import time import csv import _csv os = platform.platform() datapath = "hacker_news_comments.csv" if not os.startswith("Linux") else "/home/fake_data/hacker_news_comments.csv" docs = [] …

sangensongsangensong · 2021-04-20 · 6 · #1

waiting for reply

利用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 …

sanikolaevsanikolaev · 2021-11-20

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

利用SQL进行multi-query

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

mysql.connector.connect(host='127.0.0.1', port='9306') Thank you for your help, I solved the problem!

lljqylljqy · 2021-11-20