org.dllearner.algorithms.isle
Class LuceneSearcher

java.lang.Object
  extended by org.dllearner.algorithms.isle.LuceneSearcher

public class LuceneSearcher
extends Object


Constructor Summary
LuceneSearcher()
           
 
Method Summary
 void close()
           
 int count(String sQuery)
           
 List<org.apache.lucene.document.Document> getDocuments()
           
 float getScore(org.apache.lucene.document.Document doc)
           
 int indexSize()
           
static void main(String[] args)
           
 List<org.apache.lucene.document.Document> search(String sQuery)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LuceneSearcher

public LuceneSearcher()
               throws Exception
Throws:
Exception
Method Detail

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)


SourceForge.net Logo DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2011 Jens Lehmann