Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Try https://simonwillison.net/search/?q=%22your+own+benchmarks%2...

Looks like we get 37 results, of which 2 are true positives.

Looks like "your" and "own" are both contained in the english.stop stopwords list. So you could fix this by removing stopwords from your dictionary.

While disabling the stemmer is relatively easy (use the 'simple' language setting for your ts_query), altering the stopword dictionaries is more involved, and not easy to maintain or pass between developers/environments, and not at all easy to share between queries.

And so the most common suggestion is to use ILIKE.

Lucene has no problems with any of this.



Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: