net.sf.lucis.core
Interface Adder

All Known Implementing Classes:
DefaultAdder

public interface Adder

Document adder for full indexers.

Author:
Andres Rodriguez

Method Summary
 void add(org.apache.lucene.document.Document document)
          Adds a document to the index.
 void add(org.apache.lucene.document.Document document, org.apache.lucene.analysis.Analyzer analyzer)
          Adds a document to the index.
 

Method Detail

add

void add(org.apache.lucene.document.Document document)
Adds a document to the index.

Parameters:
document - Document to add.
Throws:
IndexException - if an error occurs.

add

void add(org.apache.lucene.document.Document document,
         org.apache.lucene.analysis.Analyzer analyzer)
Adds a document to the index.

Parameters:
document - Document to add.
analyzer - Analzer to use.
Throws:
IndexException - if an error occurs.


Copyright © 2009. All Rights Reserved.