Mojira Archive
MC-265241

Recipe book search no longer finds relevant items in languages where compound words are not separated

In 1.20.2 pre1, the search functionality of the recipe book was changed:

The search will only match the beginning of any word in the item's name.
For example, searching for "tor" will still show Torch and Redstone Torch but not Daylight Detector anymore

However, this change was very anglo-centric. The recipe book search now no longer works well for some, if not most, non-English languages.

This is because the new search assumes that every compound word is separated by spaces, which is just not the case in most languages.

Examples

All examples are from German, but I'm certain other languages are affected as well:

  • When searching for "Fackel" (torch), you no longer find "Seelenfackel" (soul torch) - but "Redstone-Fackel" (redstone torch) still can be found
  • When searching for "Spitzhacke" (pickaxe), you no longer find anything, because pickaxes are compound words like "Goldspitzhacke" (golden pickaxe)
  • Searching for "Stufe" (slab) will no longer find anything, since "stufe" is part of the word (example: "Sandsteinstufe", sandstone slab)

Fixed

[Mod] violine1101

2023-09-05, 04:29 PM

2023-09-06, 05:20 PM

2023-09-06, 02:52 PM

7

7

Confirmed

Very Important

Platform

Accessibility

recipe-book, search

1.20.2 Pre-release 1

1.20.2 Pre-release 2