Skip to content

Conversation

@hrodmn
Copy link
Collaborator

@hrodmn hrodmn commented Aug 13, 2024

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)

@hrodmn hrodmn requested a review from bitner August 13, 2024 21:18
@hrodmn
Copy link
Collaborator Author

hrodmn commented Aug 14, 2024

@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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support for the STAC API free-text extension

3 participants