mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-06-24 18:10:52 +00:00
Upgrade bleve from v2.0.6 to v2.3.0 (#18132)
This commit is contained in:
parent
1a4e2bfcd1
commit
25a290e320
70 changed files with 1283 additions and 660 deletions
9
vendor/github.com/blevesearch/bleve/v2/query.go
generated
vendored
9
vendor/github.com/blevesearch/bleve/v2/query.go
generated
vendored
|
@ -216,3 +216,12 @@ func NewGeoBoundingBoxQuery(topLeftLon, topLeftLat, bottomRightLon, bottomRightL
|
|||
func NewGeoDistanceQuery(lon, lat float64, distance string) *query.GeoDistanceQuery {
|
||||
return query.NewGeoDistanceQuery(lon, lat, distance)
|
||||
}
|
||||
|
||||
// NewIPRangeQuery creates a new Query for matching IP addresses.
|
||||
// If the argument is in CIDR format, then the query will match all
|
||||
// IP addresses in the network specified. If the argument is an IP address,
|
||||
// then the query will return documents which contain that IP.
|
||||
// Both ipv4 and ipv6 are supported.
|
||||
func NewIPRangeQuery(cidr string) *query.IPRangeQuery {
|
||||
return query.NewIPRangeQuery(cidr)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue