Opened 2 years ago
Last modified 19 months ago
#6355 new defect (bug)
Search at "Forum Replies Created" is only working on single words
Reported by: | nextend_ramona | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Component: | Support Forums | Keywords: | |
Cc: |
Description
When you visit https://wordpress.org/support/users/[username]/replies/ you can search within the replies the person made.
The problem is that the search only works if you search for a single word. If you search for more than one word, there are no result even if you search for, for example, two words that are right next to each other.
See my profile for example:
https://wordpress.org/support/users/nextend_ramona/replies/
Currently the latest reply I made starts with the following sentence:
Were you able to figure it out?
If you randomly pick a word, say figure and search for it, you get (at the moment) 84 results:
https://wordpress.org/support/users/nextend_ramona/replies/?rs=figure
Screenshot: https://imgur.com/FmrrkYt
But, if you search for, for example figure it out
https://wordpress.org/support/users/nextend_ramona/replies/?rs=figure+it+out
then there are no results.
Screenshot: https://imgur.com/2ZJw6T4
Attachments (2)
Change History (6)
#1
follow-up:
↓ 2
@
2 years ago
Is it encoding the spaces as +
and then the +
become -
so it isn't found?
(Also, small words are usually stopwords...)
#2
in reply to:
↑ 1
@
2 years ago
Replying to joyously:
Is it encoding the spaces as
+
and then the+
become-
so it isn't found?
That might be the reason. I'm not 100% sure, I just noticed and thought I'll report it for someone to look at who has a better understanding on how this should work.
Replying to joyously:
(Also, small words are usually stopwords...)
I didn't think of that, but my original search (which lead me notice this) contained longer words, I brought "figure it out" as a quick example for whoever looks into it. The issue also happens with the first reply's "problem still happens" or "premium theme" and "already positioned" from a few replies lower. So I don't think it's a "stopword" issue, as none of these words should be stop words, unless I have a very bad idea on what a stopword is.
Searching for a single word