Skip to content

Commit ee73196

Browse files
committed
Implement stopwords hex flag
Fixes #732.
1 parent ea0029f commit ee73196

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ This driver uses semantic versioning:
3434

3535
- Added `collection.documents` for fetching multiple documents
3636

37+
- Added missing `hex` flag to `StopwordsAnalyzer` type [#732](https://github.com/arangodb/arangojs/issues/732)
38+
3739
- Added missing `details` flag to `collection.figures` [#728](https://github.com/arangodb/arangojs/issues/728)
3840

3941
- Added support for `fillBlockCache` query option

src/analyzer.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,9 +400,15 @@ export type GeoPointAnalyzer = {
400400
*/
401401
export type StopwordsAnalyzerProperties = {
402402
/**
403-
* Hex-encoded strings that describe the tokens to be discarded.
403+
* Array of strings that describe the tokens to be discarded.
404404
*/
405405
stopwords: string[];
406+
/**
407+
* Whether stopword values should be interpreted as hex-encoded strings.
408+
*
409+
* Default: `false`
410+
*/
411+
hex?: boolean;
406412
};
407413

408414
/**

0 commit comments

Comments
 (0)