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

60 results 29 ms in manticoresoftware/manticoresearch-go

create field can't insert

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

zhangstar-hubzhangstar-hub · 2024-11-19 · 5 · #9

new SearchResponseHitsHitsInner fails to serialize uppon request execute

adderlyadderly · 2025-03-11 · 1 · #20

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

Nick-S-2018Nick-S-2018 · 2025-03-11

`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 table with id as bigint,search table return id as float64

ninesunqianninesunqian · 2025-03-11 · 1 · #18

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

Nick-S-2018Nick-S-2018 · 2025-03-11

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

Random EOFs

AlexanderMatveevAlexanderMatveev · 2025-03-11 · 7 · #15

bug

The issue seems to have to do with the specifics of the Go net/http package. We need to investigate it more thoroughly to understand what can be done here. As a workaround, I'd recommend to use a delay inside your loop if that does not affect the …

Nick-S-2018Nick-S-2018 · 2025-02-12

1👍1

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

Random EOFs

AlexanderMatveevAlexanderMatveev · 2025-03-11 · 7 · #15

bug

As a workaround, I'd recommend to use a delay inside your loop if that does not affect the performance of your application too much. It worked fine with 1 millisecond delay in our tests. I tried before with 100 msec delay, It worked. Thanks. Another …

AlexanderMatveevAlexanderMatveev · 2025-02-12

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

Random EOFs

AlexanderMatveevAlexanderMatveev · 2025-03-11 · 7 · #15

bug

@Nick-S-2018 Please find a better way to handle this. Adding a delay after each request is not a good practice.

sanikolaevsanikolaev · 2025-02-14

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-03-11 · 1 · #18

Random EOFs

AlexanderMatveevAlexanderMatveev · 2025-03-11 · 7 · #15

bug

@Nick-S-2018 as discussed, pls prepare an MRE based on: pure go Manticore instance queries against Manticore

sanikolaevsanikolaev · 2025-02-19

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

Random EOFs

AlexanderMatveevAlexanderMatveev · 2025-03-11 · 7 · #15

bug

Just got same error using 1 ms delay in dockered manticoresearch: ... ERROR search err="Post "http://search:9308/sql?raw_response=true": read tcp 172.16.22.4:54194->172.16.22.3:9308: read: connection reset by peer" Increased cooldown to 100 msec =(

AlexanderMatveevAlexanderMatveev · 2025-02-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

Random EOFs

AlexanderMatveevAlexanderMatveev · 2025-03-11 · 7 · #15

bug

@AlexanderMatveev, Sorry to hear that. An alternative workaround can be attempting a few retries on failed requests in your app. I believe, it should work too in this case. We're investigating the issue now to see if it can be fixed on Manticore side.

Nick-S-2018Nick-S-2018 · 2025-02-26

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

Random EOFs

AlexanderMatveevAlexanderMatveev · 2025-03-11 · 7 · #15

bug

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

Nick-S-2018Nick-S-2018 · 2025-03-11

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

SuccessResponse does not include ID

darkliquiddarkliquid · 2025-03-11 · 6 · #17

We need to investigate the issue further to decide if it should be fixed in the client or in Manticore daemon itself.

Nick-S-2018Nick-S-2018 · 2025-02-18

1👍1

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 · 2024-12-19 · 1 · #12

SuccessResponse does not include ID

darkliquiddarkliquid · 2025-03-11 · 6 · #17

Looking at the latest master of the you openapi SDK codegen repo, the code generated by that does the right thing (maps _id to Id with json tags), so I expect that it's just the latest stable release (and prior releases) that's been cut for this package …

darkliquiddarkliquid · 2025-02-21

# 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

SuccessResponse does not include ID

darkliquiddarkliquid · 2025-03-11 · 6 · #17

We've also created an issue https://github.com/manticoresoftware/manticoresearch/issues/3165 to avoid such possible cases in the future.

Nick-S-2018Nick-S-2018 · 2025-03-04

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

SuccessResponse does not include ID

darkliquiddarkliquid · 2025-03-11 · 6 · #17

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

sanikolaevsanikolaev · 2025-03-04

Thanks

Thanks for making a go client for use gophers ! This looks really promising !

gedw99gedw99 · 2025-03-06 · 1 · #19

SuccessResponse does not include ID

darkliquiddarkliquid · 2025-03-11 · 6 · #17

https://github.com/manticoresoftware/manticoresearch/issues/3165 is done in https://github.com/manticoresoftware/manticoresearch/pull/3167. Unblocking.

sanikolaevsanikolaev · 2025-03-05

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

SuccessResponse does not include ID

darkliquiddarkliquid · 2025-03-11 · 6 · #17

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

Nick-S-2018Nick-S-2018 · 2025-03-11

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

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

medivh666medivh666 · 2025-02-14 · 1 · #16

waiting

Sorry I don't understand the question.

sanikolaevsanikolaev · 2025-02-14

Make a specification

We need to make a specification for porting github.com/manticoresoftware/manticoresearch-php/ to Golang

manticoresearchmanticoresearch · 2024-01-09 · 2 · #1

`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

Generate Go client

sanikolaevsanikolaev · 2024-02-12 · 2 · #4

est::size_L

Why not use database/sql to implement the sdk

fucktxfucktx · 2024-12-12 · 1 · #11

You can connect to Manticore via the mysql protocol, so if you use database/sql and one of the mysql drivers, chances are it will work.

sanikolaevsanikolaev · 2024-12-12

Thanks

gedw99gedw99 · 2025-03-06 · 1 · #19

We're glad to hear you're finding the Go client useful. If you have any feedback or run into any issues, please don't hesitate to let us know.

sanikolaevsanikolaev · 2025-03-06

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