com.jalios.jcms.search.spell
Class LuceneDictionary

java.lang.Object
  extended by com.jalios.jcms.search.spell.LuceneDictionary
All Implemented Interfaces:
Dictionary

public class LuceneDictionary
extends Object
implements Dictionary

Lucene Dictionary

Version:
1.0 - $Revision: 27753 $
Author:
Nicolas Maisonneuve

Field Summary
static String REVISION
           
 
Constructor Summary
LuceneDictionary(org.apache.lucene.index.IndexReader reader, String field)
           
 
Method Summary
 Iterator getWordsIterator()
          return all the words present in the dictionnary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

REVISION

public static final String REVISION
See Also:
Constant Field Values
Constructor Detail

LuceneDictionary

public LuceneDictionary(org.apache.lucene.index.IndexReader reader,
                        String field)
Method Detail

getWordsIterator

public final Iterator getWordsIterator()
Description copied from interface: Dictionary
return all the words present in the dictionnary

Specified by:
getWordsIterator in interface Dictionary
Returns:
Iterator


Copyright © 2001-2010 Jalios SA. All Rights Reserved.