Display "Similar To" earlier if we have an exact title match

At the moment, we hold off on doing a similarity search for topics till there is a minimal amount of text in the body of a topic.

This has 2 flaws:

  1. If there is an exact title match we do not display it early (you may only find out after save)

  1. If there is an exact title match we are not even guaranteed to find it

I think we should leave a special magical spot for “exact topic title match” at the top of the similar dialog and even try to get it there earlier if possible as soon as you tab out of the title.

Regardless it saves people time cause if they have dupe title to start with, either

  1. The title is pretty bad and needs to be fixed
  2. Its actually a duplicate
8 Likes

I think it’s easier to just ignore the body requirement, definitely use body if you have it, otherwise match on title only. Probably an easy code change?

3 Likes

Can you add this to your list @zogstrip?

1 Like

Ok this is now in :peach:

https://github.com/discourse/discourse/commit/8ed318c4fe5fa4189945df668ad131c82adbacee

4 Likes