Each predefined ContentStrategy can be used to retrieve certain content from the defined element. Which element to process is defined using a XPath expression in the gdata-config.xml file.
ContentStrategy implementation should not be accessed directly. To get a ContentStrategy for a specific {@link org.apache.lucene.gdata.search.config.IndexSchemaField.ContentType}use the {@link ContentStrategy#getFieldStrategy} factory method. This methodexpects a IndexSchemaField instance with a set ContentType. The return value is a new ContentStrategy instance for the defined ContentType.
@see org.apache.lucene.gdata.search.config.IndexSchemaField.ContentType @see org.apache.lucene.gdata.search.index.IndexDocumentBuilder @author Simon Willnauer
|
|