org.eml.sir.retr
Class IndexCreator

java.lang.Object
  extended byorg.eml.sir.retr.IndexCreator

public class IndexCreator
extends java.lang.Object

Indexes documents of a given directory. Word terms are stored in a field named "words". Phrases, or other terms that are not to be stemmed, are stored in the field called "bases". Nomial phrases bigrams are stored in the field "phrases".

Author:
Hendrik Niederlich (EML-R)

Constructor Summary
IndexCreator(java.lang.String sourcePath, IndexProperties props)
          Create a new instance of IndexCreator.
 
Method Summary
 void index()
          Do index.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IndexCreator

public IndexCreator(java.lang.String sourcePath,
                    IndexProperties props)
Create a new instance of IndexCreator.

Method Detail

index

public void index()
Do index.