import { MigrationInterface, QueryRunner } from 'typeorm'; /** * FULLTEXT (ngram) indexes to back jarvis-web's cross-entity quick-search. * The existing search runs `LIKE '%needle%'` against client name/email and * user email/firstName/lastName/userName/companyName — leading-wildcard scans * on ~340k-row tables that cost 150ms-2s wall depending on needle rarity. * * The ngram parser tokenizes by 2-character grams (default), so substring * queries like "gusov" hit "gusovsky" via shared tokens. Repository code * issues `MATCH ... AGAINST` predicates and falls back to LIKE when the * needle is shorter than the ngram token size. */ export declare class addQuickSearchFulltextIndexes1746434400000 implements MigrationInterface { up(queryRunner: QueryRunner): Promise; down(queryRunner: QueryRunner): Promise; }