fr.paris.lutece.plugins.search.solr.business
Class SolrFacetedResult

java.lang.Object
  extended by fr.paris.lutece.plugins.search.solr.business.SolrFacetedResult

public class SolrFacetedResult
extends java.lang.Object

SolrFacetedResult represents a list of SolrSearchResult with a list of FacetField.


Constructor Summary
SolrFacetedResult()
           
 
Method Summary
 int getCount()
          Items count
 java.util.List<org.apache.solr.client.solrj.response.FacetField> getFacetDateList()
          Retourne la liste de field de type date.
 java.util.List<org.apache.solr.client.solrj.response.FacetField> getFacetFields()
          Return the FacetField List.
 java.util.Map<java.lang.String,java.util.ArrayList<org.apache.solr.client.solrj.response.FacetField>> getFacetIntersection()
           
 java.util.List<SolrSearchResult> getSolrSearchResults()
          Return the SolrSearchResult List.
 void setCount(int nCount)
          Items count
 void setFacetDateList(java.util.List<org.apache.solr.client.solrj.response.FacetField> facetDateList)
           
 void setFacetFields(java.util.List<org.apache.solr.client.solrj.response.FacetField> facetFieldsList)
          Set the FacetField List.
 void setFacetIntersection(java.util.Map<java.lang.String,java.util.ArrayList<org.apache.solr.client.solrj.response.FacetField>> facetIntersection)
           
 void setSolrSearchResults(java.util.List<SolrSearchResult> searchResultsList)
          Set the SolrSearchResult List.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SolrFacetedResult

public SolrFacetedResult()
Method Detail

getCount

public int getCount()
Items count

Returns:
items count

setCount

public void setCount(int nCount)
Items count

Parameters:
nCount - items count

getFacetFields

public final java.util.List<org.apache.solr.client.solrj.response.FacetField> getFacetFields()
Return the FacetField List.

Returns:
the FacetField List

setFacetFields

public final void setFacetFields(java.util.List<org.apache.solr.client.solrj.response.FacetField> facetFieldsList)
Set the FacetField List.

Parameters:
facetFieldsList - the new FacetField List

getSolrSearchResults

public final java.util.List<SolrSearchResult> getSolrSearchResults()
Return the SolrSearchResult List.

Returns:
the SolrSearchResult List.

setSolrSearchResults

public final void setSolrSearchResults(java.util.List<SolrSearchResult> searchResultsList)
Set the SolrSearchResult List.

Parameters:
searchResultsList - the new SolrSearchResult List.

getFacetDateList

public final java.util.List<org.apache.solr.client.solrj.response.FacetField> getFacetDateList()
Retourne la liste de field de type date.

Returns:
Une liste de field

setFacetDateList

public final void setFacetDateList(java.util.List<org.apache.solr.client.solrj.response.FacetField> facetDateList)

getFacetIntersection

public final java.util.Map<java.lang.String,java.util.ArrayList<org.apache.solr.client.solrj.response.FacetField>> getFacetIntersection()

setFacetIntersection

public final void setFacetIntersection(java.util.Map<java.lang.String,java.util.ArrayList<org.apache.solr.client.solrj.response.FacetField>> facetIntersection)


Copyright © 2011 Mairie de Paris. All Rights Reserved.