org.elasticsearch.index.cache.query.parser.none
Class NoneQueryParserCache

java.lang.Object
  extended by org.elasticsearch.index.AbstractIndexComponent
      extended by org.elasticsearch.index.cache.query.parser.none.NoneQueryParserCache
All Implemented Interfaces:
CloseableComponent, QueryParserCache, IndexComponent

public class NoneQueryParserCache
extends AbstractIndexComponent
implements QueryParserCache


Field Summary
 
Fields inherited from class org.elasticsearch.index.AbstractIndexComponent
componentSettings, index, indexSettings, logger
 
Constructor Summary
NoneQueryParserCache(Index index, Settings indexSettings)
           
 
Method Summary
 void clear()
           
 void close()
           
 org.apache.lucene.search.Query get(QueryParserSettings queryString)
           
 void put(QueryParserSettings queryString, org.apache.lucene.search.Query query)
           
 
Methods inherited from class org.elasticsearch.index.AbstractIndexComponent
index, nodeName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.elasticsearch.index.IndexComponent
index
 

Constructor Detail

NoneQueryParserCache

@Inject
public NoneQueryParserCache(Index index,
                                   @IndexSettings
                                   Settings indexSettings)
Method Detail

get

public org.apache.lucene.search.Query get(QueryParserSettings queryString)
Specified by:
get in interface QueryParserCache

put

public void put(QueryParserSettings queryString,
                org.apache.lucene.search.Query query)
Specified by:
put in interface QueryParserCache

clear

public void clear()
Specified by:
clear in interface QueryParserCache

close

public void close()
           throws ElasticSearchException
Specified by:
close in interface CloseableComponent
Throws:
ElasticSearchException


Copyright © 2009-2012. All Rights Reserved.