pg_search
https://github.com/casecommons/pg_search
Ruby
pg_search builds ActiveRecord named scopes that take advantage of PostgreSQL’s full text search
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
13 Subscribers
Add a CodeTriage badge to pg_search
Help out
- Issues
- :against does not seem to be needed when using :tsvector_column, but it is mandatory
- Create index on a few columns
- Question on what search strategy to use
- Missing FROM clause when where + has_one
- Chained associated against pg_scope and regular scope fail
- `SELECT DISTINCT` triggers ActiveRecord::StatementInvalid in v1.0.0
- search scopes must have an :against or :associated_against option even if it's blank
- Changing integer values underlying weights
- SQL error when using pg_search_scope associated_against for a calcuation query with includes scope
- Record subclass name in pg_search_documents.
- Docs
- PgSearch::Normalizer#to_node
- PgSearch::Configuration::ForeignColumn#source_table
- PgSearch::Configuration::Association#to_arel
- PgSearch::Configuration::Association#arel_table
- PgSearch::Multisearch::Rebuilder#apply_sti_condition
- PgSearch::Multisearch::Rebuilder#content_expression
- PgSearch::Multisearch::Rebuilder#insert_manager
- PgSearch::Configuration::Column#source_table
- PgSearch::Configuration::Column#source_attribute
- PgSearch::Configuration::ForeignColumn#attribute