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

78 results 15 ms in manticoresoftware/manticoresearch-go

Aggregation request returns incorrect results

Bug Description: The following SQL agg request cannot be correctly reproduced with the Go client CREATE TABLE IF NOT EXISTS apps ( id bigint, typeID int, title string attribute indexed ); INSERT INTO apps (ID, TypeID, Title) VALUES (1,1,'First'), (2,1,' โ€ฆ

Nick-S-2018Nick-S-2018 ยท 2025-07-28 ยท 1 ยท #22

bug

Aggregation request returns incorrect results

Nick-S-2018Nick-S-2018 ยท 2025-07-28 ยท 1 ยท #22

bug

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

Nick-S-2018Nick-S-2018 ยท 2025-07-28

create table with id as bigint๏ผŒsearch table return id as float64

โ€ฆHi, I create table by " CREATE TABLE IF NOT EXISTS tableA (id bigint, idea text, note text, style string, ts bigint, trashed bool), but the "_id" in SearchResponseHits.Hits is float64. If the id is very big number, the float64 value will not match int64 โ€ฆ

ninesunqianninesunqian ยท 2025-08-23 ยท 6 ยท #18

create table with id as bigint๏ผŒsearch table return id as float64

ninesunqianninesunqian ยท 2025-08-23 ยท 6 ยท #18

Fixed in https://github.com/manticoresoftware/manticoresearch-go/commit/a39bc85ea8236e6e141a4e144e89b21fd35351b2

Nick-S-2018Nick-S-2018 ยท 2025-03-11

Why isn't the mixed sorting working?

Bug Description: var Url = "http://localhost:9308" manticoreSearch := NewManticoreSearch(Url) searchQuery := Manticoresearch.NewSearchQuery() searchQuery.SetQueryString("lv") searchRequest := Manticoresearch.NewSearchRequest("my-idx") searchRequest. โ€ฆ

zepenzepen ยท 2025-11-03 ยท 1 ยท #23

bug

create table with id as bigint๏ผŒsearch table return id as float64

ninesunqianninesunqian ยท 2025-08-23 ยท 6 ยท #18

@Nick-S-2018 today I find the bigint ts in SearchResponseHits.Source is a float64 interface. I use manticoresearch-go 21f56c82ddc0e0d7e39129104e8b553da49ceeba

ninesunqianninesunqian ยท 2025-08-06

Server return "http: server closed idle connection"

Bug Description: When making concurrent requests to the service, it returns "http: server closed idle connection". server log Post "http://localhost:9308/search": http: server closed idle connection my servcie code as below, and use grpc type โ€ฆ

zepenzepen ยท 2025-11-27 ยท 5 ยท #24

bug

create table with id as bigint๏ผŒsearch table return id as float64

ninesunqianninesunqian ยท 2025-08-23 ยท 6 ยท #18

Hello, do you mean the inner content of SearchResponseHits.Source? Can you please give an example of your request and response?

Nick-S-2018Nick-S-2018 ยท 2025-08-08

Whether to support go native SQL driver database/sql or gorm

Whether to support go native SQL driver database/sql or gorm

medivh666medivh666 ยท 2025-02-14 ยท 1 ยท #16

waiting

create table with id as bigint๏ผŒsearch table return id as float64

ninesunqianninesunqian ยท 2025-08-23 ยท 6 ยท #18

I set Debug of configuration and get the printed body of request and ressponse: 2025/08/10 21:34:41 POST /search HTTP/1.1 Host: 192.168.33.250:9308 User-Agent: OpenAPI-Generator/1.10.0/go Content-Length: 166 Accept: application/json Content-Type: โ€ฆ

ninesunqianninesunqian ยท 2025-08-10

Facet over histogram

openapi.Aggregation does not have facility to do faceting over histogram, as is shown in docs. Is there another way to produce aggregated results? Using latest dev branch and go 1.23.4

arrayindex-devarrayindex-dev ยท 2025-05-14 ยท 2 ยท #12

est::size_S

create table with id as bigint๏ผŒsearch table return id as float64

ninesunqianninesunqian ยท 2025-08-23 ยท 6 ยท #18

@ninesunqian I'm sorry for the delayed response. So ts indeed is a property of SearchResponseHits.Source retrieved from the tester_testdb_mcs table. Unfortunately, we cannot do anything here since we cannot control the data types in user tables, and float โ€ฆ

Nick-S-2018Nick-S-2018 ยท 2025-08-21

fix: update ID fields to use uint64 instead of int64

Regarding the Manticore's documentation, insert/update operations must use unsigned 64-bit integers (uint64) for document IDs. However, the current implementation uses signed integers (int64) instead, which leads to incorrect behavior when handling large โ€ฆ

kperreaukperreau ยท 2025-07-03 ยท 1 ยท #21

create table with id as bigint๏ผŒsearch table return id as float64

ninesunqianninesunqian ยท 2025-08-23 ยท 6 ยท #18

It's alright. I'm using the value of Number.MAX_SAFE_INTEGER in js as the upper limit, which ensures compatibility across both float64 and int64 data types.

ninesunqianninesunqian ยท 2025-08-23

# command-line-arguments .\main.go:20:90: syntax error: unexpected newline in composite literal; possibly missing comma or }

command-line-arguments .\main.go:20:90: syntax error: unexpected newline in composite literal; possibly missing comma or } The test case you provided has a missing comma at the end of the code snippet below: docs := []string{ "{"insert": {"index" : "test โ€ฆ

xue-ding-exue-ding-e ยท 2024-03-11 ยท 1 ยท #5

bug

Why isn't the mixed sorting working?

zepenzepen ยท 2025-11-03 ยท 1 ยท #23

bug

sortRules := []map[string]string{ {"_score": "desc"}, {"id": "asc"}, } use this its working๏ผ but doc is wrong

zepenzepen ยท 2025-11-02

1๐Ÿ‘1

Fix the bug in the test case reported in the README

(specific informaโ€ฆtion has been submitted in the issue)

xue-ding-exue-ding-e ยท 2024-03-12 ยท 1 ยท #6

Server return "http: server closed idle connection"

zepenzepen ยท 2025-11-27 ยท 5 ยท #24

bug

To simplify things, could you please try to reproduce the case without using an intermediate service? I mean sending requests from the client application right to the Manticore server and checking if the issue persists.

Nick-S-2018Nick-S-2018 ยท 2025-11-06

How to get id of new documents create by bulk insert

Hello, From this page I can't find how to get the id of new documents create by bulk or single insert https://manual.manticoresearch.com/Data_creation_and_modification/Adding_documents_to_a_table/Adding_documents_to_a_real-time_table#Auto-schema Should I โ€ฆ

ninesunqianninesunqian ยท 2025-01-08 ยท 4 ยท #13

waiting

Server return "http: server closed idle connection"

zepenzepen ยท 2025-11-27 ยท 5 ยท #24

bug

To simplify things, could you please try to reproduce the case without using an intermediate service? I mean sending requests from the client application right to the Manticore server and checking if the issue persists. yes, i try, set taskCount = 500, โ€ฆ

zepenzepen ยท 2025-11-06

Why the id in ApiPartialReplaceRequest is float32, not int64 ?

type ApiPartialReplaceRequest struct { ctx context.Context ApiService *IndexAPIService index string id float32 replaceDocumentRequest *ReplaceDocumentRequest } in api_index.go

ninesunqianninesunqian ยท 2025-01-08 ยท 3 ยท #10

Server return "http: server closed idle connection"

zepenzepen ยท 2025-11-27 ยท 5 ยท #24

bug

Thank you! The issue should be fixed now in the dev version: https://github.com/manticoresoftware/manticoresearch-go You can use it and make sure it works fine now. The fix will be included in the next release of the client.

Nick-S-2018Nick-S-2018 ยท 2025-11-13

2๐Ÿ‘1โค๏ธ1

Generate Go client

sanikolaevsanikolaev ยท 2024-02-12 ยท 2 ยท #4

est::size_L

Server return "http: server closed idle connection"

zepenzepen ยท 2025-11-27 ยท 5 ยท #24

bug

https://github.com/manticoresoftware/manticoresearch-go its ok.

zepenzepen ยท 2025-11-16

Increase remote invocation

This facilitates debugging and deployment (e.g., in Docker where it may not be in the same network segment, or on physical machines not on the same device). package openapi var defaultIP = "" func SetDefaultIP(IP string) { defaultIP = IP } func โ€ฆ

xue-ding-exue-ding-e ยท 2024-04-24 ยท 1 ยท #7

Server return "http: server closed idle connection"

zepenzepen ยท 2025-11-27 ยท 5 ยท #24

bug

Thanks for the update! However, the internal checklist is not yet complete. A Manticore team member will close this issue once everything is checked off. ๐Ÿ› ๏ธ

github-actions[bot]github-actions[bot] ยท 2025-11-27

create field can't insert

indexDoc := map[string]any{ "create": time.Now(), } this canโ€˜t insert

zhangstar-hubzhangstar-hub ยท 2024-11-19 ยท 5 ยท #9

create field can't insert

zhangstar-hubzhangstar-hub ยท 2024-11-19 ยท 5 ยท #9

Pls provide more details: your versions: Manticore Go client your table schema more lines from your script to reproduce it locally

sanikolaevsanikolaev ยท 2024-10-29

Why not use database/sql to implement the sdk

Why not use database/sql to implement the sdk In this way, many things like sqlx can be used

fucktxfucktx ยท 2024-12-12 ยท 1 ยท #11

create field can't insert

zhangstar-hubzhangstar-hub ยท 2024-11-19 ยท 5 ยท #9

@zhangstar-hub ^

sanikolaevsanikolaev ยท 2024-10-31

`go get` fails for v6.0.0 due to module path version mismatch

Problem The go get command fails when trying to fetch manticoresearch-go v6.0.0 due to Go modules requiring version suffix in module path for major versions โ‰ฅ 2. Steps to Reproduce >> go get github.com/manticoresoftware/[email protected] go: โ€ฆ

yokowuyokowu ยท 2025-02-07 ยท 1 ยท #14

create field can't insert

zhangstar-hubzhangstar-hub ยท 2024-11-19 ยท 5 ยท #9

version๏ผš Manticore 6.3.6 manticoresearch-go v1.0.0 go 1.17 like this๏ผšapiClient.IndexAPI.Insert(context.Background()).InsertDocumentRequest(*indexReq).Execute() If the index does not exist, it will automatically create a table when I insert. However, if โ€ฆ

zhangstar-hubzhangstar-hub ยท 2024-11-04

new SearchResponseHitsHitsInner fails to serialize uppon request execute

There is a issue with the new client: searchRequest := openapiclient.NewSearchRequest(strings.ToLower(indexName)) searchQuery := openapiclient.NewSearchQuery() searchQuery.QueryString = fmt.Sprintf("@title *%v", queryStr) searchRequest.Query = searchQuery โ€ฆ

adderlyadderly ยท 2025-03-11 ยท 1 ยท #20

create field can't insert

zhangstar-hubzhangstar-hub ยท 2024-11-19 ยท 5 ยท #9

@zhangstar-hub, sorry for the delay with this response. Yes, you're right, create cannot be used as a column name so you'll have to change it to something else. We'll update our documentation to include create into the list of reserved words.

Nick-S-2018Nick-S-2018 ยท 2024-11-13

Random EOFs

I'm using sdk v1.6.0 with dockered manticoresearch/manticore:7.0.0 and getting EOF error while replacing 100-1000 documents in loop: if _, _, err := searchApi.IndexAPI.Replace(context.TODO()).InsertDocumentRequest(Manticoresearch.InsertDocumentRequest{ โ€ฆ

AlexanderMatveevAlexanderMatveev ยท 2025-03-11 ยท 7 ยท #15

bug

create field can't insert

zhangstar-hubzhangstar-hub ยท 2024-11-19 ยท 5 ยท #9

We'll update our documentation to include create into the list of reserved words. Done in https://github.com/manticoresoftware/manticoresearch/commit/d8d6e7219c5fb53b414a4b84d74216760c5ec7f9

sanikolaevsanikolaev ยท 2024-11-19

SuccessResponse does not include ID

When doing an insert and relying on auto-id to generate and return the ID, the Id field of the SuccessResponse is blank. The actual raw HTTP response body contains the ID, but because the JSON data has the id filed as _id and the struct doesn't explicitly โ€ฆ

darkliquiddarkliquid ยท 2025-03-11 ยท 6 ยท #17

`go get` fails for v6.0.0 due to module path version mismatch

yokowuyokowu ยท 2025-02-07 ยท 1 ยท #14

We've fixed documentation. It should read v1.6.0

Nick-S-2018Nick-S-2018 ยท 2025-02-07

fixbug:SearchRequest.Source field has wrong json tag

Accoding to document: https://manual.manticoresearch.com/Searching/Search_results#Source-selection https://manual.manticoresearch.com/Searching/Full_text_matching/Basic_usage?client=match#HTTP-JSON SearchRequest.Source should be with map[string]interface โ€ฆ

fpagyufpagyu ยท 2024-10-28 ยท 3 ยท #8

How to get id of new documents create by bulk insert

ninesunqianninesunqian ยท 2025-01-08 ยท 4 ยท #13

waiting

You can find an example of the response which includes ids for all inserted documents here https://manual.manticoresearch.com/Data_creation_and_modification/Adding_documents_to_a_table/Adding_documents_to_a_real-time_table?client=JSON#Bulk-adding- โ€ฆ

sanikolaevsanikolaev ยท 2024-12-19