mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2024-12-12 17:36:22 +01:00
Enable unix-like extended search for fuzzy search
This commit is contained in:
parent
f894237a12
commit
d82ed50fa4
@ -1885,6 +1885,7 @@ export function fuzzySearchCharacters(searchValue) {
|
|||||||
],
|
],
|
||||||
includeScore: true,
|
includeScore: true,
|
||||||
ignoreLocation: true,
|
ignoreLocation: true,
|
||||||
|
useExtendedSearch: true,
|
||||||
threshold: 0.2,
|
threshold: 0.2,
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -1913,6 +1914,7 @@ export function fuzzySearchWorldInfo(data, searchValue) {
|
|||||||
],
|
],
|
||||||
includeScore: true,
|
includeScore: true,
|
||||||
ignoreLocation: true,
|
ignoreLocation: true,
|
||||||
|
useExtendedSearch: true,
|
||||||
threshold: 0.2,
|
threshold: 0.2,
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -1937,6 +1939,7 @@ export function fuzzySearchPersonas(data, searchValue) {
|
|||||||
],
|
],
|
||||||
includeScore: true,
|
includeScore: true,
|
||||||
ignoreLocation: true,
|
ignoreLocation: true,
|
||||||
|
useExtendedSearch: true,
|
||||||
threshold: 0.2,
|
threshold: 0.2,
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -1958,6 +1961,7 @@ export function fuzzySearchTags(searchValue) {
|
|||||||
],
|
],
|
||||||
includeScore: true,
|
includeScore: true,
|
||||||
ignoreLocation: true,
|
ignoreLocation: true,
|
||||||
|
useExtendedSearch: true,
|
||||||
threshold: 0.2,
|
threshold: 0.2,
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -1982,6 +1986,7 @@ export function fuzzySearchGroups(searchValue) {
|
|||||||
],
|
],
|
||||||
includeScore: true,
|
includeScore: true,
|
||||||
ignoreLocation: true,
|
ignoreLocation: true,
|
||||||
|
useExtendedSearch: true,
|
||||||
threshold: 0.2,
|
threshold: 0.2,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user