phillipadsmith / A-Slippery-Fish

Mobile Web application for TheTyee.ca (Moved to The Tyee's Github account)
https://github.com/TheTyee/Project-Coho
2 stars 0 forks source link

Searching on more than one term returns no results #1

Closed phillipadsmith closed 13 years ago

phillipadsmith commented 13 years ago

Try searching for "local food" or "BC politics". No results.

gregheo commented 13 years ago

It works a bit better now. I switched to the analyzed "field" kind of query. We (meaning you?) will need to tune the exact ES query parameters for which fields get searched, boost, etc.

http://www.elasticsearch.com/docs/elasticsearch/rest_api/query_dsl/

phillipadsmith commented 13 years ago

Yep. Seems to work much better now. But, yes, you're right: I'll need to do some thinking about the actual query that's triggered ... as right now it's just searching on title, and I think we'll want something more thorough.