Questions tagged [amazon-opensearch]
242 questions
0
votes
1 answer
Max number of index requests in a elasticsearch cluster
My objective is to calculate how many index requests can a elasticsearch cluster hold in it's queue before starting rejecting it.
My elasticsearch cluster(v6.8) has 8 data nodes of r5.xlarge instance i.e. 4 vCPU's.
In the Elasticsearch documentation…

Mohit Munjal
- 70
- 9
0
votes
0 answers
Amazon OpenSearch: limit data loss when solving unassigned shards
Problem
Say you have an Amazon OpenSearch domain in the red state due to UNASSIGNED shards. The indices in the red state had 2 primaries and no replicas, with one of the two primary shards UNASSIGNED. Backups are not available to restore all indices…

glenacota
- 2,314
- 1
- 11
- 18
0
votes
1 answer
Version of OpenSearch that created the index
I recently upgraded AWS OpenSearch 1.3 to 2.5. All of the indices were created with 1.3 and new indices will be created with 2.5. According to the OpenSearch upgrade guide, nodes and indices are backward-compatible with the previous major version:…

Eric K Yung
- 1,754
- 11
- 10
0
votes
1 answer
OpenSearch/ElasticSearch Equivalent to SQL "CREATE INDEX" to sort while inserting documents
In SQL Databases, can we use the statement "CREATE INDEX" to keep the table sorted by a field after each insert and improve read performance? Can we do the same in OpenSearch/ElasticSearch?

Vitor Figueredo Marques
- 159
- 8
0
votes
0 answers
No secret management encryption keys were provided while launching elasticsearch entreprise search
While I am launching the Elasticsearch Enterprise search an error encountered said that the setting secret_management. encryption_keys is not valid. I have checked the search-enterprise.yml file and I gave to this setting a key encryption, but…

Yassine Afrache
- 21
- 2
0
votes
0 answers
OpenSearch Dashboard: Normalize By Unit - How to achieve this aggregation similar to ELK
I am creating a chart where X axies has time histogram and on Y axies I want to plot different lines per API indicating requests / min hits for that particular API. I created this in ELK using tis technique shown in the attached diagram. But not…

Atul
- 125
- 1
- 2
- 6
0
votes
0 answers
How to do join in Opensearch 2.3 with SQL
This is driving me crazy. I am using Opensearch 2.3 (on a AWS managed domain).
I have 2 indices which looks something like this:
orders
.userId
sessions
.userId
And I want to do the following SQL query:
SELECT COUNT(*) FROM orders JOIN sessions ON…

Sten
- 1,079
- 11
- 25
0
votes
0 answers
How can I mock httpResponse in jest
I need to mock the following opensearch response using jest. I've tried several methods but couldn't find a working method.
export default class OpenSearchHandler {
static async executeOSRequest(
apiPath: string,
httpMethod:…

Ishara Malaviarachchi
- 391
- 6
- 20
0
votes
0 answers
Heroku Django app with AWS OpenSearch (anonymous user is not authorized issue)
I used to have an ElasticSearch Service instance (t2.micro.search) set up to enable a search functionality for an app hosted on Heroku. That old setup was working fine.
I now tried to set up a new instance (t3.small.search) using the same settings…

apiljic
- 527
- 4
- 14
0
votes
1 answer
Problem importing org.opensearch.knn in Java
My question is about correctly using the Java API of opensearch to with with the KNN plugin and make KNN queries in Java. How can I add org.opensearch.plugin:opensearch-knn as a dependency to my Java project and use it?
I’ve added K-NN plugin as…

Alireza Fa
- 131
- 6
0
votes
1 answer
How do you query opensearch data with the javascript opensearch client library?
I am trying to figure out how to do a simple match_all query of aws opensearch using the
@aws-sdk/client-opensearch…

Andy N
- 1,013
- 9
- 25
0
votes
0 answers
AWS OpenSearchException: Request failed: [parse_exception] missing suggestion object
Hej,
I am currently implementing a service which calls an OpenSearch Domain for suggestions but I am currently receiveing the follwing exception:
org.opensearch.client.opensearch._types.OpenSearchException: Request failed: [parse_exception] missing…

pbh
- 1
- 1
0
votes
1 answer
OpenSearch [Elasticsearch] Find documents which exist in text
I'm working with OpenSearch, and I have a large input text that contains several exercise names. I'd like to extract these exercise names from the input text and search for documents that match these names in my OpenSearch index.
The input text can…

Taras Vovk
- 21
- 2
0
votes
0 answers
OpenSearch: aggregate geoshapes into buckets based on distance
I cannot find any working documentation or examples on how to query the data and aggregate the results into buckets based on distance.
Example
I would like to query the data and get back a clustering of geoshapes, given the following data:
[
{
…

studiobrain
- 1,135
- 2
- 13
- 35
0
votes
0 answers
AWS Opensearch/Elasticsearch index size jumped massively when trying to store compressed blob
I am using an AWS Opensearch cluster to store some historical data in indices every day. (An index for each date: 2023.03.24, 2023.03.23 etc..). Each index has 1:1 primary to replica shard ratio, and approx. 10 million records stored per index.…

Stokes
- 58
- 1
- 6