Socket
Socket
Sign inDemoInstall

splainer-search

Package Overview
Dependencies
Maintainers
3
Versions
78
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

splainer-search - npm Package Compare versions

Comparing version 2.20.2 to 2.21.0

7

CHANGELOG.md
Version numbers correspond to `package.json` version. Follows the _major.minor.bugfix_ naming pattern as of 2.8.0.
# 2.21.0 (2023-05-23)
- Urls to documents that have a document id with a `#` character embedded don't pass the id into OpenSearch and Elasticsearch. We now escape that character to fool the browser ;-). https://github.com/o19s/splainer-search/pull/120 by @epugh fixes https://github.com/o19s/splainer-search/issues/119.
- We also fixed a bug in how the urls for Elasticsearch 7+ and OpenSearch are formatted with the `/_doc/[id]` and `/_explain/[id]` pattern. Splainer-search now only properly works with those search engines and above. https://github.com/o19s/splainer-search/pull/120 by @epugh.
# 2.20.2 (2023-04-28)

@@ -4,0 +11,0 @@ - Urls that link to a individual document in OpenSearch and ES7+ have changed to have a `_doc` element in the path. https://github.com/o19s/splainer-search/pull/117 by @mkr fixes https://github.com/o19s/quepid/issues/701.

8

package.json
{
"name": "splainer-search",
"version": "2.20.2",
"version": "2.21.0",
"main": "splainer-search.js",

@@ -9,3 +9,3 @@ "authors": [

],
"description": "Angular JS Solr and Elasticsearch Diagnostic Search Services",
"description": "Angular JS Solr and Elasticsearch and OpenSearch Diagnostic Search Services",
"homepage": "https://github.com/o19s/splainer-search",

@@ -52,7 +52,7 @@ "bugs": {

"grunt-karma": "^4.0.2",
"jasmine-core": "^4.4.0",
"jasmine-core": "^5.0.0",
"karma": "^6.4.0",
"karma-chrome-launcher": "^3.1.1",
"karma-jasmine": "^5.1.0",
"puppeteer": "^19.0.0"
"puppeteer": "^20.3.0"
},

@@ -59,0 +59,0 @@ "engines": {

@@ -6,6 +6,6 @@ [![Build Status](https://travis-ci.org/o19s/splainer-search.svg?branch=master)](https://travis-ci.org/o19s/splainer-search)

Splainer Search is an Angular Solr and Elasticsearch Search library focussed on relevance diagnostics. It's used in the relevancy tuning tools [Quepid](http://quepid.com) and [Splainer](http://splainer.io). Its available for anyone to use (see [license](LICENSE.txt)).
Splainer Search is an Angular Solr and OpenSearch and Elasticsearch Search library focussed on relevance diagnostics. It's used in the relevancy tuning tools [Quepid](http://quepid.com) and [Splainer](http://splainer.io). Its available for anyone to use (see [license](LICENSE.txt)).
Splainer search utilizes a JSONP wrapper for communication with Solr. Elasticsearch communicates clearly with simple HTTP and JSON. All fields are explained and highlighted if requested. A friendly interface is provided to specify the arguments in terms of a Javascript object. See below for basic examples.
Splainer search utilizes a JSONP wrapper for communication with Solr. Elasticsearch and OpenSearch communicate with simple HTTP and JSON via CORS. All fields are explained and highlighted if requested. A friendly interface is provided to specify the arguments in terms of a Javascript object. See below for basic examples.

@@ -43,6 +43,8 @@ ## Basic usage

### Elasticsearch
### Elasticsearch and OpenSearch
Splainer-search also supports ES, using the same API, and passing the query DSL in the same way ES expects it:
__Note: For now, we have a set of `es*.js` files that support both search engines__
Splainer-search supports these search engines, using the same API, and passing the query DSL in the same way ES expects it:
```js

@@ -49,0 +51,0 @@ var searcher = searchSvc.createSearcher(

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc