net.sf.eos.lucene
Class DefaultLuceneDocumentCreator
java.lang.Object
net.sf.eos.config.Configured
net.sf.eos.lucene.LuceneDocumentCreator
net.sf.eos.lucene.DefaultLuceneDocumentCreator
- All Implemented Interfaces:
- Configurable, CommonDocument
public class DefaultLuceneDocumentCreator
- extends LuceneDocumentCreator
- implements CommonDocument
- Author:
- Sascha Kohlmann
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultLuceneDocumentCreator
public DefaultLuceneDocumentCreator()
createLuceneForEosDocument
public org.apache.lucene.document.Document createLuceneForEosDocument(EosDocument doc)
throws EosException
- Creates a new document.
- Specified by:
createLuceneForEosDocument
in class LuceneDocumentCreator
- Parameters:
doc
- the document to transform
- Returns:
- a Lucene
Document
for indexing
- Throws:
EosException
- if transformation fails
Copyright © 2008. All Rights Reserved.