Hi, I'm using the search query and it's all working but I'm having trouble searching for names which include a space. Searching for Player 1 will show all player ( 1, 2, 3 etc) how do I make player one only show player 1, player 2 only show player 2 etc
Summary
The user was having trouble searching for names that include a space. They found a solution by looping the query for each word. Another suggestion was to try searching for `"player 1"` instead of `player 1` (wrap with double quotes). If that didn't work, it was mentioned that the word "1" might be too short and ignored from the search index. For more information on how the search works, a link was provided.
Drake
Jul 22, 2023, 21:10
maybe you can try searching for "player 1" instead of player 1 (wrap with double quotes).
If that doesn't work, there might not be anything else that can be done because the word "1" is too short and is ignored from mariadb's search index.
That was just an example but it's ignoring everything after the space no matter the length
IsItBathTime
Rank 3: Container
Jul 22, 2023, 21:18
IsItBathTime
Rank 3: Container
Jul 22, 2023, 21:19
Search.select recognises spaces but it only returns names if its an exact full match, so entering bilal will so no results which is also not what I want
IsItBathTime
Rank 3: Container
Jul 22, 2023, 21:22
"letters, digits, and underscores" perhaps it isn't meant to index spaces
IsItBathTime
Rank 3: Container
Jul 22, 2023, 21:29
IsItBathTime
Rank 3: Container
Jul 22, 2023, 21:30
I've managed to resolve it Steve by looping the query for each word
IsItBathTime
Rank 3: Container
Jul 22, 2023, 21:30
Perhaps take note if anyone else runs into this issue as there's a simple solution, thanks for your help 👌
Drake
Jul 22, 2023, 21:33
[SOLVED] How to get Query. Search to consider spaces.