1,119 questions
1
vote
0
answers
36
views
Not able to delete index from Amazon OpenSearch Serverless
As the title mentions, I am not able to delete an Amazon OpenSearch Serverless index from a collection. I have a collection with 9 indexes within it, I don't want to delete the entire collection, only ...
0
votes
1
answer
240
views
Migrate Elasticsearch code to OpenSearch multi request search [closed]
I have this code:
import org.elasticsearch.ElasticsearchException;
import org.elasticsearch.action.ActionListener;
import org.elasticsearch.action.DocWriteResponse.Result;
import org.elasticsearch....
1
vote
0
answers
32
views
Fluent Bit v4.1.1 – ${tag[1]} variable not set when dynamically naming OpenSearch index
Issue:
I’m using Fluent Bit v4.1.1 to send Docker container logs to OpenSearch.
I want to dynamically extract the project name (e.g., test-project) from the log file path /logs/test-project/... using ...
0
votes
1
answer
87
views
OpenSearch get top n results by keyword field (OpenSearch 3.1)
I have a few OpenSearch indicies (running OpenSearch 3.1 on AWS) and each index has a type_slug field that tells the application what kind of object it is. I would like to get the top 5 results for ...
2
votes
1
answer
146
views
Elastic should not split few words by space during analysis
I don't want to split few words during analysis and should be searched as is in match query.
Ex: "Sales Play" should be treated as is and when search string contains "sales" then ...
0
votes
0
answers
103
views
Opensearch Unauthorised Issue
I am using AWS OpenSearch with fine-grained access control enabled. Initially, I was able to log in to the OpenSearch dashboard using my master username and password, and everything was working ...
1
vote
0
answers
54
views
Why is Elasticsearch mapping my non-date string "24.." to type date?
I’m running a fresh Elasticsearch instance with default config to evaluate dynamic mapping. However, I encountered an unexpected behavior - a field containing an obviously non-date string is being ...
0
votes
0
answers
52
views
OpenSearch PHP Client: 404 Error on Document Insertion in Production instance (Serverless)
Problem
I'm experiencing a 404 NotFoundHttpException when trying to insert documents into an OpenSearch products index using the opensearch-project/opensearch-php client in a Laravel application, but ...
0
votes
1
answer
73
views
How to add index in AWS OpenSearch using API?
I want to use AWS OpenSearch to add documents to it which I want to search later ( document content).
Here is the sample json document
{
"id": "123",
"content" : &...
0
votes
0
answers
23
views
Should nested properties in OpenSearch documents have IDs?
I am working to copy data from a MySQL database to OpenSearch on AWS, to provide free-text search. The MySQL database has a standard architecture - see below.
I understand from this I will need to ...
0
votes
0
answers
27
views
How to apply date range at list type of dates?
I wanted to get opensearch query result with two dates compare but the two dates have in list type of field which name is "time"
Here is bellow is mapping for this field
{
"properties&...
0
votes
0
answers
44
views
OpenSearch: [security_exception] authentication/authorization failure
I have spring boot app deployed to AWS EKS, and an OpenSearch server on AWS, I'm getting this error when the java code below gets executed:
OpenSearch server:
Managed opensearch cluster,
version: 2.11,...
1
vote
1
answer
46
views
Is there any way to get the total number of children in a has_child query?
I have an OpenSearch query that includes a has_child query such as:
GET index-name/_search
{
"from": 0,
"size": 25,
"track_total_hits": true,
"query": {
...
0
votes
0
answers
51
views
Re-index open search and open search capacity to ingest new data
Recently, I joined a new project. In this project, we use a lot OpenSearch. There are 2 things the previous developers did that sound wrong to me.
The developer created a way to re-index the ...
0
votes
1
answer
96
views
OpenSearch query slow performance for 1M data
I wanted to get 1M data from openSearch index, but query returning response which taking upto 4Seconds. Here below is my code
GET products/_search
{
"query": {
"bool&...
1
vote
0
answers
33
views
Filtering out paths of one name from another with an identical name + wildcard in OpenSearch DQL
I'm finding endpoint paths within logs and I've entered a small rut.
I want to find the number of occurrences that a field named log has showed up with a range of time that contains the endpoint call &...
0
votes
0
answers
58
views
Finding duplicate probabilities in news messages
I need to build a script which reads a file containing news articles. The file is in JSON format and contains, and fields. The text of the header and body fields will not be 100% equal, so I need a ...
0
votes
1
answer
322
views
How to search for [ using Dashboards Query Language
I'm trying to find a field with content including "Provided Hash [0"
I'm using DQL on the OpenSearch Dashboard to attempt this query.
The field I'm searching on is called "message"
...
0
votes
2
answers
843
views
How to add S3 bucket objects metadata into bedrock knowledgebase?
I am using AWS bedrock for the first time. I have configured the data source which is S3 along with opensearch serverless cluster for embeddings. However, I do not have any control over the mappings ...
0
votes
0
answers
30
views
OpenSearch: boolean with vector and full text
I am trying to combine a full text search and a vector search together in OpenSearch. When I run this:
{
"multi_match": {
"query": "generic search term"
}
...
0
votes
1
answer
42
views
How to specify "output_format" when create ingest pipeline with DateProcessor using opensearch-java client
Our use case is like this: client will send json containing a field:
{
"start_time": "2025-03-12T01:33:45.377Z",
...
}
We need to convert or parse this start_time field to ...
0
votes
1
answer
45
views
Fuzzy matching domain while ignoring TLD
I have an index with a domain field that stores, for example:
domain: "google.com"
What I would like to do is tell ES: "Ignore the TLD, and run a fuzzy match on the remaining part&...
0
votes
0
answers
136
views
Create mappings for an opensearch index with cdk
I have been trying to add OpenSearch Serverless to my CDK (I use ts). But when I try to create a mapping for an index it fails.
Here is the mapping CDK code:
const indexMapping = {
...
0
votes
1
answer
270
views
Is it possible to use filtering with hybrid queries?
I went through the documentation for hybrid search and set up a search pipeline at the cluster level. I'm trying to get hybrid search to work but am facing some difficulty.
The problem is that my ...
0
votes
1
answer
149
views
Upgrading OpenSearch cluster on aws from Elasticsearch 6.8 OSS to OpenSearch 1.3 and 2.17
I’m managing AWS OpenSearch cluster with indexes created in Elasticsearch 6.8 OSS which I successfully manage to reindex to OpenSearch 1.3 and 2.17 compatible versions.
When I run eligibility check ...