News for hackers. Stuff that matters.
Re:Instacart launches Searchkick - Bootstrap for Search by boomzilla on Tuesday July 30, 2013 @05:52PM (#6130293)
Hardcoding your scoring function here is a bad, bad idea:

https://github.com/ankane/searchkick/blob/master/lib/searchk...

Just curious, how many docs are you indexing?

Re:Instacart launches Searchkick - Bootstrap for Search by smartt on Wednesday July 31, 2013 @02:08PM (#6135690)
I'm curious about this "bad, bad idea" theory too. For our site, I have a handful of hard-coded scoring functions that the site can select from based on search context, and it's far more supportable and debuggable than some of the dynamic query assembly approaches I've tried in the past.

ElasticSearch is a wonderful product that is a real pain to tune, so I'm curious if there's a better approach I'm missing.

Re:Instacart launches Searchkick - Bootstrap for Search by akane on Tuesday July 30, 2013 @06:09PM (#6130388)
We're indexing around 100k documents. What line are you referring to, and what's bad about it?