Search returns no results for terms with an apostrophe

Yuki Tanaka Yuki Tanaka 4 months ago Resolved

Searching for can't or O'Brien returns nothing, even though posts containing those terms exist. Searching without the apostrophe works.

Looks like the apostrophe is breaking the query somewhere.

9

One caveat for larger communities: keep an eye on the indexes. At a few thousand rows the difference is night and day.

We ran into the same situation last quarter. What worked for us was starting small and only adding complexity when a real need showed up.

You can pin a topic from its action menu — look for "Pin to top." A space can hold more than one pinned topic; pinned items sort above the rest while keeping their own order.

Tried this on a staging copy first and it behaved exactly as described. Confident enough to roll it to production now.

Thanks for writing this up. Bookmarking it — the kind of thing I will want to reference again in a month.

Could you say more about how you measured the result? I want to try this but I am not sure what success would look like.