@peteruithoven
Copy link

I'm on elementary OS (Built on Ubuntu 18.04 LTS)
AppStream version: 0.12.5

I noticed an search issue in the elementary OS AppCenter: elementary/appcenter#942 which is apparently reproducible when using the appstreamcli search directly.

Summary of searching results:
cal / calc / calcu / calcul / calculator: Expected results like all sorts of calculator apps.
calcula / calculat: only 2 irrelevant seeming results (these where included with the results above)
calculato: No results

Searching calcul (using grep for brevity):

$ appstreamcli search calcul | grep calculator
Icon: mate-calc_accessories-calculator.png
Package: gnome-calculator
Icon: gnome-calculator_gnome-calculator.png
Identifier: deepin-calculator.desktop [desktop-application]
Package: deepin-calculator
Icon: deepin-calculator_deepin-calculator.png
Identifier: pcbcalculator.desktop [desktop-application]
Icon: kicad_pcbcalculator.png
Identifier: org.kde.plasma.calculator [generic]
Icon: plasma-widgets-addons_accessories-calculator.png
Identifier: io.elementary.calculator.desktop [desktop-application]
Package: pantheon-calculator
Icon: accessories-calculator
Summary: A simple calculator for chemistry
Summary: Homebrewer's recipe calculator
Summary: A high-precision scientific calculator
Summary: Graphing calculator emulator
Summary: A cute little Body Mass Index calculator
Summary: Powerful and easy to use calculator
Summary: a GTK 2 / GTK 3 algebraic and RPN calculator
Icon: kcalc_accessories-calculator.png
Summary: Resistor color code calculator

Searching calculat

$ appstreamcli search calculat
Identifier: org.kde.step.desktop [desktop-application]
Name: Step
Summary: Interactive Physical Simulator
Package: step
Homepage: http://edu.kde.org/step/
Icon: step_step.png
---
Identifier: soundkonverter.desktop [desktop-application]
Name: soundKonverter
Summary: Audio file conversion tool
Package: soundkonverter
Homepage: https://github.com/dfaust/soundkonverter
Icon: soundkonverter_soundkonverter.png

Searching calculato

$ appstreamcli search calculato
Unable to find component matching calculato!

I looked through the existing issues and all search issues seemed fixed quite a while ago.
Please let me know if I can provide more information.