wire-subsystems-0.1.0
Safe HaskellSafe-Inferred
LanguageGHC2021

Wire.IndexedUserStore.ElasticSearch

Synopsis

Documentation

data ESConn Source #

Constructors

ESConn 

Fields

defaultUserQuery :: UserId -> Maybe TeamId -> TeamSearchInfo -> Text -> IndexQuery Contact Source #

The default or canonical IndexQuery.

The intention behind parameterising queryIndex over the IndexQuery is that it allows to experiment with different queries (perhaps in an A/B context).

FUTUREWORK: Drop legacyPrefixMatch