Fix search for mentions
Change version
This commit is contained in:
parent
de2e0e3bbc
commit
fee808d2a8
@ -12,7 +12,7 @@
|
|||||||
const App = {
|
const App = {
|
||||||
id: 1025907,
|
id: 1025907,
|
||||||
hash: '452b0359b988148995f22ff0f4229750',
|
hash: '452b0359b988148995f22ff0f4229750',
|
||||||
version: '0.5.6',
|
version: '0.5.7',
|
||||||
langPackVersion: '0.2.3',
|
langPackVersion: '0.2.3',
|
||||||
langPack: 'macos',
|
langPack: 'macos',
|
||||||
langPackCode: 'en',
|
langPackCode: 'en',
|
||||||
|
@ -14,7 +14,8 @@ import cleanSearchText from '../helpers/cleanSearchText';
|
|||||||
export default class SearchIndex<SearchWhat> {
|
export default class SearchIndex<SearchWhat> {
|
||||||
private fullTexts: Map<SearchWhat, string> = new Map();
|
private fullTexts: Map<SearchWhat, string> = new Map();
|
||||||
|
|
||||||
constructor(private cleanText = true, private latinize = true, private minChars: number = 1) {
|
// minChars can be 0 because it requires at least one word (one symbol) to be found
|
||||||
|
constructor(private cleanText = true, private latinize = true, private minChars: number = 0) {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user