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
Queries are then performed with a LIKE operator, with growing complexity (#104).
To improve control over search behaviour, it may be worthwhile switching to using a tsvector and tsquery. This can then be managed with an update trigger (and possibly a GIN index, depending on perf requirements).
Alternatively, moving this to elasticsearch may also be an option worth considering (at the expense of another service dependency, but providing conformity with other platform services).
The text was updated successfully, but these errors were encountered:
The guest model currently uses a text column that contains a copy of attributes used in search.
staff-api/src/models/guest.cr
Lines 21 to 32 in f54980c
Queries are then performed with a
LIKE
operator, with growing complexity (#104).To improve control over search behaviour, it may be worthwhile switching to using a
tsvector
andtsquery
. This can then be managed with an update trigger (and possibly a GIN index, depending on perf requirements).Alternatively, moving this to elasticsearch may also be an option worth considering (at the expense of another service dependency, but providing conformity with other platform services).
The text was updated successfully, but these errors were encountered: