Documentation ¶
Index ¶
Constants ¶
View Source
const EnhanceQueryModifierName = "enhance"
View Source
const GenericQueryModifierName = "generic"
View Source
const SpellcheckQueryModifierName = "spellcheck"
Variables ¶
View Source
var QueryModifiers = map[string]QueryModifier{ SpellcheckQueryModifierName: SpellcheckQueryModifier{}, EnhanceQueryModifierName: EnhanceQueryModifier{}, GenericQueryModifierName: GenericQueryModifier{}, }
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 GenericQueryModifier ¶ added in v0.1.10
func (GenericQueryModifier) ModifyQueries ¶ added in v0.1.10
func (s GenericQueryModifier) ModifyQueries(queries []string) ([]string, error)
func (GenericQueryModifier) Name ¶ added in v0.1.10
func (s GenericQueryModifier) 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.