@Experimental public interface LuceneQueryProvider extends java.io.Serializable
LuceneQueryProvider's toData method will be used to serialize it when it is sent to another member of the distributed system. Implementation of DataSerializable can provide a zero-argument constructor that will be invoked when they are read with DataSerializer.readObject.
org.apache.lucene.search.Query getQuery(LuceneIndex index) throws LuceneQueryException
index- local lucene index the query is being constructed against.
LuceneQueryException- if the provider fails to construct the query object