org.elasticsearch.index.percolator
Class PercolatorExecutor
java.lang.Object
org.elasticsearch.index.AbstractIndexComponent
org.elasticsearch.index.percolator.PercolatorExecutor
- All Implemented Interfaces:
- IndexComponent
public class PercolatorExecutor
- extends AbstractIndexComponent
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PercolatorExecutor
@Inject
public PercolatorExecutor(Index index,
@IndexSettings
Settings indexSettings,
MapperService mapperService,
IndexQueryParserService queryParserService,
IndexCache indexCache)
setIndicesService
public void setIndicesService(IndicesService indicesService)
close
public void close()
addQuery
public void addQuery(String name,
QueryBuilder queryBuilder)
throws ElasticSearchException
- Throws:
ElasticSearchException
addQuery
public void addQuery(String name,
BytesReference source)
throws ElasticSearchException
- Throws:
ElasticSearchException
parseQuery
public org.apache.lucene.search.Query parseQuery(String name,
BytesReference source)
throws ElasticSearchException
- Throws:
ElasticSearchException
removeQuery
public void removeQuery(String name)
addQueries
public void addQueries(Map<String,org.apache.lucene.search.Query> queries)
percolate
public PercolatorExecutor.Response percolate(PercolatorExecutor.SourceRequest request)
throws ElasticSearchException
- Throws:
ElasticSearchException
percolate
public PercolatorExecutor.Response percolate(PercolatorExecutor.DocAndSourceQueryRequest request)
throws ElasticSearchException
- Throws:
ElasticSearchException
Copyright © 2009-2012. All Rights Reserved.