Uploaded image for project: 'Ibexa IBX'
  1. Ibexa IBX
  2. IBX-7236

[autocomplete] Suggestions only work with entire words

    XMLWordPrintable

Details

    Description

      Preconditions:

      • Set in config/packeges/ibexa.yaml the following configuration
      search:
         suggestion:
              min_query_length: 3
              result_limit: 10 
      • Add several contents with at least 3 characters long and random strings e.g use, user, users, user group etc.

      Steps to reproduce

      1. Log in to back office.
      2. Go to Content / Content structure.
      3. In 'Global search' at the top of the page start typing content names from preconditions (type only first three characters of content name e.g use
      4. Verify displayed search results.

      Actual result:

      The search engine only returns results that are equal one to one.

      Expected result:

      The search should display all results after typing 3 characters that meet conditions.

      Note:
      Here you can find technical documentation (Suggestions section): https://ibexa.atlassian.net/wiki/spaces/Product/pages/159973389/Global+Search+Enhancements

      Note2:
      The search engine returns only results when entire content name is typed.

      Note3:

      I have several items named "test_article_0", "test_article_1" etc. And if I type "article" search will suggest many results, but if I type "test" there is nothing to suggest.

      Designs

        Attachments

          Activity

            People

              Unassigned Unassigned
              bogdan.mazur@ibexa.co Bogdan Mazur
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: