You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An FTS Index that has type mappings is basically translatable, where each type mapping translates to another Index with a different WHERE or Index.Cond().
The idea, let's say I have an FTS index "myFTSIdx" on the beer-sample bucket that looks like...
type: beer
mapping of the beer fields
type: brewery
mapping of the brewery fields
default:
mapping of the fields that aren't "type" of beer nor brewery
So, that would get expressed as 3 different Indexes...
Index myFTSIdx-beer
Cond() => "type = 'beer'"
Index myFTSIdx-brewery
Cond() => "type = 'brewery'"
Index myFTSIdx-default
Cond() => "type != 'beer' AND type != 'brewery'"
Also, better double-check with Sitaram that this is the correct expression.
The text was updated successfully, but these errors were encountered:
An FTS Index that has type mappings is basically translatable, where each type mapping translates to another Index with a different WHERE or Index.Cond().
n1fty/index.go
Line 93 in 7b74840
The idea, let's say I have an FTS index "myFTSIdx" on the beer-sample bucket that looks like...
So, that would get expressed as 3 different Indexes...
Also, better double-check with Sitaram that this is the correct expression.
The text was updated successfully, but these errors were encountered: