org.apache.solr.search.grouping
Class GroupingSpecification
java.lang.Object
org.apache.solr.search.grouping.GroupingSpecification
public class GroupingSpecification
- extends Object
Encapsulates the grouping options like fields group sort and more specified by clients.
- WARNING: This API is experimental and might change in incompatible ways in the next release.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GroupingSpecification
public GroupingSpecification()
getFields
public String[] getFields()
setFields
public void setFields(String[] fields)
getQueries
public String[] getQueries()
setQueries
public void setQueries(String[] queries)
getFunctions
public String[] getFunctions()
setFunctions
public void setFunctions(String[] functions)
getGroupOffset
public int getGroupOffset()
setGroupOffset
public void setGroupOffset(int groupOffset)
getGroupLimit
public int getGroupLimit()
setGroupLimit
public void setGroupLimit(int groupLimit)
getOffset
public int getOffset()
setOffset
public void setOffset(int offset)
getLimit
public int getLimit()
setLimit
public void setLimit(int limit)
getGroupSort
public Sort getGroupSort()
setGroupSort
public void setGroupSort(Sort groupSort)
getSortWithinGroup
public Sort getSortWithinGroup()
setSortWithinGroup
public void setSortWithinGroup(Sort sortWithinGroup)
isIncludeGroupCount
public boolean isIncludeGroupCount()
setIncludeGroupCount
public void setIncludeGroupCount(boolean includeGroupCount)
isMain
public boolean isMain()
setMain
public void setMain(boolean main)
getResponseFormat
public Grouping.Format getResponseFormat()
setResponseFormat
public void setResponseFormat(Grouping.Format responseFormat)
isNeedScore
public boolean isNeedScore()
setNeedScore
public void setNeedScore(boolean needScore)
isTruncateGroups
public boolean isTruncateGroups()
setTruncateGroups
public void setTruncateGroups(boolean truncateGroups)
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.