Live data from Hacker News

Instacart launches Searchkick - Bootstrap for Search

rocketship.instacart.com

21–23 of 23 posts

Re: Instacart launches Searchkick - Bootstrap for Search

#21

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?

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

#22
post #5
post #2

This looks pretty good. Though many of the features are already baked into PostgreSQL's full-text search, out of the box this seems to add enough value to get me interested. I'll definitely be checking this out further.

Upvoted, and I'll pile on. Wordnet [1] already has addons for Postgres. [1] - https://github.com/taotetek/wordnet-postgres

Can you clarify... does this addon simply store the Wordnet data inside Postgres, or actually let the postgres full-text search do query-expansion-to-synonyms?

Re: Instacart launches Searchkick - Bootstrap for Search

#23
post #22
post #5

Earlier quoted context omitted.

Upvoted, and I'll pile on. Wordnet [1] already has addons for Postgres. [1] - https://github.com/taotetek/wordnet-postgres

Can you clarify... does this addon simply store the Wordnet data inside Postgres, or actually let the postgres full-text search do query-expansion-to-synonyms?

Sure. There are functions in this package. This link is better, which explains how the functions will work.

http://wnsqlbuilder.sourceforge.net/sql.html

Post reply on HN