| java.lang.Object org.apache.cocoon.components.search.LuceneIndexContentHandler
LuceneIndexContentHandler | public class LuceneIndexContentHandler implements ContentHandler(Code) | | Parse XML and generate lucene document(s)
can now be configured via SimpleLuceneXMLIndexerImpl
to store specific tags in Lucene, so that you can
display them with hits.
author: Bernhard Huber author: Jeremy Quinn version: CVS $Id: LuceneIndexContentHandler.java 433543 2006-08-22 06:22:54Z crossley $ |
Method Summary | |
public List | allDocuments() | public void | characters(char[] ch, int start, int length) | public void | endDocument() | public void | endElement(String namespaceURI, String localName, String qName) | public void | endPrefixMapping(String prefix) | public void | ignorableWhitespace(char[] ch, int start, int length) | public Iterator | iterator() | public void | processingInstruction(String target, String data) | public void | setDocumentLocator(Locator locator) | public void | setFieldTags(HashSet fieldTags) | public void | skippedEntity(String name) | public void | startDocument() | public void | startElement(String namespaceURI, String localName, String qName, Attributes atts) | public void | startPrefixMapping(String prefix, String uri) |
LUCENE_ATTR_TO_TEXT_ATTRIBUTE | final public static String LUCENE_ATTR_TO_TEXT_ATTRIBUTE(Code) | | If this attribute is specified on element, values of all attributes
are added to the text of the element, and to the document
body text
|
LuceneIndexContentHandler | public LuceneIndexContentHandler()(Code) | | Constructor for the LuceneIndexContentHandler object
|
characters | public void characters(char[] ch, int start, int length)(Code) | | |
endDocument | public void endDocument()(Code) | | |
endPrefixMapping | public void endPrefixMapping(String prefix)(Code) | | |
ignorableWhitespace | public void ignorableWhitespace(char[] ch, int start, int length)(Code) | | |
setDocumentLocator | public void setDocumentLocator(Locator locator)(Code) | | Sets the documentLocator attribute of the LuceneIndexContentHandler object
Parameters: locator - The new documentLocator value |
setFieldTags | public void setFieldTags(HashSet fieldTags)(Code) | | Sets the fieldTags attribute of the LuceneIndexContentHandler object
Parameters: fieldTags - The new fieldTags value |
startDocument | public void startDocument()(Code) | | |
|
|