[#760] cli: Support COMMON_PREFIX
matchtype
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
parent
4ff98a7e2b
commit
9b32b5523d
1 changed files with 3 additions and 2 deletions
|
@ -509,8 +509,9 @@ var searchUnaryOpVocabulary = map[string]object.SearchMatchType{
|
||||||
}
|
}
|
||||||
|
|
||||||
var searchBinaryOpVocabulary = map[string]object.SearchMatchType{
|
var searchBinaryOpVocabulary = map[string]object.SearchMatchType{
|
||||||
"EQ": object.MatchStringEqual,
|
"EQ": object.MatchStringEqual,
|
||||||
"NE": object.MatchStringNotEqual,
|
"NE": object.MatchStringNotEqual,
|
||||||
|
"COMMON_PREFIX": object.MatchCommonPrefix,
|
||||||
}
|
}
|
||||||
|
|
||||||
func parseSearchFilters(cmd *cobra.Command) (object.SearchFilters, error) {
|
func parseSearchFilters(cmd *cobra.Command) (object.SearchFilters, error) {
|
||||||
|
|
Loading…
Reference in a new issue