## Uses of Class
org.apache.lucene.search.BooleanClause.Occur

- Packages that use BooleanClause.Occur
  Package | Description
  --- | ---
  org.apache.lucene.search | Code to search indices.

- - ### Uses of BooleanClause.Occur in org.apache.lucene.search

    Methods in org.apache.lucene.search that return BooleanClause.Occur
    Modifier and Type | Method and Description
    --- | ---
    `BooleanClause.Occur` | BooleanClause.`getOccur()`
    `static BooleanClause.Occur` | BooleanClause.Occur.`valueOf(String name)` Returns the enum constant of this type with the specified name.
    `static BooleanClause.Occur[]` | BooleanClause.Occur.`values()` Returns an array containing the constants of this enum type, in the order they are declared.

    Methods in org.apache.lucene.search with parameters of type BooleanClause.Occur
    Modifier and Type | Method and Description
    --- | ---
    `void` | BooleanQuery.`add(Query query, BooleanClause.Occur occur)` Adds a clause to a boolean query.
    `void` | BooleanClause.`setOccur(BooleanClause.Occur occur)`

    Constructors in org.apache.lucene.search with parameters of type BooleanClause.Occur
    Constructor and Description
    `BooleanClause(Query query, BooleanClause.Occur occur)` Constructs a BooleanClause.

Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.