DxpLife The practical Liferay DXP knowledge hub
Talk to us

Home/Field Guide/Sites, CMS & commerce

CONCEPT 21

Search, indexing, and relevance

Diagnose visibility, query behavior, and tuning before making search changes.

9 minEngine / entitlement dependent

Treat search as a derived view

Liferay indexes supported assets into a compatible search engine. Writes to the database and visibility in a search result can be separated by processing time and indexing behavior. Search also applies scope, filters, and permission checks. A missing result is a symptom with several possible causes.

Trace a missing result

  1. Confirm the asset exists, is active or published as expected, and can be read by the test user through its normal detail path.
  2. Verify that the asset type and relevant fields are indexed. Inspect index health and use the supported administrative tools to inspect the document when available.
  3. Reproduce the query with the same scope, locale, filters, and identity. Compare guest and signed-in behavior.
  4. Check analysis, synonyms, boosts, and exact-match behavior. Reindex when the documented change requires it and plan the load impact.

Tune with a relevance set

Collect representative queries, expected useful results, and protected records that must stay hidden. Use built-in search widgets and available tuning first. Search Blueprints can compose and tune queries on eligible deployments. Treat Blueprint changes as versioned configuration and test performance and permission behavior before promotion.

Official references