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
4
votes
0 answers

How to sign requests using opensearch-js?

I need to sign requests to Opensearch. I'm attempting to use opensearch-js and aws-es-connection to do that. import { createAWSConnection, awsGetCredentials, } from '@acuris/aws-es-connection'; import { Client } from…
conner.xyz
  • 6,273
  • 8
  • 39
  • 65
4
votes
2 answers

AWS OpenSearch client error: unable to verify that the server is Elasticsearch

I am trying to write a lambda to get data from OpenSearach domain. const { Client } = require('@opensearch-project/opensearch'); const { createAWSConnection, awsGetCredentials } = require('@acuris/aws-es-connection'); const test = async () => { …
kumarahul
  • 396
  • 4
  • 10
4
votes
1 answer

Is it possible to have a relative path in a Search Plugin XML? (OpenSearch)

I have an Open Search XML for a web app that looks something like this: AppName Search App
Newbyte
  • 2,421
  • 5
  • 22
  • 45
4
votes
3 answers

Confused about namespaces in Atom feed

Is there any difference between 1000 and 1000 I'm using the SyndicationFeed class in .NET to generate an Atom feed, and I need to add some elements…
Jagd
  • 7,169
  • 22
  • 74
  • 107
4
votes
0 answers

OpenSearch javascript methods

It seems only Chrome supports IsSearchProviderInstalled method. IE8+ and Firefox always return 0. Is there any reason for deprecating IsSearchProviderInstalled method in IE8+? Is there any alternative? I want to remove add button if my search…
Handsome Nerd
  • 17,114
  • 22
  • 95
  • 173
4
votes
1 answer

OpenSearch not working in Firefox: "Firefox could not download the search plugin from"

While testing to ensure OpenSearch works for my site I receive the error, "Firefox could not download the search plugin from:" after clicking the search provider to add it to Firefox. Here is the source for my OpenSearch looks like...
John
  • 1
  • 13
  • 98
  • 177
3
votes
2 answers

Does AWS Opensearch Support ML Commons Library?

I'm trying to run a simple code example to train and predict a ML algorithm using the Opensearch ML Commons plugin on a AWS managed Opensearch cluster. The cluster is on OS version 2.5, which definitely supports the plugin. The code example can be…
3
votes
1 answer

How to use secure configuration of dockerized OpenSearch?

I have a dedicated server with running OpenSearch in Docker. I'm using example configuration without dashboard: version: '3' services: opensearch-node1: # This is also the hostname of the container within the Docker network (i.e.…
3
votes
2 answers

how to create an opensearch index in CDK?

am trying to create an opensearch index in CDK, I've tried the below const indexName = "my-index"; // Load the settings from a JSON file const settingsFilePath = "./settings.json"; const settings =…
Exorcismus
  • 2,243
  • 1
  • 35
  • 68
3
votes
0 answers

aws opensearch restore manual snapshot to different cluster

Is there a way to copy an aws opensearch manual snapshot to a different s3 bucket and restore it to a different cluster? I have tf deployment that installs aws opensearch cluster with manual snapshots pointing to s3 configured. These work and i can…
Staggerlee011
  • 847
  • 2
  • 13
  • 23
3
votes
1 answer

Incompatible OpenSearch 1.3 connector for Spark 3.x

We used to have Spark 2.4.4, Scala 2.11 and Elastic Search 6.8 in our servers. Our servers were recently upgraded and Spark was upgraded to 3.1.2 and Scala to 2.12. We were getting the below error when writing records to Elastic Search. So we…
3
votes
1 answer

What does "Matches restricted index pattern defined in the cluster setting mean?

I am trying to apply a policy to an index in OpenSearch POST _opendistro/_ism/add/.kibana_1 { "policy_id": "test" } .kibana_1 is an index that automatically got created even though I am not using Kibana. I wanted to write an auto delete policy…
Jibz
  • 31
  • 3
3
votes
0 answers

Embed opensearch dashboards without login page

I'm trying to iframe opensearch dashboards in my website. Unfortunately when I add the iframe I am always landing on the login page rather then going directly to the dashboard itself. With elastic i can enable anonymous users but with opensearch i…
3
votes
0 answers

OpenSearch Java Client: class org.glassfish.json.JsonProviderImpl cannot be cast to class jakarta.json.spi.JsonProvider

I am migrating from OpenSearch Java High Level REST Client v.2.2.1 to Java Client v.2.2.1. The logic that I am rewriting builds filters values by concurrently issuing search aggregation requests to OpenSearch. For instance, filter Organization Name…
Hutsul
  • 1,535
  • 4
  • 31
  • 51
3
votes
3 answers

How to formulate an and condition for a nested object in Opensearch?

Opensearch ingests documents similar to this example (its just a minimal example): PUT nested_test/_doc/4 { "log": "This is a fourth log message", "function": "4 test function", "related_objects": [ { "type": "user", "id": "10" }, …
Daniel
  • 1,398
  • 4
  • 20
  • 47
1 2
3
61 62