## Uses of Interface
org.modeshape.jcr.query.optimize.Optimizer

- Packages that use Optimizer
  Package | Description
  --- | ---
  org.modeshape.jcr.query.lucene | The core query engine, which currently uses Lucene for indexing and raw queries, and the Hibernate Search engine (which does not depend on or use Hibernate Core or JPA) for updating and querying the Lucene indexes.
  org.modeshape.jcr.query.optimize | This package contains the Optimizer interface, a rule-based optimizer implementation, and library of optimization rules.
  org.modeshape.jcr.query.process | This package defines the `QueryProcessor` interface, which is responsible for constructing for each query a tree of `ProcessingComponent` objects that each are responsible for processing a specific aspect of the query and returning the tuples to the parent component.

- - ### Uses of Optimizer in org.modeshape.jcr.query.lucene

    Constructors in org.modeshape.jcr.query.lucene with parameters of type Optimizer
    Constructor and Description
    `LuceneQueryEngine(ExecutionContext context, String repositoryName, Planner planner, Optimizer optimizer, org.hibernate.search.engine.spi.SearchFactoryImplementor searchFactory, org.apache.lucene.util.Version version, boolean enableFullTextSearch)`

  - ### Uses of Optimizer in org.modeshape.jcr.query.optimize

    Classes in org.modeshape.jcr.query.optimize that implement Optimizer
    Modifier and Type | Class and Description
    --- | ---
    `class` | `RuleBasedOptimizer` Optimizer implementation that optimizes a query using a stack of rules.

  - ### Uses of Optimizer in org.modeshape.jcr.query.process

    Fields in org.modeshape.jcr.query.process declared as Optimizer
    Modifier and Type | Field and Description
    --- | ---
    `protected Optimizer` | QueryEngine.`optimizer`

    Constructors in org.modeshape.jcr.query.process with parameters of type Optimizer
    Constructor and Description
    `QueryEngine(Planner planner, Optimizer optimizer, Processor processor)` Create a new query engine given the `planner`, `optimizer`, `processor`, and `schemata`.

Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.