Monorepo for Tangled tangled.org

wip: add indexer mappings #495

merged opened by boltless.me targeting master from boltless.me/core: feat/search
Labels

None yet.

assignee

None yet.

Participants 2
AT URI
at://did:plc:xasnlahkri4ewmbuzly2rlc5/sh.tangled.repo.pull/3lwecnvoz5322
+3 -1
Interdiff #7 #8
appview/indexer/issues/indexer.go

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

+3 -1
appview/indexer/bleve/query.go
··· 5 "github.com/blevesearch/bleve/v2/search/query" 6 ) 7 8 - func MatchAndQuery(field, keyword string) query.Query { 9 q := bleve.NewMatchQuery(keyword) 10 q.FieldVal = field 11 return q 12 } 13
··· 5 "github.com/blevesearch/bleve/v2/search/query" 6 ) 7 8 + func MatchAndQuery(field, keyword, analyzer string, fuzziness int) query.Query { 9 q := bleve.NewMatchQuery(keyword) 10 q.FieldVal = field 11 + q.Analyzer = analyzer 12 + q.Fuzziness = fuzziness 13 return q 14 } 15

History

15 rounds 1 comment
sign up or login to add to the discussion
1 commit
expand
appview: indexer: add indexer mappings
expand 0 comments
pull request successfully merged
1 commit
expand
appview: indexer: add indexer mappings
expand 0 comments
1 commit
expand
appview: indexer: add indexer mappings
expand 0 comments
1 commit
expand
appview: indexer: add indexer mappings
expand 0 comments
1 commit
expand
appview: indexer: add indexer mappings
expand 0 comments
1 commit
expand
appview: indexer: add indexer mappings
expand 0 comments
1 commit
expand
appview: indexer: add indexer mappings
expand 0 comments
1 commit
expand
appview: indexer: add indexer mappings
expand 0 comments
1 commit
expand
appview: indexer: add indexer mappings
expand 1 comment
1 commit
expand
appview: indexer: add indexer mappings
expand 0 comments
1 commit
expand
appview: indexer: add indexer mappings
expand 0 comments
1 commit
expand
appview: indexer: add indexer mappings
expand 0 comments
1 commit
expand
appview: indexer: add indexer mappings
expand 0 comments
1 commit
expand
appview: indexer: add indexer mappings
expand 0 comments
1 commit
expand
wip: add indexer mappings
expand 0 comments