no.sesat.search.result
Interface FacetedSearchResult<T extends ResultItem>

All Superinterfaces:
ResultItem, ResultList<T>, Serializable
All Known Implementing Classes:
FacetedSearchResultImpl, FastSearchResult

public interface FacetedSearchResult<T extends ResultItem>
extends ResultList<T>

An extension of ResultList that stores the facets from a facet enabled search command.

Version:
$Id: FacetedSearchResult.java 7225 2009-04-09 00:32:20Z ssmiweve $

Method Summary
 void addModifier(String navigatorName, Modifier modifier)
          To the list of modifiers found in the navigators under the name "navigatorName" add the modifier.
 Modifier getModifier(String navigatorName, String modifierName)
          The modifier with name "modifierName" from the modifier list found in the navigation map under the name "navigatorNam".
 int getModifierCount(String navigatorName, String modifierName)
          The count of the modifier with name "modifierName" from the modifier list found in the navigation map under the name "navigatorNam".
 List<Modifier> getModifiers(String navigatorName)
          A live copy of the modifiers found in the navigation map under the name "navigatorName".
 
Methods inherited from interface no.sesat.search.result.ResultList
addField, addObjectField, addQuerySuggestion, addResult, addResults, addSpellingSuggestion, getHitCount, getQuerySuggestions, getRelevantQueries, getResults, getSpellingSuggestions, removeResult, removeResults, replaceResult, setHitCount, sortResults
 
Methods inherited from interface no.sesat.search.result.ResultItem
addToMultivaluedField, getField, getFieldNames, getMultivaluedField, getObjectField, getTitle, getUrl, setTitle, setUrl
 

Method Detail

addModifier

void addModifier(String navigatorName,
                 Modifier modifier)
To the list of modifiers found in the navigators under the name "navigatorName" add the modifier.

Parameters:
navigatorName -
modifier -

getModifier

Modifier getModifier(String navigatorName,
                     String modifierName)
The modifier with name "modifierName" from the modifier list found in the navigation map under the name "navigatorNam".

Parameters:
navigatorName -
modifierName -
Returns:
the modifier found,or null

getModifierCount

int getModifierCount(String navigatorName,
                     String modifierName)
The count of the modifier with name "modifierName" from the modifier list found in the navigation map under the name "navigatorNam".

Parameters:
navigatorName -
modifierName -
Returns:

getModifiers

List<Modifier> getModifiers(String navigatorName)
A live copy of the modifiers found in the navigation map under the name "navigatorName".

Parameters:
navigatorName -
Returns:


Copyright © 2005-2009 Schibsted ASA. All Rights Reserved.