Similar topic preview doesn't show up


#1

I want to have ‘Your topic is similar to…’ on the right side when creating a topic, but I do not see it show up. I can find it when I type search. I have the character limit for similar topic as 5, which is much less than what I have already typed.

In the networking tab, I can see this:
hostname/similar_topics?title=titlenamehere&_=1533600784172

and the response is:
similar_topics:[]

How do I fix this? I updated to the newest version of discourse, and I also used

./launcher stop app
./launcher start app

#3

I dont see anything useful in production.log

Started GET "/similar_topics?title=test%20thread&_=1533839202330" for 131.107.160.186 at 2018-08-09 18:26:51 +0000
Processing by SimilarTopicsController#index as JSON
  Parameters: {"title"=>"test thread", "_"=>"1533839202330"}
Completed 200 OK in 8ms (Views: 0.2ms | ActiveRecord: 3.3ms)
Started POST "/draft.json" for 131.107.160.186 at 2018-08-09 18:26:51 +0000

#4

I dont know… is it maybe an indexing issue?
I can see the api call is being made, and the response is just empty list.
If I search for it on search bar, it works fine…
How do I go about debugging this?


(Jeff Atwood) #5

Is this still happening for you on latest?