Optimize Query Operations

Query operations include any action that requests data from IDOL Server (particularly the IDOL Content component), for example:

  • Query
  • Suggest
  • SuggestOnText
  • GetQueryTagValues

Query speed can be particularly important because users require a real-time response to any query. This section describes how to optimize the performance of query operations.

The IDOL Content component Query action allows you to search for documents using a number of restrictions and criteria. The main types of query are:

  • Text. The query contains a natural language expression, which can also contain Boolean or Proximity operators. The IDOL Content component finds documents that contain concepts that are similar to the given text, and that match any additional operations.

  • FieldText. The query contains restrictions that specify values that must occur in specified fields. For example, you can restrict a query to documents that contain the term Dog in the Animal field.

Simple Text queries are generally quicker than FieldText queries.