pg_search
pg_search copied to clipboard
pg_search builds ActiveRecord named scopes that take advantage of PostgreSQL’s full text search
Hello, I was wondering if there is any official support for searching on model attributes that are stored as a serialized hash? Many of our models have large textfields with...
Hello, Is it possible to search with associated models using tsvector_columns, if the tsvector_columns are in the associated models ? I have a model with "has_many :other_models". Those other_models have...
I have a use case where I would like to make use of multi-search with two different search configurations. However I'm afraid if that possible with current class level configuration...
I'm building a fairly simple search but I run into a beginners problem (I think), I added this to my `Document` model: ``` ruby class Document < ActiveRecord::Base include PgSearch...
otherwise it breaks when scope uses non-default dictionary (the query and highlight use incompatible dictionaries then)
I'm having an issue with the latest version of pg_search (1.0.5) and Rails 3.2.22.2 and Ruby 2.3. Anytime I include the "associated_against", I get a pretty crazy error, listed below....
I have a model, say `Order`, and it `has_many` say `line_items`. Each line item has a `status` field. There are only 5 possible statuses, so I want to make a...
Hello, Unless I'm missing something, it seems difficult/impossible to build a search scope that matches some terms and excludes others. I'm considering extending this gem so allow the following case:...
Howdy, I'm using and enjoying `pg_search` on a number of projects, but have recently come across a use case that I'm not sure is supported by the gem. In my...
> When you have a tsvector column but want to search against both it and other text columns (without having to deal with triggers) the :tsvector_column option is no use...