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

35 results 12 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

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

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

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

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

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

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

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

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

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

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

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

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

Generate Go client

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

est::size_L

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

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

create field can't insert

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

@zhangstar-hub ^

sanikolaevsanikolaev · 2024-10-31

Make a specification

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

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

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

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

Facet over histogram

arrayindex-devarrayindex-dev · 2024-12-19 · 1 · #12

@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

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

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

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

Make a specification

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

The base class in the php version is Client. There are several things expected: the client should be able to allow use different http drivers - either some wrapper around built-in http function or a library. The php version has a built-in wrapper around …

adriannutaadriannuta · 2020-04-16

Make a specification

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

Not actual. We are going to auto-generate it similarly to the other clients.

sanikolaevsanikolaev · 2024-01-09

Generate Go client

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

est::size_L

What's left: cherry-pick the documentation update to the master inform Gloria about the new client, so she can proceed with marketing "Go API client for openapi" - rename "WARNING: this is a development version of the client. The latest release's readme …

sanikolaevsanikolaev · 2024-02-07