org.ceryle.wiki.search
Class DCLuceneSearchProvider
java.lang.Object
com.ecyrd.jspwiki.search.LuceneSearchProvider
org.ceryle.wiki.search.DCLuceneSearchProvider
- All Implemented Interfaces:
- SearchProvider, WikiProvider
public class DCLuceneSearchProvider
- extends LuceneSearchProvider
- implements SearchProvider
Extends LuceneSearchProvider to also index available DC-in-XHTML content.
- Version:
- $Id: DCLuceneSearchProvider.java,v 1.2 2007-06-15 12:10:27 altheim Exp $
- Author:
- Murray Altheim
|
Field Summary |
static String |
DC_MAGIC_COOKIE
Contains the magic cookie "DC" used a class attribute value,
signalling that the element contents are a Dublin Core XHTML metadata record. |
static String |
DC_PFX
Contains the magic cookie "DC_" used a class attribute value prefix,
signalling that the element contents are a Dublin Core XHTML metadata field. |
static String |
DCTERMS_PFX
Contains the magic cookie "DCTERMS_" used a class attribute value prefix,
signalling that the element contents are a Dublin Core Terms XHTML metadata field. |
static String |
PROPERTY_PROVIDER_CLASS
Contains a WikiEngine property identifier for the search provider class. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DC_MAGIC_COOKIE
public static final String DC_MAGIC_COOKIE
- Contains the magic cookie "DC" used a class attribute value,
signalling that the element contents are a Dublin Core XHTML metadata record.
- See Also:
- Constant Field Values
DC_PFX
public static final String DC_PFX
- Contains the magic cookie "DC_" used a class attribute value prefix,
signalling that the element contents are a Dublin Core XHTML metadata field.
- See Also:
- Constant Field Values
DCTERMS_PFX
public static final String DCTERMS_PFX
- Contains the magic cookie "DCTERMS_" used a class attribute value prefix,
signalling that the element contents are a Dublin Core Terms XHTML metadata field.
- See Also:
- Constant Field Values
PROPERTY_PROVIDER_CLASS
public static final String PROPERTY_PROVIDER_CLASS
- Contains a WikiEngine property identifier for the search provider class.
The value is "org.ceryle.wiki.search.DCLuceneSearchProvider".
- See Also:
- Constant Field Values
DCLuceneSearchProvider
public DCLuceneSearchProvider()
- Default constructor.
initialize
public void initialize(WikiEngine engine,
Properties props)
throws NoRequiredPropertyException,
IOException
- Specified by:
initialize in interface WikiProvider- Overrides:
initialize in class LuceneSearchProvider
- Throws:
NoRequiredPropertyException
IOException
luceneIndexPage
protected void luceneIndexPage(WikiPage page,
String text,
org.apache.lucene.index.IndexWriter writer)
throws IOException
- Overrides:
luceneIndexPage in class LuceneSearchProvider
- Throws:
IOException
The Ceryle Project. Copyright ©2001-2007 Murray Altheim, All Rights Reserved. See LICENSE included with distribution.