{"id":16612891,"url":"https://github.com/ttys3/blugejieba","last_synced_at":"2026-04-20T15:32:47.736Z","repository":{"id":65192969,"uuid":"584736315","full_name":"ttys3/blugejieba","owner":"ttys3","description":"GoJieba Bluge support","archived":false,"fork":false,"pushed_at":"2023-08-30T11:14:39.000Z","size":14,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-10T19:54:29.378Z","etag":null,"topics":["bleve","blevesearch","bluge","index","search"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ttys3.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-01-03T11:40:07.000Z","updated_at":"2024-06-26T00:57:01.000Z","dependencies_parsed_at":"2023-11-15T06:44:59.817Z","dependency_job_id":null,"html_url":"https://github.com/ttys3/blugejieba","commit_stats":{"total_commits":1,"total_committers":1,"mean_commits":1.0,"dds":0.0,"last_synced_commit":"b33b63644dc7a730eb7a5a7fb8dc276642a68a34"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ttys3/blugejieba","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ttys3%2Fblugejieba","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ttys3%2Fblugejieba/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ttys3%2Fblugejieba/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ttys3%2Fblugejieba/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ttys3","download_url":"https://codeload.github.com/ttys3/blugejieba/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ttys3%2Fblugejieba/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32053239,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T11:35:06.609Z","status":"ssl_error","status_checked_at":"2026-04-20T11:34:48.899Z","response_time":94,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bleve","blevesearch","bluge","index","search"],"created_at":"2024-10-12T01:45:15.559Z","updated_at":"2026-04-20T15:32:47.696Z","avatar_url":"https://github.com/ttys3.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GoJieba Bluge support\n\n[![GoDoc](https://godoc.org/github.com/ttys3/blugejieba?status.svg)](https://godoc.org/github.com/ttys3/blugejieba)\n[![Go Report Card](https://goreportcard.com/badge/ttys3/blugejieba)](https://goreportcard.com/report/ttys3/blugejieba)\n\n## Intro\n\nGoJieba [Bluge](https://github.com/blugelabs/bluge) support mod\n\nBluge is an indexing library for Go. created by the author of the [Bleve](https://github.com/blevesearch/bleve) project\n\n## Get the mod\n\n```bash\ngo get github.com/ttys3/blugejieba\n```\n\n## Usage\n\n```go\n\t// var ana bluge.Analyzer\n    jieba := \u0026analysis.Analyzer{\n\t\tTokenizer: NewJiebaTokenizer(gojieba.DICT_PATH, gojieba.HMM_PATH, gojieba.USER_DICT_PATH, gojieba.IDF_PATH, gojieba.STOP_WORDS_PATH),\n\t}\n\t\n\t// for write\n\tdoc := bluge.NewDocument(msg.Id).\n    AddField(bluge.NewTextField(\"name\", \"hello bluge\").WithAnalyzer(jieba))\n    err = writer.Update(doc.ID(), doc)\n\t\n\t\n\t// for read (query)\n    query := bluge.NewMatchQuery(q).SetField(\"name\").SetAnalyzer(jieba)\n    request := bluge.NewTopNSearch(10, query).\n    WithStandardAggregations()\n    \n    documentMatchIterator, err := reader.Search(context.Background(), request)\n    if err != nil {\n        log.Fatalf(\"error executing search: %v\", err)\n    }\n```\n\nplease see [jieba_tokenizer_test.go](jieba_tokenizer_test.go)\n\n## docs\n\nhttps://blugelabs.com/bluge/migration/\n\nhttps://blugelabs.com/blog/introducing-bluge/\n\n## related project\n\nhttps://github.com/ttys3/gojieba-bleve","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fttys3%2Fblugejieba","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fttys3%2Fblugejieba","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fttys3%2Fblugejieba/lists"}