org.weborganic.bastille.flint
Class GetResultSuggestions
java.lang.Object
org.weborganic.bastille.flint.GetResultSuggestions
- All Implemented Interfaces:
- Cacheable, ContentGenerator
public final class GetResultSuggestions
- extends Object
- implements ContentGenerator, Cacheable
Returns the search results suggestions from a list of terms.
Parameters for this generator are:
term
: a space separated list of terms to lookup
field
: the comma-separated list of the fields to lookup
predicate
: a query to use as a condition (eg. type of Lucene document, etc...)
- Since:
- 0.6.0
GetResultSuggestions
public GetResultSuggestions()
getETag
public String getETag(ContentRequest req)
- 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