[PR2 Bug] Level Search Bugs
#3
I fixed the problem with not being able to search for the literal words for numbers. As it turns out, the engine the database was using for the levels table (MyISAM) had certain words that couldn't be searched (AKA "stopwords"), so I changed it to a different one (InnoDB). A full list of stopwords for both engines is here: https://dev.mysql.com/doc/refman/5.7/en/...words.html.

By changing to InnoDB, the minimum character threshold was automatically lowered to 3 (instead of 4) for searches. That means that concern #1 in OP was fixed as a result of the fix for #3.

Concern #2 is proving to be a bit more difficult to fix. I can change the search mode to natural language from boolean which will fix it, but operators like quotation marks (for literal matches), minus signs (to exclude words), etc. won't work anymore. The next question, though: do we care? Or rather, which do we care about preserving more?

Thanks for outlining all the problems with the search function, @Dexterity! This was a long-overdue change.

Edit: It looks like quotation marks still work, which is enough for me. I'm gonna call concern #2 fixed.

Edit #2: Okay, it seems like I have some work to do on the sorting. Also, title searches seem to be significantly slower now. I'll work on this a bit more tonight.


I post about the latest site updates on the Dev Log. If you have suggestions, feel free to post them here.
@Eternal and I pay for this site out of our own savings. Please consider donating to help keep Jiggmin's Village running.
The Following 1 User Says Thank You to bls1999 For This Useful Post:
  • Dexterity
Reply


Messages In This Thread
Level Search Bugs - by Dexterity - 29th March 2021, 2:46 PM
RE: Level Search Bugs - by Colind - 29th March 2021, 5:02 PM
RE: Level Search Bugs - by bls1999 - 29th March 2021, 7:03 PM
RE: Level Search Bugs - by Camer the Dragon - 29th March 2021, 10:23 PM
RE: Level Search Bugs - by Dexterity - 30th March 2021, 9:02 AM
RE: Level Search Bugs - by bls1999 - 30th March 2021, 6:02 PM
RE: Level Search Bugs - by Colind - 30th March 2021, 6:36 PM
RE: Level Search Bugs - by bls1999 - 30th March 2021, 6:43 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)