Added
tg messages search --formsalso matches other forms of each plain word that occur in the
cache:квартираfindsквартируandквартирой,meetingfindsmeetings, andеще
findsещё; a word with a digit (2ms) or a stem of one or two letters (ok) stays as
typed. It works on the index's own words with light Russian and English stemmers, so the
index and older versions are unchanged.
Without the flag search stays exact. A query with FTS5 syntax or--phrasewith--formsis
INVALID_ARGS; whileallowedChatsis set,--formsmatches words only as typed, since the
forms come from the whole cache. Only visible transcripts of current attachments contribute
word forms. The answer addsforms, the forms searched for (null
without--formsor withallowedChats), andfilters.forms. The cache gets the tables
message_search_vocabandtranscript_search_vocab, the words of the message and transcript
indexes, whichtg sqlcan read. See docs/search.md.- The GitHub Release has
NOTICE, the licences of the ported stemmers, next to the binaries,
andbrew install neoromantic/tap/tginstalls it in the formula's prefix.