Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Manfred Klinger 12 posts 82 karma points
    Sep 25, 2023 @ 11:12
    Manfred Klinger
    0

    Umbraco Backoffice Search: wrong searching order

    I have a huge bug in all of my Umbraco projects which probably is a standard Umbraco problem. If I want to use the standard backoffice search clicking on the magnifier on the upper right corner and type in something, it often happens that the search does one single search every time I type in another letter. When I type in a certain speed, these results come in in the wrong order and then overwrite the results with more letters.

    In the example of the screenshot, I typed in Hello World, but everything was evaluated in a different order and in the end, results which came in later overwrote the results of newer inputs. This only happens if one types in a certain speed, not too slow, not too fast, but it is annoying. Also, it is happening with higher probably if the database is bigger, so the answering time is higher.

    I am not entirely sure in which Umbraco versions this is happening or of that bug got fixed. I happens both in Umbraco 8 and 10, but I have no Umbraco 12 instance to test that.

    Does anybody know more about that and is there a way to fix that? It might be difficult to do so since it is the standard Umbraco search and nothing customised.

    enter image description here

    enter image description here

  • Huw Reddick 1929 posts 6697 karma points MVP 2x c-trib
    Sep 25, 2023 @ 12:48
    Huw Reddick
    0

    I tried to repeat your issue but unfortunately couldn't, the requests were allways in the correct order

  • Manfred Klinger 12 posts 82 karma points
    Sep 25, 2023 @ 12:55
    Manfred Klinger
    0

    Which version of Umbraco are you using?

    This is in fact a weird edge case which requires to things: 1) the database must be bigger so the reaction time is higher 2) the typing speed must be a certain one. If you type too slow, then Umbraco has enough time to answer each request in correct order; if you type too fast, it only evaluates the full string without intermediate steps.

  • Huw Reddick 1929 posts 6697 karma points MVP 2x c-trib
    Sep 25, 2023 @ 14:22
    Huw Reddick
    0

    Which version of Umbraco are you using?

    I tried in 8 and 10 (latest versions)

    How big is bigger?

  • Manfred Klinger 12 posts 82 karma points
    Sep 26, 2023 @ 08:07
    Manfred Klinger
    0

    Not sure but it is not giant. We have some thousand members and like 20-30 pages, but not giant numbers

Please Sign in or register to post replies

Write your reply to:

Draft