[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-5015":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":25,"hasPages":23,"topics":26,"createdAt":10,"pushedAt":10,"updatedAt":27,"readmeContent":28,"aiSummary":29,"trendingCount":16,"starSnapshotCount":16,"syncStatus":30,"lastSyncTime":31,"discoverSource":32},5015,"bleve","blevesearch\u002Fbleve","blevesearch","A modern text\u002Fnumeric\u002Fgeo-spatial\u002Fvector indexing library for go","",null,"Go",11103,703,224,234,0,1,16,81,7,43.54,"Apache License 2.0",false,"master",true,[],"2026-06-12 02:01:07","# ![bleve](docs\u002Fbleve.png) bleve\n\n[![Tests](https:\u002F\u002Fgithub.com\u002Fblevesearch\u002Fbleve\u002Factions\u002Fworkflows\u002Ftests.yml\u002Fbadge.svg?branch=master&event=push)](https:\u002F\u002Fgithub.com\u002Fblevesearch\u002Fbleve\u002Factions\u002Fworkflows\u002Ftests.yml?query=event%3Apush+branch%3Amaster)\n[![Coverage Status](https:\u002F\u002Fcoveralls.io\u002Frepos\u002Fgithub\u002Fblevesearch\u002Fbleve\u002Fbadge.svg)](https:\u002F\u002Fcoveralls.io\u002Fgithub\u002Fblevesearch\u002Fbleve)\n[![Go Reference](https:\u002F\u002Fpkg.go.dev\u002Fbadge\u002Fgithub.com\u002Fblevesearch\u002Fbleve\u002Fv2.svg)](https:\u002F\u002Fpkg.go.dev\u002Fgithub.com\u002Fblevesearch\u002Fbleve\u002Fv2)\n[![Join the chat](https:\u002F\u002Fbadges.gitter.im\u002Fjoin_chat.svg)](https:\u002F\u002Fapp.gitter.im\u002F#\u002Froom\u002F#blevesearch_bleve:gitter.im)\n[![Go Report Card](https:\u002F\u002Fgoreportcard.com\u002Fbadge\u002Fgithub.com\u002Fblevesearch\u002Fbleve\u002Fv2)](https:\u002F\u002Fgoreportcard.com\u002Freport\u002Fgithub.com\u002Fblevesearch\u002Fbleve\u002Fv2)\n[![Sourcegraph](https:\u002F\u002Fsourcegraph.com\u002Fgithub.com\u002Fblevesearch\u002Fbleve\u002F-\u002Fbadge.svg)](https:\u002F\u002Fsourcegraph.com\u002Fgithub.com\u002Fblevesearch\u002Fbleve?badge)\n[![License](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FLicense-Apache%202.0-blue.svg)](https:\u002F\u002Fopensource.org\u002Flicenses\u002FApache-2.0)\n\nA modern indexing + search library in GO\n\n## Features\n\n* Index any GO data structure or JSON\n* Intelligent defaults backed up by powerful configuration ([scorch](https:\u002F\u002Fgithub.com\u002Fblevesearch\u002Fbleve\u002Fblob\u002Fmaster\u002Findex\u002Fscorch\u002FREADME.md))\n* Supported field types:\n  * `text`, `number`, `datetime`, `boolean`, `geopoint`, `geoshape`, `IP`, `vector`\n* Supported query types:\n  * `term`, `phrase`, `match`, `match_phrase`, `prefix`, `regexp`, `wildcard`, `fuzzy`\n  * term range, numeric range, date range, boolean field\n  * compound queries: `conjuncts`, `disjuncts`, boolean (`must`\u002F`should`\u002F`must_not`)\n  * [query string syntax](http:\u002F\u002Fwww.blevesearch.com\u002Fdocs\u002FQuery-String-Query\u002F)\n  * [geo spatial search](https:\u002F\u002Fgithub.com\u002Fblevesearch\u002Fbleve\u002Fblob\u002Fmaster\u002Fgeo\u002FREADME.md)\n  * approximate k-nearest neighbors via [vector search](https:\u002F\u002Fgithub.com\u002Fblevesearch\u002Fbleve\u002Fblob\u002Fmaster\u002Fdocs\u002Fvectors.md)\n  * [synonym search](https:\u002F\u002Fgithub.com\u002Fblevesearch\u002Fbleve\u002Fblob\u002Fmaster\u002Fdocs\u002Fsynonyms.md)\n  * [hierarchical nested search](https:\u002F\u002Fgithub.com\u002Fblevesearch\u002Fbleve\u002Fblob\u002Fmaster\u002Fdocs\u002Fhierarchy.md)\n* [tf-idf](https:\u002F\u002Fgithub.com\u002Fblevesearch\u002Fbleve\u002Fblob\u002Fmaster\u002Fdocs\u002Fscoring.md#tf-idf) \u002F [bm25](https:\u002F\u002Fgithub.com\u002Fblevesearch\u002Fbleve\u002Fblob\u002Fmaster\u002Fdocs\u002Fscoring.md#bm25) scoring models\n* Hybrid search: exact + semantic\n  * Supports [RRF (Reciprocal Rank Fusion) and RSF (Relative Score Fusion)](docs\u002Fscore_fusion.md)\n* [Result pagination](https:\u002F\u002Fgithub.com\u002Fblevesearch\u002Fbleve\u002Fblob\u002Fmaster\u002Fdocs\u002Fpagination.md)\n* Query time boosting\n* Search result match highlighting with document fragments\n* Aggregations\u002Ffaceting support:\n  * terms facet\n  * numeric range facet\n  * date range facet\n\n## Indexing\n\n```go\nmessage := struct {\n    Id   string\n    From string\n    Body string\n}{\n    Id:   \"example\",\n    From: \"xyz@couchbase.com\",\n    Body: \"bleve indexing is easy\",\n}\n\nmapping := bleve.NewIndexMapping()\nindex, err := bleve.New(\"example.bleve\", mapping)\nif err != nil {\n    panic(err)\n}\nindex.Index(message.Id, message)\n```\n\n## Querying\n\n```go\nindex, _ := bleve.Open(\"example.bleve\")\nquery := bleve.NewQueryStringQuery(\"bleve\")\nsearchRequest := bleve.NewSearchRequest(query)\nsearchResult, _ := index.Search(searchRequest)\n```\n\n## Command Line Interface\n\nTo install the CLI for the latest release of bleve, run:\n\n```bash\ngo install github.com\u002Fblevesearch\u002Fbleve\u002Fv2\u002Fcmd\u002Fbleve@latest\n```\n\n```text\n$ bleve --help\nBleve is a command-line tool to interact with a bleve index.\n\nUsage:\n  bleve [command]\n\nAvailable Commands:\n  bulk        bulk loads from newline delimited JSON files\n  check       checks the contents of the index\n  count       counts the number documents in the index\n  create      creates a new index\n  dictionary  prints the term dictionary for the specified field in the index\n  dump        dumps the contents of the index\n  fields      lists the fields in this index\n  help        Help about any command\n  index       adds the files to the index\n  mapping     prints the mapping used for this index\n  query       queries the index\n  registry    registry lists the bleve components compiled into this executable\n  scorch      command-line tool to interact with a scorch index\n\nFlags:\n  -h, --help   help for bleve\n\nUse \"bleve [command] --help\" for more information about a command.\n```\n\n## Text Analysis\n\nBleve includes general-purpose analyzers (customizable) as well as pre-built text analyzers for the following languages:\n\nArabic (ar), Bulgarian (bg), Catalan (ca), Chinese-Japanese-Korean (cjk), Kurdish (ckb), Danish (da), German (de), Greek (el), English (en), Spanish - Castilian (es), Basque (eu), Persian (fa), Finnish (fi), French (fr), Gaelic (ga), Spanish - Galician (gl), Hindi (hi), Croatian (hr), Hungarian (hu), Armenian (hy), Indonesian (id, in), Italian (it), Dutch (nl), Norwegian (no), Polish (pl), Portuguese (pt), Romanian (ro), Russian (ru), Swedish (sv), Turkish (tr)\n\n## Text Analysis Wizard\n\n[bleveanalysis.couchbase.com](https:\u002F\u002Fbleveanalysis.couchbase.com)\n\n## Discussion\u002FIssues\n\nDiscuss usage\u002Fdevelopment of bleve and\u002For report issues here:\n\n* [Github issues](https:\u002F\u002Fgithub.com\u002Fblevesearch\u002Fbleve\u002Fissues)\n* [Google group](https:\u002F\u002Fgroups.google.com\u002Fforum\u002F#!forum\u002Fbleve)\n\n## License\n\nApache License Version 2.0\n","bleve 是一个用于 Go 语言的现代化文本、数值、地理空间和向量索引库。它支持多种字段类型，包括文本、数字、日期时间、布尔值、地理点、地理形状、IP 和向量，并提供了丰富的查询功能，如术语、短语、匹配、前缀、正则表达式、通配符、模糊查询等。此外，bleve 还支持分层嵌套搜索、同义词搜索以及近似最近邻搜索等功能。该库内置了智能默认配置，同时也允许用户通过强大的配置选项进行自定义。bleve 适用于需要高效索引和搜索功能的应用场景，例如日志分析、全文检索、地理位置服务及推荐系统等。",2,"2026-06-11 03:02:04","top_language"]