• The site has now migrated to Xenforo 2. If you see any issues with the forum operation, please post them in the feedback thread.
  • An addendum to Rule 3 regarding fan-translated works of things such as Web Novels has been made. Please see here for details.
  • Emergency notice: We are currently being invaded by zombies. See this thread for details.
  • Due to issues with external spam filters, QQ is currently unable to send any mail to Microsoft E-mail addresses. This includes any account at live.com, hotmail.com or msn.com. Signing up to the forum with one of these addresses will result in your verification E-mail never arriving. For best results, please use a different E-mail provider for your QQ address.
  • For prospective new members, a word of warning: don't use common names like Dennis, Simon, or Kenny if you decide to create an account. Spammers have used them all before you and gotten those names flagged in the anti-spam databases. Your account registration will be rejected because of it.
  • Since it has happened MULTIPLE times now, I want to be very clear about this. You do not get to abandon an account and create a new one. You do not get to pass an account to someone else and create a new one. If you do so anyway, you will be banned for creating sockpuppets.
  • Due to the actions of particularly persistent spammers and trolls, we will be banning disposable email addresses from today onward.
  • The rules regarding NSFW links have been updated. See here for details.

Tag search is a bit weird when the tag is multi-word

tilkau

Not too sore, are you?
Joined
Apr 23, 2014
Messages
345
Likes received
900
eg : https://forum.questionablequesting.com/tags/bi-disaster-protagonist/
  • The actual filtering for threads appears correct: all the threads returned do, in fact, feature the requested tag.
  • The highlighting is strange. The tag 'bi disaster protagonist' is fully bolded. But then, 'protagonist' is independently bolded within the tags 'female protagonist', 'succubus protagonist', 'male protagonist'. It seems that the bolding may be being applied on the basis of matching individual words, rather than the entire tag. Looking at the page with Inspector confirms this -- each word has <em> individually applied, so for example instances of the tag 'bi disaster protagonist' contain 3 <em></em> clauses.
  • Applying this 'full text search' style matching makes sense for post contents, but not for tags, IMO
While investigating this I also found one other oddity:
'bi' is included in the list of tags offered as you type in the Tags Search bar, but if you select 'bi' and hit Search, it gives an error: 'the following tags could not be found : bi'.
Something is confused. The other items offered after typing 'bi' appear to all be recognized as valid tags, so I wonder if this is about the shortness of the tag.
 
eg : https://forum.questionablequesting.com/tags/bi-disaster-protagonist/
  • The actual filtering for threads appears correct: all the threads returned do, in fact, feature the requested tag.
  • The highlighting is strange. The tag 'bi disaster protagonist' is fully bolded. But then, 'protagonist' is independently bolded within the tags 'female protagonist', 'succubus protagonist', 'male protagonist'. It seems that the bolding may be being applied on the basis of matching individual words, rather than the entire tag. Looking at the page with Inspector confirms this -- each word has <em> individually applied, so for example instances of the tag 'bi disaster protagonist' contain 3 <em></em> clauses.
  • Applying this 'full text search' style matching makes sense for post contents, but not for tags, IMO
While investigating this I also found one other oddity:
'bi' is included in the list of tags offered as you type in the Tags Search bar, but if you select 'bi' and hit Search, it gives an error: 'the following tags could not be found : bi'.
Something is confused. The other items offered after typing 'bi' appear to all be recognized as valid tags, so I wonder if this is about the shortness of the tag.
That would be because you've forgotten to put quotes around it. "Bi Disaster Protagonist" searches for that specifically, Bi Disaster Protagonist searches for any tag with any of those words while showing the "Bi Disaster Protagonist" tag first as it the most of the searched terms in it.
 
That would be because you've forgotten to put quotes around it.
"forgotten"
This is literally the output of the tag search autocomplete, which produces not quotable text but a tag widget.

If it isn't by default quoted and it should somehow be quoted, then the autocomplete is bugged in the case of multiple words. It doesn't make any sense to "search a tag" as if it were a pile of individual terms when the interface presents the tag explicitly as a single term. Further, if you enter multiple tags, then they really are searched as single terms (by numeric tag id -- you can see this in the URL)

If we weren't talking about the output of the autocomplete, I'd be more open to your argument.

EDIT:
I have also confirmed
a) you can quote terms when entering them in the tag search, but the autocomplete just gets rid of the quotes when you confirm your choice, so this has no effect.
b) there is no obvious way to quote a single tag widget -- you cannot move the cursor back before it in order to open the quote.
 
Last edited:

Users who are viewing this thread

Back
Top