Class Field
java.lang.Object
fr.paris.lutece.plugins.search.solr.business.field.Field
This is the business class for the object Field
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the DefaultSortReturns the DescriptionbooleanReturns the EnableFacetbooleanReturns the EnableSortintReturns the FacetteMincountintReturns the IdFieldbooleanReturns the IsFacetbooleanReturns the IsSortgetLabel()Returns the LabelgetName()Returns the NameReturn operatordoubleReturns the weightvoidsetDefaultSort(boolean defaultSort) Sets the DefaultSortvoidsetDescription(String strDescription) Sets the DescriptionvoidsetEnableFacet(boolean enableFacet) Sets the EnableFacetvoidsetEnableSort(boolean enableSort) Sets the EnableSortvoidsetFacetMincount(int facetMincount) Returns the FacetMincountvoidsetIdField(int nIdField) Sets the IdFieldvoidsetIsFacet(boolean isFacet) Sets the IsFacetvoidsetIsSort(boolean isSort) Sets the IsSortvoidSets the LabelvoidSets the NamevoidsetOperator(String strOperator) Set the operatorvoidsetWeight(double weight) Sets the weight
-
Field Details
-
OPERATOR_TYPE_OR
- See Also:
-
OPERATOR_TYPE_SWITCH
- See Also:
-
OPERATOR_TYPE_AND
- See Also:
-
-
Constructor Details
-
Field
public Field()
-
-
Method Details
-
getSolrName
-
getIdField
public int getIdField()Returns the IdField- Returns:
- The IdField
-
setIdField
public void setIdField(int nIdField) Sets the IdField- Parameters:
nIdField- The IdField
-
getName
Returns the Name- Returns:
- The Name
-
setName
Sets the Name- Parameters:
strName- The Name
-
getLabel
Returns the Label- Returns:
- The Label
-
setLabel
Sets the Label- Parameters:
strLabel- The Label
-
getDescription
Returns the Description- Returns:
- The Description
-
setDescription
Sets the Description- Parameters:
strDescription- The Description
-
getIsFacet
public boolean getIsFacet()Returns the IsFacet- Returns:
- The IsFacet
-
setIsFacet
public void setIsFacet(boolean isFacet) Sets the IsFacet- Parameters:
isFacet- The IsFacet
-
getEnableFacet
public boolean getEnableFacet()Returns the EnableFacet- Returns:
- The EnableFacet
-
setEnableFacet
public void setEnableFacet(boolean enableFacet) Sets the EnableFacet- Parameters:
enableFacet- The EnableFacet
-
getIsSort
public boolean getIsSort()Returns the IsSort- Returns:
- The IsSort
-
setIsSort
public void setIsSort(boolean isSort) Sets the IsSort- Parameters:
isSort- The IsSort
-
getEnableSort
public boolean getEnableSort()Returns the EnableSort- Returns:
- The EnableSort
-
setEnableSort
public void setEnableSort(boolean enableSort) Sets the EnableSort- Parameters:
enableSort- The EnableSort
-
getDefaultSort
public boolean getDefaultSort()Returns the DefaultSort- Returns:
- The DefaultSort
-
setDefaultSort
public void setDefaultSort(boolean defaultSort) Sets the DefaultSort- Parameters:
defaultSort- The DefaultSort
-
setWeight
public void setWeight(double weight) Sets the weight- Parameters:
Weight- The Weight
-
getWeight
public double getWeight()Returns the weight- Returns:
- The weight
-
getFacetMincount
public int getFacetMincount()Returns the FacetteMincount- Returns:
- The FacetteMincount
-
setFacetMincount
public void setFacetMincount(int facetMincount) Returns the FacetMincount -
getOperator
Return operator- Returns:
- The Operator
-
setOperator
Set the operator- Parameters:
strOperator-
-