org.dllearner.algorithms.isle
Class LuceneSearcher
java.lang.Object
org.dllearner.algorithms.isle.LuceneSearcher
public class LuceneSearcher
- extends Object
LuceneSearcher
public LuceneSearcher()
throws Exception
- Throws:
Exception
main
public static void main(String[] args)
throws Exception
- Throws:
Exception
close
public void close()
throws Exception
- Throws:
Exception
indexSize
public int indexSize()
search
public List<org.apache.lucene.document.Document> search(String sQuery)
throws Exception
- Throws:
Exception
count
public int count(String sQuery)
throws Exception
- Throws:
Exception
getDocuments
public List<org.apache.lucene.document.Document> getDocuments()
getScore
public float getScore(org.apache.lucene.document.Document doc)
DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2011 Jens Lehmann