Spring Data Solr

org.springframework.data.solr.core.query.result
Interface HighlightPage<T>

All Superinterfaces:
Iterable<T>, Page<T>, Slice<T>
All Known Implementing Classes:
SolrResultPage

public interface HighlightPage<T>
extends Page<T>

Author:
Christoph Strobl

Method Summary
 List<HighlightEntry<T>> getHighlighted()
           
 List<HighlightEntry.Highlight> getHighlights(T entity)
           
 
Methods inherited from interface org.springframework.data.domain.Page
getTotalElements, getTotalPages, hasNextPage, hasPreviousPage, isFirstPage, isLastPage
 
Methods inherited from interface org.springframework.data.domain.Slice
getContent, getNumber, getNumberOfElements, getSize, getSort, hasContent, hasNext, hasPrevious, isFirst, isLast, nextPageable, previousPageable
 
Methods inherited from interface java.lang.Iterable
iterator
 

Method Detail

getHighlighted

List<HighlightEntry<T>> getHighlighted()
Returns:
empty list of not set

getHighlights

List<HighlightEntry.Highlight> getHighlights(T entity)
Parameters:
entity -
Returns:
empty list if none found

Spring Data Solr

Copyright © 2011-2014-2014 Pivotal Software, Inc.. All Rights Reserved.