Cheshire3 Objects: Extractor

Description

An Extractor is a processing object called by an Index with the value of an evaluated XPath expression or with a string. Example normalizers might extract keywords from an element or the entire contents thereof as a single string. Extractors must also be used on the query terms to apply the same keyword processing rules, for example.

Implementations
API
FunctionParametersReturnsDescription
__init__config, parent 
process_stringsession, stringhashProcess a raw string, eg from an attribute value
process_nodesession, domNodehashProcess a DOM node
process_eventListsession, list of SAX eventshashProcess a list of SAX events