{"meta":{"name":"FindSoftware","page":"https://findsoftware.frbit.cloud/pg-search-rb/","markdown":"https://findsoftware.frbit.cloud/pg-search-rb.md","license":"https://creativecommons.org/licenses/by/4.0/","attribution":"FindSoftware, CC BY 4.0","note":"Attributes are recorded, never scored. An absent field means unknown, never zero and never bad."},"record":{"id":"pg-search-rb","name":"pg_search","urls":{"repository":"https://github.com/Casecommons/pg_search","docs":"https://github.com/Casecommons/pg_search/blob/master/README.md"},"category":["search"],"description":"Ruby gem that adds PostgreSQL full-text search scopes to Active Record models.","maintainer":"Casebook, PBC","firstRelease":2011,"hosting":["ruby"],"language":"ruby","runtime":["ruby"],"runtimeMin":"ruby 3.3","basedOn":["rails"],"contentStore":null,"databases":["postgres"],"adminUi":null,"headlessApi":null,"templating":null,"i18n":null,"renderingModes":null,"installMethod":"gem","licenseModel":"open-source","license":"MIT","currentMajor":"2","latestReleaseDate":"2026-09-07T00:00:00.000Z","githubStargazers":1589,"contributors":74,"packagistDownloads":null,"npmWeeklyDownloads":null,"dependentRepos":6913,"dependentPackages":31,"checkedAt":"2026-10-28T00:00:00.000Z","addedAt":"2026-10-28T00:00:00.000Z","sources":[{"field":"urls","url":"https://github.com/Casecommons/pg_search","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"urls","url":"https://github.com/Casecommons/pg_search/blob/master/README.md","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"firstRelease","url":"https://rubygems.org/api/v1/versions/pg_search.json","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"maintainer","url":"https://github.com/Casecommons/pg_search/blob/master/LICENSE","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"license","url":"https://github.com/Casecommons/pg_search/blob/master/README.md","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"language","url":"https://github.com/Casecommons/pg_search","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"category","url":"https://github.com/Casecommons/pg_search/blob/master/README.md","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"basedOn","url":"https://github.com/Casecommons/pg_search/blob/master/README.md","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"runtime","url":"https://github.com/Casecommons/pg_search/blob/v2.4.0/pg_search.gemspec","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"runtimeMin","url":"https://github.com/Casecommons/pg_search/blob/v2.4.0/pg_search.gemspec","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"databases","url":"https://github.com/Casecommons/pg_search/blob/master/README.md","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"installMethod","url":"https://github.com/Casecommons/pg_search/blob/master/README.md","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"installMethod","url":"https://github.com/Casecommons/pg_search/blob/master/README.md","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"currentMajor","url":"https://rubygems.org/api/v1/gems/pg_search.json","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"latestReleaseDate","url":"https://rubygems.org/api/v1/gems/pg_search.json","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"githubStargazers","url":"https://github.com/Casecommons/pg_search","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"contributors","url":"https://api.github.com/repos/Casecommons/pg_search/contributors?per_page=1","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"dependentPackages","url":"https://packages.ecosyste.ms/api/v1/registries/rubygems.org/packages/pg_search","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"dependentRepos","url":"https://packages.ecosyste.ms/api/v1/registries/rubygems.org/packages/pg_search","checkedAt":"2026-10-28T00:00:00.000Z"}],"status":"active","ai":"authored"},"prose":"pg_search is a Ruby gem that builds named scopes for Active Record models, taking advantage of PostgreSQL's full-text search. The [README](https://github.com/Casecommons/pg_search/blob/master/README.md) is the reference for its setup and search options.\n\nRails projects get the gem's rake tasks through a Railtie, which the README contrasts with non-Rails projects. The gem is installed with gem install or a Gemfile line, and it needs a PostgreSQL server. Some of its features need PostgreSQL extensions.\n\nCasebook, PBC maintains the gem.\n\n## Worth knowing\n\nThe name is shared with ParadeDB's pg_search, a PostgreSQL extension and a separate project with its own record. The gem has no project site of its own, so the repository is the reference."}