org.elasticsearch.search.query
Interface QuerySearchResultProvider

All Superinterfaces:
SearchPhaseResult, Streamable
All Known Implementing Classes:
QueryFetchSearchResult, QuerySearchResult

public interface QuerySearchResultProvider
extends SearchPhaseResult


Method Summary
 boolean includeFetch()
          If both query and fetch happened on the same call.
 QuerySearchResult queryResult()
           
 
Methods inherited from interface org.elasticsearch.search.SearchPhaseResult
id, shardTarget, shardTarget
 
Methods inherited from interface org.elasticsearch.common.io.stream.Streamable
readFrom, writeTo
 

Method Detail

includeFetch

boolean includeFetch()
If both query and fetch happened on the same call.


queryResult

QuerySearchResult queryResult()


Copyright © 2009-2012. All Rights Reserved.