@findlane/server 0.29.0 → 0.30.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.cts +7 -1
- package/dist/index.d.ts +7 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -59,6 +59,11 @@ export type IndexSettings = {
|
|
|
59
59
|
rules?: QueryRule[];
|
|
60
60
|
/** Languages whose common words queries drop, and whose plurals and alternative spellings match. */
|
|
61
61
|
languages?: Array<"da" | "de" | "en" | "is" | "no" | "sv">;
|
|
62
|
+
/** Icelandic word forms (0.30.0), with "is" among the languages: a query word of 4+ letters that no word
|
|
63
|
+
* of the index is or begins with also matches the other forms of its word from the BÍN dictionary
|
|
64
|
+
* ("kjólar" finds "Kjóll", "jokerinn" finds "Joker"), and a search that finds nothing tries every word's
|
|
65
|
+
* forms. Searches that find results with the words as typed don't change. Off by default. */
|
|
66
|
+
inflections?: boolean;
|
|
62
67
|
/** Searches say which words typo tolerance corrected, and `suggest()` offers a corrected query for a
|
|
63
68
|
* search that finds nothing. Off by default. */
|
|
64
69
|
didYouMean?: boolean;
|
|
@@ -437,7 +442,8 @@ export type GeoBox = {
|
|
|
437
442
|
west: number;
|
|
438
443
|
};
|
|
439
444
|
/** How a query word matched: as itself, as the start of a longer word, within its typos, through a synonym,
|
|
440
|
-
* as another form of the word in the index's languages (a plural or another spelling
|
|
445
|
+
* as another form of the word in the index's languages (a plural or another spelling, or with `inflections`
|
|
446
|
+
* an Icelandic case or plural), or, with the
|
|
441
447
|
* `compoundWords` setting, as a compound: its parts written apart, or the word it makes with a neighbouring
|
|
442
448
|
* query word. */
|
|
443
449
|
export type MatchKind = "exact" | "prefix" | "typo" | "synonym" | "form" | "compound";
|
package/dist/index.d.ts
CHANGED
|
@@ -59,6 +59,11 @@ export type IndexSettings = {
|
|
|
59
59
|
rules?: QueryRule[];
|
|
60
60
|
/** Languages whose common words queries drop, and whose plurals and alternative spellings match. */
|
|
61
61
|
languages?: Array<"da" | "de" | "en" | "is" | "no" | "sv">;
|
|
62
|
+
/** Icelandic word forms (0.30.0), with "is" among the languages: a query word of 4+ letters that no word
|
|
63
|
+
* of the index is or begins with also matches the other forms of its word from the BÍN dictionary
|
|
64
|
+
* ("kjólar" finds "Kjóll", "jokerinn" finds "Joker"), and a search that finds nothing tries every word's
|
|
65
|
+
* forms. Searches that find results with the words as typed don't change. Off by default. */
|
|
66
|
+
inflections?: boolean;
|
|
62
67
|
/** Searches say which words typo tolerance corrected, and `suggest()` offers a corrected query for a
|
|
63
68
|
* search that finds nothing. Off by default. */
|
|
64
69
|
didYouMean?: boolean;
|
|
@@ -437,7 +442,8 @@ export type GeoBox = {
|
|
|
437
442
|
west: number;
|
|
438
443
|
};
|
|
439
444
|
/** How a query word matched: as itself, as the start of a longer word, within its typos, through a synonym,
|
|
440
|
-
* as another form of the word in the index's languages (a plural or another spelling
|
|
445
|
+
* as another form of the word in the index's languages (a plural or another spelling, or with `inflections`
|
|
446
|
+
* an Icelandic case or plural), or, with the
|
|
441
447
|
* `compoundWords` setting, as a compound: its parts written apart, or the word it makes with a neighbouring
|
|
442
448
|
* query word. */
|
|
443
449
|
export type MatchKind = "exact" | "prefix" | "typo" | "synonym" | "form" | "compound";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@findlane/server",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.30.0",
|
|
4
4
|
"description": "Findlane server SDK: upload catalogs, manage index settings, and search with a secret workspace API key.",
|
|
5
5
|
"keywords": ["findlane", "search", "full-text search", "typo tolerance", "ecommerce search", "search api", "sdk"],
|
|
6
6
|
"license": "MIT",
|