• Check out the results of the Techtree Contest #19!
  • Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

More lenient map search

Status
Not open for further replies.
That's how all consumer search engines work. They make a normalised form of the word entered and index it by that. Prisonbreak != Prison and will thusly not match.
It's like this for MySQL, PostgreSQL, ElasticSearch. I am not sure you can find tools that easily does what you want. Unfortunately.

If anyone wants to know. We're using ElasticSearch. If you have any sort of tips for how "this is done" I am very willing to listen.

Thank you Water for the suggestion.
 
I don't know much about Elasticsearch, but seems like there are regex Regexp query | Elasticsearch Guide [8.3] | Elastic and prefix Prefix query | Elasticsearch Guide [8.3] | Elastic queries. Those would of course not be as efficient. You could also pre-process the terms, doing your own normalizations, like by using a stemmer, then it would find maps with the term "Ruins" Warcraft 3 Custom Maps (multiplayer, campaigns, etc.) even if you type in "Ruin" Warcraft 3 Custom Maps (multiplayer, campaigns, etc.) or do word segmentation Viterbi algorithm for word segmentation for the Prisonbreak case.
 
Holy shit this might be easier than I thought:
1656873236997.png
 
Status
Not open for further replies.
Back
Top