Knowledge Base

Using HiliteFields in your Ingeniux InSite Search Implementation

Optimize search result displays in Ingeniux CMS with the HiliteFields feature in InSite Search. Learn how to customize and prioritize specific fields for more relevant and focused search results.


In Ingeniux InSite Search, the HiliteFields feature is a tool that helps tailor search result fragments to highlight relevant content based on specific fields. By default, when a search is conducted using InSite Search, it returns all matching fields where the search term is found. However, enabling and configuring HiliteFields allows you to control which fields are prioritized in the search results and how they are displayed.

How HiliteFields Works

When you enable HiliteFields, the search results are organized according to the fields specified in the configuration file. These fields are displayed in the order listed until the maximum character limit for the search result fragments is reached. If a specified field does not contain the search term, it is simply excluded from the results. This ensures that only relevant content is highlighted, making the search results more focused and meaningful.

Customizing HiliteFields

Customizing the fields to be highlighted is straightforward. You specify the desired fields in an XML configuration file, HiliteFields.xml. This file allows you to list the fields that should be considered when generating search result fragments. You can also use attributes like wildcard and partialfieldnamematch to broaden or refine the search within specific fields.

For example, using the wildcard attribute allows you to include all instances of a field name across your content, which is useful if you have multiple variations of a field (e.g., "Title_One," "Title_Two"). Similarly, partialfieldnamematch enables matching based on part of a field name, providing more flexibility in how results are retrieved and displayed.

Advantages of Using HiliteFields

The main benefit of using HiliteFields is the improved relevance and clarity in search results. By limiting the returned fragments to specific fields, users can quickly find the information they are searching for without wading through less relevant content. This can be particularly useful in large content repositories where multiple fields might contain the search term, but not all are equally important to the user.

Additionally, once configured, HiliteFields makes ongoing search management easier. Any updates to the configuration file are automatically reflected in the search results, ensuring that the system remains aligned with your content and search priorities without the need for frequent manual adjustments.

HiliteFields in Ingeniux CMS offers an efficient way to manage and optimize search result displays, enhancing the user experience by focusing on the most relevant content.

Digging Deeper

For a full list of the articles in this series on Ingeniux InSite Search, see the article Introducing Ingeniux InSite Search.

    For more detailed information, see our support site documentation and tutorials:

    • PRODUCT: CMS, InSite Search
    • VERSION: CMS 10
    • RELEASE: 10.6
    • Published: September 2, 2024
    • LAST UPDATED: September 25, 2024
    • Comments: 0

    Please login to comment

    Comments


    There are no comments yet.