Spring Data Solr

org.springframework.data.solr.core.query
Interface HighlightQuery

All Superinterfaces:
Query, SolrDataQuery
All Known Implementing Classes:
SimpleHighlightQuery

public interface HighlightQuery
extends Query

Author:
Christoph Strobl

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.springframework.data.solr.core.query.Query
Query.Operator
 
Field Summary
 
Fields inherited from interface org.springframework.data.solr.core.query.Query
DEFAULT_PAGE_SIZE
 
Method Summary
 HighlightOptions getHighlightOptions()
           
 boolean hasHighlightOptions()
           
<T extends SolrDataQuery>
T
setHighlightOptions(HighlightOptions highlightOptions)
          Highlight options to apply when exectuing query
 
Methods inherited from interface org.springframework.data.solr.core.query.Query
addFilterQuery, addGroupByField, addProjectionOnField, addSort, getDefaultOperator, getDefType, getFilterQueries, getGroupByFields, getPageRequest, getProjectionOnFields, getRequestHandler, getSort, getTimeAllowed, setDefaultOperator, setDefType, setPageRequest, setRequestHandler, setTimeAllowed
 
Methods inherited from interface org.springframework.data.solr.core.query.SolrDataQuery
addCriteria, getCriteria, getJoin, setJoin
 

Method Detail

setHighlightOptions

<T extends SolrDataQuery> T setHighlightOptions(HighlightOptions highlightOptions)
Highlight options to apply when exectuing query

Parameters:
highlightOptions -
Returns:

getHighlightOptions

HighlightOptions getHighlightOptions()
Returns:
null if not set

hasHighlightOptions

boolean hasHighlightOptions()
Returns:
true if options set

Spring Data Solr

Copyright © 2011-2014-2014 Pivotal. All Rights Reserved.