org.apache.cocoon.components.search
Interface LuceneCocoonIndexer

All Superinterfaces:
org.apache.avalon.framework.component.Component
All Known Implementing Classes:
SimpleLuceneCocoonIndexerImpl

public interface LuceneCocoonIndexer
extends org.apache.avalon.framework.component.Component

The avalon behavioural component interface of an indexer.

Version:
CVS $Id: LuceneCocoonIndexer.java,v 1.4 2002/02/22 07:00:12 cziegeler Exp $
Author:
Bernhard Huber

Field Summary
static java.lang.String ROLE
          Description of the Field
 
Method Summary
 void index(org.apache.lucene.store.Directory index, boolean create, java.net.URL base_url)
          Description of the Method
 void setAnalyzer(org.apache.lucene.analysis.Analyzer analyzer)
          Sets the analyzer attribute of the LuceneCocoonIndexer object
 

Field Detail

ROLE

public static final java.lang.String ROLE
Description of the Field
Since:
 
Method Detail

setAnalyzer

public void setAnalyzer(org.apache.lucene.analysis.Analyzer analyzer)
Sets the analyzer attribute of the LuceneCocoonIndexer object
Parameters:
analyzer - The new analyzer value
Since:
 

index

public void index(org.apache.lucene.store.Directory index,
                  boolean create,
                  java.net.URL base_url)
           throws ProcessingException
Description of the Method
Parameters:
index - Description of Parameter
create - Description of Parameter
base_url - Description of Parameter
Throws:
ProcessingException - Description of Exception
Since:
 


Copyright � 1999-2002 Apache Software Foundation. All Rights Reserved.