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

45 results 19 ms in manticoresoftware/manticoresearch-javascript

Security warning from Depandabot

There's a security warning from Depandabot https://github.com/manticoresoftware/openapi/security/dependabot/47 concerning the client. But we cannot apply the suggested change since json-bigint:1.0.0 doesn't work with our client correctly. We need to check …

Nick-S-2018Nick-S-2018 · 2025-04-02 · 1 · #21

est::size_S

How to use it in React?

nw-engineernw-engineer · 2023-07-12 · 1 · #16

Hello, Unfortunately, you cannot use this client with React, as it is. You would need to generate a separate ts client with the OpenAPI generator. Here is its Github repo We welcome cooperation, so if you're interested in the subject, you can generate and …

Nick-S-2018Nick-S-2018 · 2023-07-12

UtilsApi sql issues with multiple queries

When I run this query I get the results as expected. SELECT id, content_type, content_id, title, type FROM main WHERE MATCH('text') limit 500; show meta; But when I run this SELECT id, content_type, content_id, title, type FROM main WHERE MATCH('text') …

marz0405marz0405 · 2025-04-17 · 5 · #23

Always getting total = 0 when making a UtilsApi query

mitchdowneymitchdowney · 2022-03-25 · 1 · #11

➤ Nick Sergeev commented: No, the query is ok. This problem did exist in Manticore 4.2.0, irrespective of client. It's fixed now in 4.2.1 (dev version) so you can use it to avoid the issue.

githubmanticoregithubmanticore · 2022-03-25

1👍1

Compatibility issue with the other official client libraries

Hello! I've recently moved from PHP to node.js. I have never used manticoresearch on the production however, it'll definitely be my main search database after a long research. My first impression was very promising with the PHP client. But I see the …

mustafa519mustafa519 · 2024-02-08 · 2 · #19

waiting

How to set the manticoresearch server?

DreamystifyDreamystify · 2021-04-26 · 5 · #9

Added in Readme.md at 63444738633e8d73e07cfa5bdeedd8b7c252ec2d

adriannutaadriannuta · 2020-11-24

Typings

Hello Can you please add typescript typings for this library? Thank you!

TomMettamTomMettam · 2024-02-08 · 1 · #20

waiting

Transaction in SQL over HTTP?

UtfCubeUtfCube · 2022-08-28 · 5 · #14

➤ Nick Sergeev commented: We've added the requestAgent option information to the client's README

githubmanticoregithubmanticore · 2022-08-28

Preventing SQL injection - How to securely pass in user input for the match query using the utilsApi?

mitchdowneymitchdowney · 2022-03-31 · 2 · #12

➤ Nick Sergeev commented: As of now, Manticore doesn't support parametrized queries, so, to ensure safe user input, you've got to use query escaping in your JS app before calling SearchApi.sql method.

githubmanticoregithubmanticore · 2022-03-31

Preventing SQL injection - How to securely pass in user input for the match query using the utilsApi?

mitchdowneymitchdowney · 2022-03-31 · 2 · #12

@githubmanticore ok thank you. I ended up using https://www.npmjs.com/package/sqlstring with our SearchApi.sql queries.

mitchdowneymitchdowney · 2022-03-31

SearchResponse and SearchResponseHits do not reflect actual return keys

LamarckeLamarcke · 2023-12-06 · 3 · #18

Thanks for noticing this. We'll need to review the code style. BTW have you considered using the typescript client we added recently?

sanikolaevsanikolaev · 2023-10-16

SearchResponse and SearchResponseHits do not reflect actual return keys

LamarckeLamarcke · 2023-12-06 · 3 · #18

Thanks for noticing this. We'll need to review the code style. BTW have you considered using the typescript client we added recently? Wow, i honestly didn't know about that! Great work! It's not listed in the main Manticore page, so i didn't know about it …

LamarckeLamarcke · 2023-10-16

Not possible to replace/update: "Document ids should be integer"

DattayaDattaya · 2024-05-09 · 7 · #17

1👍1

bugest::size_S

…Hi id that searchApi.search returned - '3316996940775817220' (auto-generated on insert) Manticore shouldn't auto-generate negative IDs. How can I reproduce this?

sanikolaevsanikolaev · 2023-10-06

Not possible to replace/update: "Document ids should be integer"

DattayaDattaya · 2024-05-09 · 7 · #17

1👍1

bugest::size_S

Sorry if I wasn't clear enough, but it's a hyphen, not a negative number.

DattayaDattaya · 2023-10-06

Not possible to replace/update: "Document ids should be integer"

DattayaDattaya · 2024-05-09 · 7 · #17

1👍1

bugest::size_S

Wrt to implementation, one way to do it would be to return BigInts from queries (they’re safe to use, because 64 bit integers are supported since Node 10.5) instead of strings and then serialize those fields with a custom JSON stringifier like json-bigint …

DattayaDattaya · 2023-10-13

1👍1

Not possible to replace/update: "Document ids should be integer"

DattayaDattaya · 2024-05-09 · 7 · #17

1👍1

bugest::size_S

Certain IDs being unusable in the insertion APIs bit me as well recently, since it essentially breaks any kind of search + modify behavior you might want. The workaround I ended up using was to just "serialize" the JSON and call the underlying API myself: …

duk-37duk-37 · 2023-11-30

1👍1

Not possible to replace/update: "Document ids should be integer"

DattayaDattaya · 2024-05-09 · 7 · #17

1👍1

bugest::size_S

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

Nick-S-2018Nick-S-2018 · 2024-04-29

Not possible to replace/update: "Document ids should be integer"

DattayaDattaya · 2024-05-09 · 7 · #17

1👍1

bugest::size_S

Once this issue is done, let's do this as well https://github.com/manticoresoftware/manticoresearch-typescript/issues/9

sanikolaevsanikolaev · 2024-04-30

Not possible to replace/update: "Document ids should be integer"

DattayaDattaya · 2024-05-09 · 7 · #17

1👍1

bugest::size_S

Done in https://github.com/manticoresoftware/manticoresearch-javascript/commit/974d1ddd4ca0f35ab053b5bece9951e35d261f83

Nick-S-2018Nick-S-2018 · 2024-05-09

1🎉1

Incorrent behavior of JSON.parse for id

egorkazantsevegorkazantsev · 2022-05-10 · 2 · #13

BTW it also fails in JQ version 1.6 (latest at the moment): ➜ ~ echo '{"id": 8216118575463666095}'|jq . { "id": 8216118575463666000 }…

sanikolaevsanikolaev · 2022-04-25

Incorrent behavior of JSON.parse for id

egorkazantsevegorkazantsev · 2022-05-10 · 2 · #13

➤ Nick Sergeev commented: As this issue relates to the basic constraint of Javascript's number type ( Number.MAX_SAFE_INTEGER = 9007199254740991 ), we now handle it by converting such data to string when parsing JSON response.

githubmanticoregithubmanticore · 2022-05-04

How to set the manticoresearch server?

DreamystifyDreamystify · 2021-04-26 · 5 · #9

@tomatolog https://github.com/manticoresoftware/manticoresearch-javascript/pull/10

dimuska139dimuska139 · 2021-04-26

How to set the manticoresearch server?

DreamystifyDreamystify · 2021-04-26 · 5 · #9

@adriannuta code example of current README version ("A simple search case") is incorrect because of client variable is undefined.

dimuska139dimuska139 · 2021-04-24

How to set the manticoresearch server?

DreamystifyDreamystify · 2021-04-26 · 5 · #9

could you create PR with correct example?

tomatologtomatolog · 2021-04-24