from (java.lang.String)
to (java.lang.String)
facetNames (java.lang.String)
facetNames (java.lang.String)
inputFormat (java.lang.String)
outputFormat (java.lang.String)
step (java.lang.String)
year
, month
, or day
facetNames (java.lang.String)
sourceFormat (java.lang.String)
format (java.lang.String)
field (java.lang.String)
displayName (java.lang.String)
operation (java.lang.String)
parameter (java.lang.String)
value (java.lang.Object)
sort (java.lang.String)
-field1,field2,-field3
).
facetNames (java.lang.String)
levelSeparator (java.lang.String)
facetNames (java.lang.String)
fields (java.lang.String)
facetNames (java.lang.String)
Region
, Country
, and City
that you want to facet on to guide users in their search. These facets forms a natural hierarchy of Region > Country > City
. Instead of giving the user a choice from all of the three facets at every step (which would show for example, cities from all regions mixed together), you want to present the user with a single Location
facet that moves from Region
to Country
and finally City
as users make more specific choices.
To illustrate this, assume you have these data values across your corpus of documents:
SequentialFacetChoiceProcessor
with these parameters:
Location
. Now consider:
Location
filter is specified, then the Location
facet will contain Region
values: Europe, America, Asia.Asia
as a location, then the Location
facet will contain the follow Country
option: Japan, Korea.Japan
, then the Location
facet will contain these options: Tokyo, Kyoto.facetSequence (java.lang.String)
target (java.lang.String)
separator (java.lang.String)
▸
(an arrow pointing to the right).