Package lumis.search
Class SearchAttributes
- java.lang.Object
-
- lumis.search.SearchAttributes
-
- All Implemented Interfaces:
IAttributeSetReader
@Deprecated @StableMinor(version="14.1", sinceVersion="4.0") public final class SearchAttributes extends Object implements IAttributeSetReader
Deprecated.Since 8.1.0, lumis.search was replaced by lumis.portal.bigdata.Set of attributes aggregated to aSearchQuery
, aSearchHit
or aSearchResults
. They represent extra information aggregated to these objects. For example, in aSearchQuery
, they contain information that affetcs the criteria used in search.- Since:
- 4.0.4
- Version:
- $Revision: 24684 $ $Date: 2021-08-23 18:58:35 -0300 (Mon, 23 Aug 2021) $
-
-
Constructor Summary
Constructors Constructor Description SearchAttributes()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
addAttributeValue(String attributeName, String attributeValue)
Deprecated.Add a value to the set of values of an attribute.List<String>
getAttributeValues(String attributeName)
Deprecated.Returns all the values related to the attribute named as specified.boolean
hasAttribute(String attributeName)
Deprecated.Checks if the attribute set contains at least one attribute with the specified name.void
removeAttribute(String attributeName)
Deprecated.Remove an attribute.void
setAttributeValues(String attributeName, String[] attributeValues)
Deprecated.Set the values of an attribute.void
setAttributeValues(String attributeName, List<String> attributeValues)
Deprecated.Set the values of an attribute.
-
-
-
Method Detail
-
setAttributeValues
public void setAttributeValues(String attributeName, String[] attributeValues)
Deprecated.Set the values of an attribute.- Parameters:
attributeName
- attribute nameattributeValues
- attribute values- Since:
- 4.0.4
-
setAttributeValues
public void setAttributeValues(String attributeName, List<String> attributeValues)
Deprecated.Set the values of an attribute.- Parameters:
attributeName
- attribute nameattributeValues
- attribute values- Since:
- 4.0.4
-
addAttributeValue
public void addAttributeValue(String attributeName, String attributeValue)
Deprecated.Add a value to the set of values of an attribute.- Parameters:
attributeName
- attribute nameattributeValue
- new value to be added- Since:
- 4.0.4
-
removeAttribute
public void removeAttribute(String attributeName)
Deprecated.Remove an attribute.- Parameters:
attributeName
- attribute name- Since:
- 4.0.4
-
hasAttribute
public boolean hasAttribute(String attributeName)
Deprecated.Description copied from interface:IAttributeSetReader
Checks if the attribute set contains at least one attribute with the specified name.- Specified by:
hasAttribute
in interfaceIAttributeSetReader
- Parameters:
attributeName
- name of the attribute.- Returns:
- true if at least one attribute with the provided name was found.
-
getAttributeValues
public List<String> getAttributeValues(String attributeName)
Deprecated.Description copied from interface:IAttributeSetReader
Returns all the values related to the attribute named as specified.- Specified by:
getAttributeValues
in interfaceIAttributeSetReader
- Parameters:
attributeName
- name of the attribute.- Returns:
- all values related to the specified attribute name, or an empty
List
if there is no value to return.
-
-