Signed-off-by: Seongmin Lee boltlessengineer@proton.me
REBASED
appview/indexer/issues/indexer.go
REBASED
appview/indexer/issues/indexer.go
This patch was likely rebased, as context lines do not match.
NEW
appview/indexer/bleve/query.go
NEW
appview/indexer/bleve/query.go
···
5
5
"github.com/blevesearch/bleve/v2/search/query"
6
6
)
7
7
8
-
func MatchAndQuery(field, keyword string) query.Query {
8
+
func MatchAndQuery(field, keyword, analyzer string, fuzziness int) query.Query {
9
9
q := bleve.NewMatchQuery(keyword)
10
10
q.FieldVal = field
11
+
q.Analyzer = analyzer
12
+
q.Fuzziness = fuzziness
11
13
return q
12
14
}
13
15