mirror of
https://github.com/discourse/discourse.git
synced 2025-06-01 09:08:10 +08:00
Improve search results by introducing an aggregate post search data
filter. It seems performant despite the extra content being searched.
This commit is contained in:
@ -195,7 +195,9 @@ describe Search do
|
||||
it 'returns the post' do
|
||||
result.should be_present
|
||||
result[:title].should == topic.title
|
||||
result[:url].should == reply.url
|
||||
|
||||
# The link is to the topic url because it's aggregated
|
||||
result[:url].should == topic.relative_url
|
||||
end
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user