This adds the q parameter for free-text search. It will be pretty slow for item-level search because it has to compute the tsvectors on-the-fly, but it works great for collection-level search where the number of records should be limited.
Resolves #293 (for collection-level search at least)
@bitner I had to beef up q_to_tsquery a bit to avoid replacing terms inside of quoted statements. It's all case-insensitive now and passing a more robust set of tests!
This adds the
q
parameter for free-text search. It will be pretty slow for item-level search because it has to compute thetsvectors
on-the-fly, but it works great for collection-level search where the number of records should be limited.Resolves #293 (for collection-level search at least)