Question

I'd like to make more robust searches by including keyword variants. The api doesn't appear to support wild cards or automatically include variants. Can someone at Eventbrite explain how to get the most out of the keyword parameter? Also, how are multiple keywords handled? Can a search handle doublets or longer sets? Can a search be done with boolean operators?

So far, I have only seen very simple searches (single word) working. What can I do to get more from this?

Était-ce utile?

La solution

Eventbrite uses Apache Lucene / SOLR for it's search back-end. This provides basic keyword stemming features and full-text search over the event title and description.

By default, multiple keywords are handled with an 'AND' operator: Searching for 'bikes' and 'tacos' (keywords=bikes%20tacos), should return all events that mention "taco" or "tacos" AND "bike" or "bikes". Keyword stemming support allows you to automatically match on most english-language pluralizations.

If you want to find all events that mention either 'bikes' OR 'tacos', you can separate your keywords with an 'OR' clause (keywords=bikes%20OR%20tacos).

The event_search API documentation page should contain the most recent information on how to use this method's keyword parameter. You should be able to test your queries using the interactive 'Try it Now!' section located on that page.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top