Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Full-text Search #9

Open
lukehesluke opened this issue Aug 14, 2018 · 1 comment
Open

Full-text Search #9

lukehesluke opened this issue Aug 14, 2018 · 1 comment

Comments

@lukehesluke
Copy link

Proposer

imin

Use Case

As a customer of an Opportunity API, I would like to be able to find opportunities that match some specific text like "run", "park", "spin", "pool", "climb", etc

Why is this not covered by existing properties?

The closest is activity.prefLabel, category.prefLabel. "park" and "pool" could also be covered by amenities or facilities

However, full text search provides greater flexibility and allows a customer to not have to navigate the specifics of the spec

Please provide a link to example data

N/A

Proposal

This does not fit with the Filtering proposal (#1) as it does not reference a specific field in Events

However, this is also true of sort (#4) so potentially not a problem

Therefore, how about search

Example

e.g. /?search=park&sort=subEvent.startDate,asc&location.geo[radial]=51.5,-0.28,10

@nickevansuk
Copy link
Contributor

Probably worth looking through some for the references in #1 for common patterns, e.g. I've noticed ?q= for global search...

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

No branches or pull requests

2 participants