#1 2022-06-12 21:21:09

tbo
Member
Registered: 2015-04-20
Posts: 353

Description function FTSMatch

Unit: mormot.orm.core

I think the description is not correct. This function does not work with FTS5 (no matchinfo() or offsets() function), but only with FTS3/4.

// - this method works for TOrmFts3, TOrmFts4 and TOrmFts5
...
  function FTSMatch(Table: TOrmFts3Class; const MatchClause: RawUtf8;
    var DocID: TIDDynArray; const PerFieldWeight: array of double;
    limit: integer = 0; offset: integer = 0): boolean; overload;

An FTS5Match() function would be nice.

PS: Here is the link to the documentation. Sorry, forgot to post it.

With best regards
Thomas

Last edited by tbo (2022-06-13 08:54:47)

Offline

#2 2022-06-26 19:40:44

tbo
Member
Registered: 2015-04-20
Posts: 353

Re: Description function FTSMatch

What do you think about this hint?

With best regards
Thomas

Offline

Board footer

Powered by FluxBB