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
··· 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