oor.modules.registry
Class LuceneRegistry

java.lang.Object
  extended by oor.modules.registry.LuceneRegistry
All Implemented Interfaces:
Module, Registry

public class LuceneRegistry
extends java.lang.Object
implements Registry

A registry implemented using Apache Lucene.

Author:
Mike Dean
See Also:
Apache Lucene Home Page

Constructor Summary
LuceneRegistry()
           
 
Method Summary
 void addContent(Content content)
          Add the specified content to this registry.
 void deleteContent(Content content)
          Remove the specified content from this registry.
 java.util.Iterator<Content> listContents()
          List all content in this registry.
 java.util.Iterator<Term> search(java.lang.String string)
          List all terms matching the specified string.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LuceneRegistry

public LuceneRegistry()
Method Detail

addContent

public void addContent(Content content)
Description copied from interface: Registry
Add the specified content to this registry.

Specified by:
addContent in interface Registry

deleteContent

public void deleteContent(Content content)
Description copied from interface: Registry
Remove the specified content from this registry.

Specified by:
deleteContent in interface Registry

listContents

public java.util.Iterator<Content> listContents()
Description copied from interface: Registry
List all content in this registry.

Specified by:
listContents in interface Registry
Returns:

search

public java.util.Iterator<Term> search(java.lang.String string)
Description copied from interface: Registry
List all terms matching the specified string.

Specified by:
search in interface Registry
Returns: