Hi @luceos . I made some more tests earlier today and checked that it's not actually behaving like I mentioned. I'll try to explain below, but what should I do with this discussion? Should I delete and recreate (explaining better what it's going on) or just put an observation in the beginning of the discussion?
So I'm creating automated discussions on Flarum using its API. All of them have a button linking to my main website as the content of the initial post. Some of them have an intro text before this button.
What I observed is that Flarum seems to be searching only using the post contents as a criteria (despite of being highlighting both title and post content on the user interface, if the search term appears on both). Below is an example to illustrate that.
Discussion:
id,title,comment_count,participant_count,post_number_index,created_at,user_id,first_post_id,last_posted_at,last_posted_user_id,last_post_id,last_post_number,hidden_at,hidden_user_id,slug,is_private,is_approved,is_locked,is_sticky
217,"The Cause Of Fast Radio Bursts To Be Discovered In 2018?",1,1,1,"2020-07-03 22:25:37",1,223,"2020-07-03 22:25:37",1,223,1,NULL,NULL,the-cause-of-fast-radio-bursts-to-be-discovered-in-2018,0,1,0,0
Post:
id,discussion_id,number,created_at,user_id,type,content,edited_at,edited_user_id,hidden_at,hidden_user_id,ip_address,is_private,is_approved
223,217,1,"2020-07-03 22:25:37",1,comment,"<r><p><p><span>Fast radio bursts (FRBs) can generate as much energy as 500 million Suns in mere milliseconds and could be occurring every single second - but we still have very little insight into what's causing these crazy powerful explosions in our Universe</span></p></p>
<p><URL url="https://example.com/q/12345"><s>[</s>View Question<e>](https://example.com/q/12345)</e></URL></p></r>",NULL,NULL,NULL,NULL,::1,0,1
Just to summarize what's above, I have a discussion with the following content:
Title: The Cause Of Fast Radio Bursts To Be Discovered In 2018?
Initial post content: Fast radio bursts (FRBs) can generate as much energy as 500 million Suns in mere milliseconds and could be occurring every single second - but we still have very little insight into what's causing these crazy powerful explosions in our Universe
If I search for "Discovered", I get no results. If I search for "Radio", this discussion appears. This is what actually happening among other posts I mentioned. My previous tests were biased because I was creating manually the discussions copying and pasting the discussion title on the content.
Is this a bug I should report? Or is there a configuration I need to set somewhere?
Thank you!