Package com.semedy.reasoner.edb.zdb
Class InvertedIndexLucene
java.lang.Object
com.semedy.reasoner.edb.zdb.InvertedIndexLucene
- All Implemented Interfaces:
InvertedIndex
Full text index for edb.
- Author:
- Juergen Angele
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd a new termvoidclose()close indexvoidflush()flushs indexvoidremoveTuple(long objectCode, String value) remove a termsearch for search termsearch for search term given a max distancevoidbegin transactionvoidcommit transactionvoidrollback transaction
-
Constructor Details
-
InvertedIndexLucene
- Throws:
IOException
-
-
Method Details
-
close
Description copied from interface:InvertedIndexclose index- Specified by:
closein interfaceInvertedIndex- Throws:
IOException
-
flush
Description copied from interface:InvertedIndexflushs index- Specified by:
flushin interfaceInvertedIndex- Throws:
IOException
-
transactionBegin
public void transactionBegin()Description copied from interface:InvertedIndexbegin transaction- Specified by:
transactionBeginin interfaceInvertedIndex
-
transactionRollback
Description copied from interface:InvertedIndexrollback transaction- Specified by:
transactionRollbackin interfaceInvertedIndex- Throws:
IOException
-
transactionCommit
Description copied from interface:InvertedIndexcommit transaction- Specified by:
transactionCommitin interfaceInvertedIndex- Throws:
IOException
-
search
Description copied from interface:InvertedIndexsearch for search term- Specified by:
searchin interfaceInvertedIndex- Returns:
- Throws:
IOException
-
addTuple
Description copied from interface:InvertedIndexadd a new term- Specified by:
addTuplein interfaceInvertedIndex- Throws:
IOException
-
removeTuple
Description copied from interface:InvertedIndexremove a term- Specified by:
removeTuplein interfaceInvertedIndex- Throws:
IOException
-
search
Description copied from interface:InvertedIndexsearch for search term given a max distance- Specified by:
searchin interfaceInvertedIndex- Returns:
- Throws:
IOException
-