Legacy Knowledge Base
Published Jul. 2, 2025

Partial search not working properly in Site Administration menus

Written By

Peter Schwarcz

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

Issue

  • Using the Toolbar Search functionality under the menus of Site Administration (such as Web Content, Blogs, Workflow submissions, etc.) will not return records as expected when the asterisk wildcard is in use in conjunction with only a substring of a record and without the first character.
  • One such example is if you have a record that goes:Order 12345
  • If you search for"*12345*", it returns the correct record. However, if you remove the first number from the search and leave everything intact,"*2345*"will not return it.
  • In a similar fashion, if you search for "*Order*", it will return the records, but "*rder*" will not return any of them.
  • Running a reindex does not help.

Environment

  • Liferay DXP 7.3

Resolution

  • As the absence of wildcard search affects all components that are using the Toolbar Search, it is a current limitation of the product.
    Therefore, a Feature Request has been opened accordingly: LPS-152695and you can follow the procedure on that ticket.
  • As a workaround, we can recommend customizing the code in KaleoInstanceModelPreFilterContributor.java, in the method appendAssetTitleTerm(), a WildcardQuery should be used instead of BooleanQuery, please check the following changes for further reference to help your implementation:
Did this article resolve your issue ?

Legacy Knowledge Base