Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4082024
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T18:08:10+00:00 2026-05-20T18:08:10+00:00

Jeff mentions in https://blog.stackoverflow.com/2011/03/redesigned-users-page/ that Searches are match anywhere again, but the minimum match

  • 0

Jeff mentions in https://blog.stackoverflow.com/2011/03/redesigned-users-page/ that

  • Searches are “match anywhere” again, but the minimum match is now 3 characters.

Excellent stuff! This was "broken" for quite a while due to the performance of a LIKE match, and the fact that fulltext searching is inexactl (for example, initials in a user name would be too short to feature in any fulltext index).

There must be a way to to this and I have an idea, but I would like to see if anyone already has a solution (alternative) for this challenge.

Sample query:

SELECT TOP 36 *
FROM users
WHERE nickname LIKE '%' + @search + '%'

Note: even though the tag is sql-server due to maximum of 5 tags, I am more than happy to investigate solutions in other RDBMS for portability.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T18:08:10+00:00Added an answer on May 20, 2026 at 6:08 pm

    Postgres at least recently added a trigram-matching solution to its standard modules. It rewrites a LIKE query into multiple trigram-matching queries. Unfortunately, the index sizes tend to be huge.

    There is also Wildspeed, which also suffers from huge indices. I guess the size depends much on column length.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In a recent Stackoverflow podcast (#59) , Jeff Atwood mentions that Stackoverflow has some
About 10 stackoverflow.com podcasts back Jeff mentioned that instead of wiring up his routes
In the StackOverflow Podcast #54 , Jeff mentions they register their URL routes in
A recent blog entry by a Jeff Atwood says that you should never parse
Jeff Atwood argues that we should stop asking users to register on our websites
On the Stackoverflow podcast this week, Jeff mentioned that in 2004 he wrote a
I am using the blitting technique that Jeff from 8bitrocket.com uses for creating tiles.
Jeff has mentioned in the past that dealing directly with the advertiser is a
I noticed that in Jeff's slides Challenges in Building Large-Scale Information Retrieval Systems, which
After reading Jeff's blog post on Protecting Your Cookies: HttpOnly . I'd like to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.