back interdiff of round #8 and #7

wip: add indexer mappings #495

merged
opened by boltless.me targeting master from boltless.me/core: feat/search
files
appview
indexer
bleve
issues
REBASED
appview/indexer/issues/indexer.go

This patch was likely rebased, as context lines do not match.

NEW
appview/indexer/bleve/query.go
···
"github.com/blevesearch/bleve/v2/search/query"
)
-
func MatchAndQuery(field, keyword string) query.Query {
+
func MatchAndQuery(field, keyword, analyzer string, fuzziness int) query.Query {
q := bleve.NewMatchQuery(keyword)
q.FieldVal = field
+
q.Analyzer = analyzer
+
q.Fuzziness = fuzziness
return q
}