All Questions
Tagged with opensearch node.js
20 questions
0
votes
0
answers
102
views
OpenSearch/AWS: facing random timeout while querying data from OpenSearch cluster through api service
Using OpenSearch: 2.12.0, connecting through @opensearch-project/opensearch client library from Node.js api service.
Facing high frequency(50-60%) of timeout errors randomly, which are not flowing to ...
0
votes
0
answers
113
views
AWS Opensearch request signature matching issue
Cretaed an AWS Opensearch and lambda in a single VPC. And inside the lambda I have the given code. When I try to invoke the lambda it shows the given error.
I don't know how the signature works.
Error ...
1
vote
1
answer
3k
views
How to connect AWS OpenSearch Serverless to Lambda to inject data?
I'm trying to do a PUT request to upload data to a collection I have created. However, I'm getting a '403' error; 'User does not have permissions for the requested resource'.
I believe I have granted ...
-1
votes
2
answers
908
views
AI-powered Elastic search alternative, for small project?
I am developing a job board using NodeJs and it currently has around 1,000 items. However, I am facing an issue with deploying it on a 1GB RAM VPS as it cannot run Elastic Search on it. Therefore, I ...
0
votes
1
answer
138
views
Not getting specific search result on 'query_string' ElasticSearch
The following company details are indexed in my elastic search
[{
"_index": "test_company",
"_type": "_doc",
"_id": "9303000d-b167-...
1
vote
1
answer
98
views
Bad gateway from Kibana behind nodejs reverse proxys
I have a kibana instance behind a nodejs 16.x aws lambda reverse proxy. It works fine for almost everything, except for the "Discover" section when I add 2 or more filters for 2+ months ...
0
votes
1
answer
269
views
elasticsearch doesn't find results when searching the exact term
I am using the elasticsearch module in my nodejs app to query my index using fuzzy completion. The text I'm trying to search is Rome–Fiumicino Leonardo da Vinci International Airport. when searching ...
1
vote
2
answers
3k
views
How to use aws-sdk-v3 to search in opensearch with nodejs
I have a nodejs lambda function that needs to search into an opensearch DB. I want to use the aws-sdk-v3. I found the doc here for OpenSearchClient:
https://github.com/aws/aws-sdk-js-v3/tree/...
2
votes
0
answers
973
views
AWS opensearch bulk insert with Nodejs http module
I have a certain scenario, like I need to do a bulk insert into AWS opensearch. From the AWS opensearch documentation, found that the request body is in the for for ndjson(newline delimited json). In ...
0
votes
1
answer
924
views
Error in signer.addAuthorization(credentials, new Date()) while signing opensearch request in Nodejs Lambda
I'm uploading document to AWS Openseach using AWS Lambda.
Here's my code, I'm first getting credentials from AWS using EnvironmentCredentials and then passing it to AWS.Signers.V4().addAuthorization() ...
4
votes
0
answers
878
views
ddbstreams to opensearch via NodeJS lambda
Wanted to sync up the AWS Opensearch with DynamoDB table data.
I'm triggering my Lambda function via dynamodb streams and wanted to save it in AWS Opensearch via AWS Lambda. I wanted to do it in ...
4
votes
1
answer
6k
views
which nodejs library is for AWS opensearch client?
I am planning to use opensearch hosted by AWS. I found there are two libraries @aws-sdk/client-opensearch and @opensearch-project/opensearch. I wonder which one I should use. Are there meant to be ...
1
vote
1
answer
4k
views
Elastic search sort error - search_phase_execution_exception
I am facing an issue with sorting values in an elastic search query. I am doing a simple search with sort but getting the following error. The query works without a sort parameter.
Elastic search ...
0
votes
1
answer
2k
views
Elasticsearch error "The client noticed that the server is not Elasticsearch and we do not support this unknown product"
I set up an elastic search instance in my local server using the OpenSearch docker image.
$ docker run -p 9200:9200 -p 9600:9600 -e "discovery.type=single-node" opensearchproject/opensearch:...
0
votes
1
answer
929
views
How to make an asynchronous search (client call) to AWS Elasticsearch (7.10) over ESDomain host
Asynchronous Search is available in AWS Elasticsearch starting with version: 7.10. According to the documentation operation /_opendistro/_asynchronous_search
is supported. However, is there a ...