Questions tagged [amazon-opensearch]
242 questions
0
votes
0 answers
How to dynamically change OpenSearch/ElasticSearch Apache HttpClient5 properties with new Java client?
I am using opensearch-java client to connect to my OpenSearch cluster hosted in AWS. The client uses Apache HttpClient5 Transport to connect to the cluster. This is how my client is setup:
protected OpenSearchAsyncClient createInstance() throws…

Chintan
- 59
- 1
- 2
- 9
0
votes
0 answers
Which reindex option do I use to reindex an index in order to upgrade open search?
I need to update an Amazon open search cluster to a new version. In order to do this, I need to reindex the incompatible indexes
However, there is no information provided in this guide on how to do this.
According to the reindex docs, I can reindex…

Evan Payne
- 131
- 1
- 9
0
votes
0 answers
Issue in using Langchain and Opensearch to query multiple indices at once - Python
I have this Opensearch Vector DB and I maintain multiple indices that start with "index-" (for example index-pdf, index-html). I have indexed sets of documents to each of the indices using Langchain's OpenSearchVectorSearch.from_documents()…

user2966197
- 2,793
- 10
- 45
- 77
0
votes
0 answers
match-phrase-prefix-query-on-an-embedded-text-field
Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):
opensearch: latest (2.7)
opensearch-dashboards: latest
Describe the issue:
I’m trying to execute the below match_phrase_prefix query and I don’t see any results. however, when I run…
0
votes
0 answers
How can we execute two queries with same $context in AppSync
How can I store IP, keyword, and other details from OpenSearch response to DynamoDB using AWS AppSync?
I have a setup involving AWS AppSync with OpenSearch and DynamoDB. My objective is to perform a search operation on the OpenSearch data source and…
0
votes
0 answers
Connect aws elastic search 7.x with spring boot
I tried connecting aws elasticsearch with spring boot through spring-elasticsearch-data and various other libraries but i get invalid bridge or oss flavor error. Any help in connecting them

sandesh a
- 11
- 2
0
votes
0 answers
Issues with ElasticSearch wildcard filter and hyphenated text
I am using ElasticSearch as part of AWS OpenSearch. I am using the AppSync query builder to apply a wildcard: filter on a date field with the format 2023-07-28T16:19:23.196Z. I am interested in returning matches which share the year, date, time…
0
votes
1 answer
Unknown parameter [data_type] on mapper of type [knn_vector]
Based on the documentation, I am trying to create an index with the nested vector field using byte as the underlying data type:
PUT docs_byte
{
"settings" : {
"index" : {
"number_of_shards" : 1,
…

AlwaysLearning
- 7,257
- 4
- 33
- 68
0
votes
1 answer
`index_prefixes` in OpenSearch?
I am very new to the elastic/ opensearch technologies so pardon me if my understanding is inadequate.
I am trying to implement a search feature using OpenSearch where the user can type in any part of the first few characters of an entry to get the…

asten_ark
- 47
- 4
0
votes
0 answers
OpenSearch `search_as_you_type` index_prefix field does not return document with `match` query but does with `match_phrase` query
I have created a mapping in OpenSearch that looks as follows:
"mappings": {
"properties": {
"name": {
"type": "text",
"fields": {
"prefixed_split":{
…

asten_ark
- 47
- 4
0
votes
2 answers
How to avoid code smells (too many if else) where each enum if condition will call different methods which are controlled by the third party library?
(Understanding OpenSearch/ElasticSearch is not important for this question, but the below information provides some context).
I am using the new opensearch-java (version 2.4.0) library to interact with the OpenSearch cluster. I am trying to build…

Chintan
- 59
- 1
- 2
- 9
0
votes
0 answers
Number of concurrent search requests on ElasticSearch cluster
My objective is to calculate 2 things
Q1: how many search requests can a elasticsearch cluster can work on at once
Q2: how many search requests can a elasticsearch cluster hold in it's queue before starting rejecting it (producting 429 - Too many…

Mohit Munjal
- 70
- 9
0
votes
2 answers
Incrementing a string field count in Kibana
In the below query likeCount is a string field, but I need to do a increment operation on it, with the below query, it is doing a concatenation operation instead of increment.
POST /posts/_update/
{
"script" : {
"source":…

Prafulla Kumar Sahu
- 9,321
- 11
- 68
- 105
0
votes
0 answers
How Opensearch Serverless handle shards
I'm currently working on AOSS (AWS OpenSearch Serverless) after working a while on Opensearch (OS)/ Elasticsearch (ES), and I would like to understand how AOSS manage indices shards to be able to prevent errors, behaviours and else..
So, does…

ORaluKa
- 3
- 2
0
votes
0 answers
Alternative approach to Opensearch cross_fields with fuzzyness
I'm trying to find a solution that allows students to search jobs based on a role query.
I've managed to get exactly what I want using cross_fields, but I loose fuzzyness.
Here is my dataset for testing purposes:
POST…

kyuubi
- 23
- 4