|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jdmp.core.AbstractCoreObject
org.jdmp.core.algorithm.AbstractAlgorithm
org.jdmp.core.algorithm.indexer.AbstractIndexer
org.jdmp.lucene.LuceneIndex
public class LuceneIndex
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.jdmp.core.algorithm.Algorithm |
|---|
org.jdmp.core.algorithm.Algorithm.EdgeDirection |
| Field Summary |
|---|
| Fields inherited from class org.jdmp.core.AbstractCoreObject |
|---|
ALL, COLUMN, logger, ROW, X, Y, Z |
| Fields inherited from interface org.jdmp.core.algorithm.indexer.Indexer |
|---|
INPUT, SCORE |
| Fields inherited from interface org.jdmp.core.algorithm.Algorithm |
|---|
ALGORITHMARRAY, DIMENSION, IGNORENAN, SOURCE, TARGET |
| Constructor Summary | |
|---|---|
LuceneIndex()
|
|
LuceneIndex(File path)
|
|
LuceneIndex(File path,
boolean readOnly)
|
|
| Method Summary | |
|---|---|
void |
add(org.jdmp.core.sample.Sample sample)
|
void |
close()
|
void |
erase()
|
void |
flush()
|
org.jdmp.core.sample.Sample |
get(int index)
|
int |
getSize()
|
void |
optimize()
|
org.jdmp.core.dataset.DataSet |
search(List<String> query)
|
org.jdmp.core.dataset.DataSet |
search(List<String> query,
int count)
|
org.jdmp.core.dataset.DataSet |
search(org.apache.lucene.search.Query query,
int count)
|
org.jdmp.core.dataset.DataSet |
search(String query)
|
org.jdmp.core.dataset.DataSet |
search(String query,
int count)
|
| Methods inherited from class org.jdmp.core.algorithm.indexer.AbstractIndexer |
|---|
add, add |
| Methods inherited from class org.jdmp.core.algorithm.AbstractAlgorithm |
|---|
addVariableKey, calculate, calculate, calculate, calculate, calculateObjects, calculateObjects, calculateObjects, clear, getAlgorithms, getAsString, getDescription, getEdgeDirection, getEdgeLabel, getGUIObject, getInputKeys, getLabel, getMatrix, getOutputKeys, getVariableKeys, getVariables, notifyGUIObject, setAlgorithm, setDescription, setEdgeDirection, setEdgeLabel, setLabel, setMatrix, setObject, setVariable, setVariables, setVariables, toString |
| Methods inherited from class org.jdmp.core.AbstractCoreObject |
|---|
showGUI |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.ujmp.core.interfaces.HasGUIObject |
|---|
showGUI |
| Constructor Detail |
|---|
public LuceneIndex()
throws Exception
Exception
public LuceneIndex(File path)
throws Exception
Exception
public LuceneIndex(File path,
boolean readOnly)
throws Exception
Exception| Method Detail |
|---|
public void add(org.jdmp.core.sample.Sample sample)
throws Exception
add in interface org.jdmp.core.algorithm.indexer.IndexerExceptionpublic int getSize()
getSize in interface org.jdmp.core.algorithm.indexer.Indexer
public org.jdmp.core.sample.Sample get(int index)
throws Exception
Exception
public org.jdmp.core.dataset.DataSet search(List<String> query)
throws Exception
Exception
public org.jdmp.core.dataset.DataSet search(List<String> query,
int count)
throws Exception
Exception
public org.jdmp.core.dataset.DataSet search(String query)
throws Exception
search in interface org.jdmp.core.algorithm.indexer.IndexerException
public org.jdmp.core.dataset.DataSet search(String query,
int count)
throws Exception
Exception
public org.jdmp.core.dataset.DataSet search(org.apache.lucene.search.Query query,
int count)
throws Exception
Exception
public void flush()
throws IOException
flush in interface FlushableIOException
public void optimize()
throws IOException
IOException
public void close()
throws IOException
close in interface CloseableIOException
public void erase()
throws IOException
erase in interface ErasableIOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||