public interface EvaluationContext
EvaluationContext defines a context with various resources that
 are needed for constraint evaluation.| Modifier and Type | Method and Description | 
|---|---|
| QueryHits | evaluate(org.apache.lucene.search.Query query)Evaluates the given lucene  queryand returns the query
 hits. | 
| org.apache.lucene.index.IndexReader | getIndexReader() | 
| ItemStateManager | getItemStateManager() | 
| SessionImpl | getSession() | 
QueryHits evaluate(org.apache.lucene.search.Query query) throws IOException
query and returns the query
 hits.query - the lucene query to evaluate.query.IOException - if an error occurs while reading from the index.org.apache.lucene.index.IndexReader getIndexReader()
SessionImpl getSession()
ItemStateManager getItemStateManager()
Copyright © 2004–2022 The Apache Software Foundation. All rights reserved.