Questions tagged [opensearch]

Open Search is a document description format for defining an API like interface to execute simple searches on that site. ex: http://example.com/search?q={searchTerms}

Getting started OpenSearch includes a data store and search engine, a visualization and user interface, and a library of plugins you can use to tailor your tools to your requirements. Get started in the way that best suits your team and your environment. To configure your first OpenSearch cluster, you can download the OpenSearch components in a variety of distributions or start with the official Docker Image.

See also: Open Search Sites can declare their Open Search documents inside a <link> tag which browsers can use to download the XML document and present the site specific search to the user. Publishers which support the protocol can implement the following features:

  • Generate RSS and Atom search responses

Clients which implement OpenSearch can provide the following features:

  • Conduct site specific searches by associating a domain to its OSDD URL
  • Generate HTML, Atom and RSS links via autodiscovery

References

931 questions
0
votes
2 answers

Elastic stop analyzer and fuzzy search issue

I have index and data described here, and also I have set analyzer to stop analyzer. That works fine, because when I try simple search like POST https://serverURL/_search?pretty=true { "query": { "query_string": { "default_field":…
0
votes
0 answers

How to connect Amazon OpenSearch docker image to Streamlit Python application docker image?

I have been able to create a python application that connects to Amazon OpenSearch using the python OpenSearch library and the necessary credentials to sign in to the OpenSearch API. Python Code to connect to OpenSearch Client: import streamlit as…
0
votes
1 answer

Default Normalizer of elasticsearch that can be applied to all keyword fileds without explicitly mapping

I have created a custom normalizer and custom analyzer with the name 'default' as part of my index template. I can see default analyzer is getting applied to all the fields automatically but the normalizer is not. Is there any other way that i can…
0
votes
1 answer

Java::JavaLang::IllegalStateException` for `PipelineAction::Create

I've been trying to run a very simple SQL query from logstash.yml file and making a query to AWS opensearch. logstash.yml file: input { jdbc { jdbc_connection_string =>…
0
votes
1 answer

ElasticSearch : constant_score query vs function_score query

I recently upgraded my ElasticSearch version from version 5.3 to version 5.6 "query" : { "constant_score" : { "query" : { "bool" : { "must" : { "terms" : { "customerId" : [ "ASERFE",…
0
votes
2 answers

Opensearch - best practice for indexing

I have ~1 TB of old apache log data I would like to index in Opensearch. Logs are per day and structured like: s3://bucket/logdata/year/year_month_day.json.gz I plan to use logstash for the ingest and wonder the best way to index(es) to get…
0
votes
1 answer

Give access Lambda to Opensearch [IAM & Configure domain level access policy]

I need your help with right policy. I am using ACloud Guru AWS Sandbox and i am trying to use elasticsearch lib for python code run on lambda. But for Opensearch only "configure domain level access policy" is possible to use. I opened access for my…
0
votes
1 answer

ElasticSearch autocomplete/suggest by token

I want to create search suggestions based on the tokens (and not full documents) that are present in my index. For example: I have a simple index for movies in which I have these two documents: {"name":"Captain America"} {"name":"American…
Abhinav
  • 403
  • 4
  • 16
0
votes
0 answers

AWS Full-Text Search with Elastic: Invalid endpoint provided for external service query

Currently I'm playing with AWS ElasticSearch (OpenSearch) on top of AWS Neptune. They are classically integrated through Neptune streams. When I'm trying to execute Gremlin query: t.withSideEffect("Neptune#fts.endpoint",…
0
votes
1 answer

Axios request to Opensearch/Elasticsearch

Currently able to GET and POST to my collection but need the ability for more complicated queries, I am using bodybuilder to structure the request and axios as my client. However using POST doesn't return my specified results instead just the first…
0
votes
0 answers

Is there a way to send data from logstash to opensearch using data_stream?

When I try to use data_stream in logstash output pipeline, it gives below error. [ERROR][logstash.outputs.opensearch] Unknown setting 'data_stream' for opensearch
0
votes
1 answer

Sort by long numbers, longer than Long data type

I have got numbers such as the following 14943946763064166065064222914309811179884629895193213215294437936375446976774 I want to sort by numbers of the same length, I have tried Long and Keyword mapping types but nothing worked.
mnaa
  • 416
  • 4
  • 12
0
votes
1 answer

How to enable password based authentication for AWS Opensearch Domain?

I have elastic-search domain placed inside a VPC. I am able to connect to the domain from VPC with no issues. But for more security, I want authentication to be username:password based. I am using using elasticsearch-dsl to make the connection. Any…
Pramay Nikhade
  • 25
  • 1
  • 10
0
votes
1 answer

Async connection to AWS elasticsearch

I am struggling to connect to AWS elasticsearch with async connection. Regular sync connection works fine: from requests_aws4auth import AWS4Auth from elasticsearch import Elasticsearch, RequestsHttpConnection AWS_ACCESS_KEY_ID =…
RKO
  • 120
  • 9
0
votes
1 answer

How to update nested numeric field value in Elasticsearch/ AWS Opensearch?

I am not too familiar with ES, so perhaps I am making some mistakes. I have an index users with the following mapping. { "mappings":{ "dynamic":false, "properties":{ "id":{ "type":"keyword" }, …
sgck
  • 141
  • 1
  • 9