Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

elastic-dsl-typescript

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

elastic-dsl-typescript - npm Package Compare versions

Comparing version 1.5.0 to 1.6.0

4

CHANGELOG.md

@@ -1,2 +0,2 @@

# [1.5.0](https://github.com/Blynskyniki/elastic-query-builder/compare/v1.4.0...v1.5.0) (2022-12-02)
# [1.6.0](https://github.com/Blynskyniki/elastic-query-builder/compare/v1.5.0...v1.6.0) (2022-12-08)

@@ -6,2 +6,2 @@

* test publish ([ea1fdb9](https://github.com/Blynskyniki/elastic-query-builder/commit/ea1fdb9e7e496fb26a45875576af59c8ba1babda))
* add text options ([26b3333](https://github.com/Blynskyniki/elastic-query-builder/commit/26b3333d322015ba01b4cb5821f5e24b65f81287))
import { Schema } from '../../Abstract/Schema';
import { AllowLeadingWildcard, Analyzer, AnalyzeWildcard, AutoGenerateSynonymsPhraseQuery, Boost, CaseInsensitive, DefaultField, Fuzziness, FuzzyPrefixLength, FuzzyTranspositions, Lenient, MaxExpansions, MinimumShouldMatch, Operator, PrefixLength, Rewrite, ZeroTermsQuery } from '../../Types/QueryOptions';
import { AllowLeadingWildcard, Analyzer, AnalyzeWildcard, AutoGenerateSynonymsPhraseQuery, Boost, CaseInsensitive, DefaultField, Fields, Fuzziness, FuzzyPrefixLength, FuzzyTranspositions, Lenient, MaxExpansions, MinimumShouldMatch, Operator, PrefixLength, Rewrite, ZeroTermsQuery } from '../../Types/QueryOptions';
/**

@@ -22,3 +22,3 @@ * Base fulltext search builder shema

};
opts?: Fuzziness & MaxExpansions & PrefixLength & MinimumShouldMatch & FuzzyTranspositions & Lenient & Operator & Analyzer & ZeroTermsQuery & AutoGenerateSynonymsPhraseQuery;
opts?: Fuzziness & Boost & MaxExpansions & PrefixLength & MinimumShouldMatch & FuzzyTranspositions & Lenient & Operator & Analyzer & ZeroTermsQuery & AutoGenerateSynonymsPhraseQuery;
};

@@ -30,4 +30,23 @@ match_phrase: {

};
opts?: ZeroTermsQuery | Analyzer;
opts?: ZeroTermsQuery | (Analyzer & Boost);
};
/**
* The simple_query_string query supports the following operators:
*
* + signifies AND operation
* | signifies OR operation
* - negates a single token
* " wraps a number of tokens to signify a phrase for searching
* * at the end of a term signifies a prefix query
* ( and ) signify precedence
* ~N after a word signifies edit distance (fuzziness)
* ~N after a phrase signifies slop amount
* To use one of these characters literally, escape it with a preceding backslash (\).
*/
simple_query_string: {
params: {
query: string;
};
opts?: AllowLeadingWildcard & AutoGenerateSynonymsPhraseQuery & Boost & Fields & Operator & Analyzer & DefaultField & MinimumShouldMatch & AnalyzeWildcard & FuzzyTranspositions & FuzzyPrefixLength & Lenient;
};
query_string: {

@@ -44,3 +63,3 @@ params: {

};
opts?: Operator & AutoGenerateSynonymsPhraseQuery & MinimumShouldMatch & ZeroTermsQuery;
opts?: Operator & AutoGenerateSynonymsPhraseQuery & MinimumShouldMatch & ZeroTermsQuery & Boost;
};

@@ -47,0 +66,0 @@ wildcard: {

@@ -157,1 +157,9 @@ export interface Boost {

}
export interface Fields {
/**
* (Optional, array of strings) Array of fields you wish to search.
* This field accepts wildcard expressions. You also can boost relevance scores for matches to particular fields using a caret (^) notation. See Wildcards and per-field boosts in the fields parameter for examples.
* Defaults to the index.query.default_field index setting, which has a default value of *. The * value extracts all fields that are eligible to term queries and filters the metadata fields. All extracted fields are then combined to build a query if no prefix is specified.
*/
fields?: string[];
}
{
"name": "elastic-dsl-typescript",
"version": "1.5.0",
"version": "1.6.0",
"description": "Node.js ElasticSearch search query builder",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

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