mirror of
https://github.com/go-gitea/gitea.git
synced 2025-09-24 22:16:27 -04:00
Improve issue search (#2387)
* Improve issue indexer * Fix new issue sqlite bug * Different test indexer paths for each db * Add integration indexer paths to make clean
This commit is contained in:
4
vendor/github.com/blevesearch/bleve/search/query/match_none.go
generated
vendored
4
vendor/github.com/blevesearch/bleve/search/query/match_none.go
generated
vendored
@@ -38,11 +38,11 @@ func (q *MatchNoneQuery) SetBoost(b float64) {
|
||||
q.BoostVal = &boost
|
||||
}
|
||||
|
||||
func (q *MatchNoneQuery) Boost() float64{
|
||||
func (q *MatchNoneQuery) Boost() float64 {
|
||||
return q.BoostVal.Value()
|
||||
}
|
||||
|
||||
func (q *MatchNoneQuery) Searcher(i index.IndexReader, m mapping.IndexMapping, explain bool) (search.Searcher, error) {
|
||||
func (q *MatchNoneQuery) Searcher(i index.IndexReader, m mapping.IndexMapping, options search.SearcherOptions) (search.Searcher, error) {
|
||||
return searcher.NewMatchNoneSearcher(i)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user