ExtendedQuery (Solr 3.6.2 API)
Keywords: org.apache.solr.search.ExtendedQuery interface

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.solr.search
Interface ExtendedQuery

All Known Subinterfaces:
  PostFilter

All Known Implementing Classes:
  ExtendedQueryBase, SolrConstantScoreQuery, WrappedQuery

    public interface ExtendedQuery

The ExtendedQuery interface provides extra metadata to a query. Implementations of ExtendedQuery must also extend Query.

Method Summary
`boolean` | `getCache()` Should this query be cached in the query cache or filter cache.
`boolean` | `getCacheSep()` If true, the clauses of this boolean query should be cached separately.
`int` | `getCost()` Returns the cost of this query, used to order checking of filters that are not cached.
`void` | `setCache(boolean cache)`
`void` | `setCacheSep(boolean cacheSep)`
`void` | `setCost(int cost)`

Method Detail

### getCache

    boolean getCache()

  Should this query be cached in the query cache or filter cache.

### setCache

    void setCache(boolean cache)

### getCost

    int getCost()

  Returns the cost of this query, used to order checking of filters that are not cached. If getCache()==false && getCost()>=100 && this instanceof PostFilter, then the PostFilter interface will be used for filtering.

### setCost

    void setCost(int cost)

### getCacheSep

    boolean getCacheSep()

  If true, the clauses of this boolean query should be cached separately. This is not yet implemented.

### setCacheSep

    void setCacheSep(boolean cacheSep)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD