I installed everything using ElasticSearch and SearchKick, however I cannot get it to work the way I want. I need to have some queries.
My model, a car, has two attributes, such as "Make" and "Year." I can do it:
Car.search( query: { match: {make: { query: "toyota" } }} )
How to find matches that belong to Toyoto, but also related to a particular year, say, 2012.
thanks
source
share