Class QueryConfiguration

All Implemented Interfaces:
Matchable<QueryConfiguration>, Updatable<QueryConfiguration>

public class QueryConfiguration extends ConfigurationElement<QueryConfiguration>
Configures query options and defaults
  • Field Details

  • Constructor Details

    • QueryConfiguration

      protected QueryConfiguration(AttributeSet attributes)
  • Method Details

    • defaultMaxResults

      public int defaultMaxResults()
      Limits the number of results returned by a query. Applies to indexed, non-indexed, and hybrid queries. Setting the default-max-results significantly improves performance of queries that don't have an explicit limit set.