{"id":35021785,"url":"https://github.com/griffio/sqldelight-pgroonga-module-app","last_synced_at":"2026-05-22T03:09:26.056Z","repository":{"id":304541713,"uuid":"1019092432","full_name":"griffio/sqldelight-pgroonga-module-app","owner":"griffio","description":"pgroonga textsearch module for SqlDelight","archived":false,"fork":false,"pushed_at":"2026-03-19T19:58:36.000Z","size":31,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-03-20T02:50:50.539Z","etag":null,"topics":["pgroonga","sqldelight"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","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/griffio.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-07-13T18:06:54.000Z","updated_at":"2026-03-19T19:58:39.000Z","dependencies_parsed_at":"2025-07-13T20:39:17.113Z","dependency_job_id":null,"html_url":"https://github.com/griffio/sqldelight-pgroonga-module-app","commit_stats":null,"previous_names":["griffio/sqldelight-pgroonga-module-app"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/griffio/sqldelight-pgroonga-module-app","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/griffio%2Fsqldelight-pgroonga-module-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/griffio%2Fsqldelight-pgroonga-module-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/griffio%2Fsqldelight-pgroonga-module-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/griffio%2Fsqldelight-pgroonga-module-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/griffio","download_url":"https://codeload.github.com/griffio/sqldelight-pgroonga-module-app/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/griffio%2Fsqldelight-pgroonga-module-app/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33326734,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-21T12:23:38.849Z","status":"online","status_checked_at":"2026-05-22T02:00:06.671Z","response_time":265,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["pgroonga","sqldelight"],"created_at":"2025-12-27T05:59:26.158Z","updated_at":"2026-05-22T03:09:26.044Z","avatar_url":"https://github.com/griffio.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SqlDelight 2.1.x Postgresql module support prototype \n\nhttps://github.com/cashapp/sqldelight\n\n**Experimental**\n\nPgroonga https://pgroonga.github.io/\n\nUse with SqlDelight `2.4.0-SNAPSHOT`\n\n```sql\n\nCREATE EXTENSION IF NOT EXISTS pgroonga;\n\nCREATE TABLE Memos (\n  id INTEGER,\n  content TEXT\n);\n\nCREATE INDEX pgroonga_content_index ON Memos USING pgroonga (content)\n        WITH (tokenizer='TokenNgram(\"report_source_location\", true)', normalizer='NormalizerNFKC100');\n\nCREATE TABLE ScoreMemos (\n  id integer PRIMARY KEY,\n  content text\n);\n\nCREATE INDEX pgroonga_score_memos_content_index ON ScoreMemos USING pgroonga (content);\n\nsearchScoreMemos:\nSELECT *, pgroonga_score(tableoid, ctid) AS score\nFROM ScoreMemos\nWHERE content \u0026@ 'PGroonga' OR content \u0026@ 'PostgreSQL';\n\nsearchHighlightHtml:\nSELECT pgroonga_highlight_html(content, :keywords::TEXT[]) AS highlight_html\nFROM Memos;\n\nselectExtractKeywords:\nSELECT UNNEST(pgroonga_query_extract_keywords(:keywords::TEXT)) AS query_extract_keywords;\n```\n\n* Add functions `pgroonga_highlight_html` `pgroonga_query_extract_keywords` `pgroonga_score`\n\nTODO\n\n* Needs to support `pgroonga_score` with system columns `tableoid, ctid`\n  * MERGED https://github.com/sqldelight/sqldelight/pull/5834\n* Support array type function return\n  * MERGED https://github.com/sqldelight/sqldelight/pull/5835\n\n---\n\n```shell\ndocker run \\\n  --name pgroonga-demo \\\n  -e POSTGRES_PASSWORD=PGroonga \\\n  -e POSTGRES_DB=PGroonga \\\n  -e POSTGRES_USER=PGroonga \\\n  -p 5432:5432 \\\n  -d groonga/pgroonga:4.0.5-alpine-16-slim\n```\n\n```shell\n./gradlew build \u0026\u0026\n./gradlew flywayMigrate\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgriffio%2Fsqldelight-pgroonga-module-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgriffio%2Fsqldelight-pgroonga-module-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgriffio%2Fsqldelight-pgroonga-module-app/lists"}