Documentation ¶
Index ¶
Constants ¶
View Source
const EnhanceQueryModifierName = "enhance"
View Source
const SpellcheckQueryModifierName = "spellcheck"
Variables ¶
View Source
var QueryModifiers = map[string]QueryModifier{ SpellcheckQueryModifierName: SpellcheckQueryModifier{}, EnhanceQueryModifierName: EnhanceQueryModifier{}, }
Functions ¶
This section is empty.
Types ¶
type EnhanceQueryModifier ¶ added in v0.1.7
func (EnhanceQueryModifier) ModifyQueries ¶ added in v0.1.9
func (s EnhanceQueryModifier) ModifyQueries(queries []string) ([]string, error)
func (EnhanceQueryModifier) Name ¶ added in v0.1.9
func (s EnhanceQueryModifier) Name() string
type QueryModifier ¶
func GetQueryModifier ¶
func GetQueryModifier(name string) (QueryModifier, error)
type SpellcheckQueryModifier ¶
func (SpellcheckQueryModifier) ModifyQueries ¶ added in v0.1.9
func (s SpellcheckQueryModifier) ModifyQueries(queries []string) ([]string, error)
func (SpellcheckQueryModifier) Name ¶ added in v0.1.9
func (s SpellcheckQueryModifier) Name() string
Click to show internal directories.
Click to hide internal directories.