org.weborganic.bastille.flint
Class GetFacets
java.lang.Object
org.weborganic.bastille.flint.GetFacets
- All Implemented Interfaces:
- Cacheable, ContentGenerator
public final class GetFacets
- extends Object
- implements ContentGenerator, Cacheable
Returns the facets from a query.
This is a simple and efficient generator that is most useful for use with autocomplete.
- Since:
- 0.6.0
GetFacets
public GetFacets()
getETag
public String getETag(ContentRequest req)
- Generate an ETag based on the parameters and the last modified date of the index.
- Specified by:
getETag
in interface Cacheable
process
public void process(ContentRequest req,
XMLWriter xml)
throws BerliozException,
IOException
- Specified by:
process
in interface ContentGenerator
- Throws:
BerliozException
IOException