All Questions
Tagged with opensearch javascript
14 questions
0
votes
0
answers
14
views
How to store and view full historical alert events in OpenSearch alerting?
I want to display historical alert data (like timestamps, severity, action details) on a dashboard — showing how many times a rule was triggered over a time range (e.g., line/bar chart of alert ...
0
votes
0
answers
35
views
Frequently updated data in MongoDB is not visible in Open Search via Monstache syncing
I have mongodb database for storing all the data, from few collections I'm syncing MongoDB database data to AWS Open Search via Monstache Plugin. For normal case working fine but when some of my ...
0
votes
0
answers
19
views
React JS TypeError: I6 in not a constructor
I'm new to React and Javascript. Following is a working code snippet.
import Data from '/src/assets/data/data.json';
export function DataRetriever(param) {
if (param == 'filter-param') {
/...
1
vote
1
answer
3k
views
How to connect AWS OpenSearch Serverless to Lambda to inject data?
I'm trying to do a PUT request to upload data to a collection I have created. However, I'm getting a '403' error; 'User does not have permissions for the requested resource'.
I believe I have granted ...
0
votes
1
answer
30
views
How can I make my Javascript .map functions more efficient?
I'm currently returning a large set of data from AWS OpenSearch into an array called eventList. Each event within the array has the following structure:
{
_source: {
"key": value
&...
0
votes
1
answer
2k
views
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 ...
1
vote
1
answer
205
views
When using Wikipedia's opensearch api, the hashtag symbol will not populate the datalist. Why?
$.ajax({
url: "https://en.wikipedia.org/w/api.php",
dataType: "jsonp",
data: {
'action': "opensearch",
'format': "json",
'search': search
},
success: ...
0
votes
1
answer
828
views
How do I get the value of the <opensearch:totalResults> from an xml doc tag in Javascript?
I am successfully parsing an xml document in javascript, having read it in via an XMLHttpRequest
I now want to grab one additional piece of info. The feed I'm reading contains this tag
<opensearch:...
0
votes
2
answers
385
views
How to make firefox mobile detect search engine?
I've writen a simple webpage that have a search box. I'd like Firefox be able to auto detect it and give user the option to add it as a search engine. I've added the OpenSearch file. Firefox desktop ...
2
votes
0
answers
167
views
How to call browser function with URL/URI local to the client?
I want to call a browser function, e.g. AddSearchProvider(engineURL), which requires an URL to a XML-file. However, I want the user to generate the content of the XML-file himself, thus I want to call ...
0
votes
1
answer
706
views
Serving an OpenSearch `application/x-suggestions+json` through a service worker
Been trying in Chrome to get my application/x-suggestions+json file get recognized when it's served through a service worker, but no matter what I do it seems to just totally bypass it. Am I missing ...
3
votes
3
answers
3k
views
Firefox says could not download the search plugin from
Backstory:
I'm trying to dynamically generate an OpenSearch search plugin for Firefox based on user entered values as part of a larger add-on. I'm not including the forms and cruft surrounding it, ...
4
votes
0
answers
479
views
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 ...
0
votes
1
answer
178
views
How can I have Chrome not escape search terms when searching from the Omnibar? [closed]
Currently Chrome navigates to http://site.com/#!/search/search%20terms when searching directly from the Omnibar. Is there a way to have it navigate to http://site.com/#!/search/search terms instead? (...