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

61 results 25 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

Facet over histogram

arrayindex-devarrayindex-dev · 2025-05-14 · 2 · #12

est::size_S

@arrayindex-dev I believe only using the sql method - https://github.com/manticoresoftware/manticoresearch-go/blob/dev/docs/UtilsAPI.md#sql We'll see what we can do to support it natively in the client.

sanikolaevsanikolaev · 2024-12-19

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

Facet over histogram

arrayindex-devarrayindex-dev · 2025-05-14 · 2 · #12

est::size_S

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

Nick-S-2018Nick-S-2018 · 2025-05-14

`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

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

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

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

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

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

`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

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

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

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

How to get id of new documents create by bulk insert

ninesunqianninesunqian · 2025-01-08 · 4 · #13

waiting

Sorry, please forgive me for not describing it clearly! I create docs by auto-id. The ids in build request are zero. Are ids in response created by manticore search ?

ninesunqianninesunqian · 2024-12-21

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

How to get id of new documents create by bulk insert

ninesunqianninesunqian · 2025-01-08 · 4 · #13

waiting

I create docs by auto-id. The ids in build request are zero Can you please provide a minimal reproducible example for this?

sanikolaevsanikolaev · 2024-12-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

How to get id of new documents create by bulk insert

ninesunqianninesunqian · 2025-01-08 · 4 · #13

waiting

Since there's no reproducible case, we are closing this issue. Feel free to reopen in case you can provide more details on how to reproduce the issue.

sanikolaevsanikolaev · 2025-01-08

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

Why the id in ApiPartialReplaceRequest is float32, not int64 ?

ninesunqianninesunqian · 2025-01-08 · 3 · #10

This is a bug in the client which we're going to fix in the near future.

Nick-S-2018Nick-S-2018 · 2024-12-05

Thanks

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

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

Why the id in ApiPartialReplaceRequest is float32, not int64 ?

ninesunqianninesunqian · 2025-01-08 · 3 · #10

OK, Thanks very much. By the way, the way PartialReplace adding id and indexName is also different from other api. Can this be fixed as well?| For example: func (m *McsIndex) Insert(id int64, idea string, ts int64) error { indexDoc := map[string]interface …

ninesunqianninesunqian · 2024-12-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

Why the id in ApiPartialReplaceRequest is float32, not int64 ?

ninesunqianninesunqian · 2025-01-08 · 3 · #10

Handling id format is fixed in https://github.com/manticoresoftware/manticoresearch-go/commit/c2fb2fd00d8a53203eb015d1439d0ef91634d4d9 As for the issue about different method signature used for PartialReplace, this is caused by the different syntax of the …

Nick-S-2018Nick-S-2018 · 2025-01-08

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

fixbug:SearchRequest.Source field has wrong json tag

fpagyufpagyu · 2024-10-28 · 3 · #8

Thanks for the PR @fpagyu @Nick-S-2018 pls review.

sanikolaevsanikolaev · 2024-09-19

Make a specification

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

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

fixbug:SearchRequest.Source field has wrong json tag

fpagyufpagyu · 2024-10-28 · 3 · #8

@fpagyu Thank you for your PR. Now we're going to publish a major update for the client so we will include the fix for this issue as its part.

Nick-S-2018Nick-S-2018 · 2024-10-10

Generate Go client

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

est::size_L

fixbug:SearchRequest.Source field has wrong json tag

fpagyufpagyu · 2024-10-28 · 3 · #8

Done in https://github.com/manticoresoftware/manticoresearch-go/commit/7423e7070df1bae0a592f9f84e38f06aab7021d3

Nick-S-2018Nick-S-2018 · 2024-10-28

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

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