|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.hp.hpl.jena.query.larq.IndexLARQ
public class IndexLARQ
ARQ wrapper for a Lucene index.
| Constructor Summary | |
|---|---|
IndexLARQ(org.apache.lucene.index.IndexReader r)
|
|
IndexLARQ(org.apache.lucene.index.IndexReader r,
org.apache.lucene.analysis.Analyzer a)
|
|
IndexLARQ(org.apache.lucene.index.IndexReader r,
org.apache.lucene.queryParser.QueryParser qp)
Deprecated. |
|
| Method Summary | |
|---|---|
void |
close()
|
HitLARQ |
contains(com.hp.hpl.jena.graph.Node node,
String queryString)
Check whether an index recognizes a node. |
org.apache.lucene.queryParser.QueryParser |
getLuceneQueryParser()
Return the Lucene QueryParser for this LARQ index |
org.apache.lucene.index.IndexReader |
getLuceneReader()
Return the Lucene IndexReader for this LARQ index |
boolean |
hasMatch(String queryString)
test whether the index matches for the given Lucene query string |
Iterator<HitLARQ> |
search(String queryString)
Perform a free text Lucene search and returns an iterator of graph Nodes. |
com.hp.hpl.jena.rdf.model.NodeIterator |
searchModelByIndex(com.hp.hpl.jena.rdf.model.Model model,
String queryString)
Perform a free text Lucene search and return a NodeIterator. |
com.hp.hpl.jena.rdf.model.NodeIterator |
searchModelByIndex(com.hp.hpl.jena.rdf.model.Model model,
String queryString,
float scoreLimit)
Perform a free text Lucene search and return a NodeIterator. |
com.hp.hpl.jena.rdf.model.NodeIterator |
searchModelByIndex(String queryString)
Perform a free text Lucene search and return a NodeIterator. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IndexLARQ(org.apache.lucene.index.IndexReader r)
public IndexLARQ(org.apache.lucene.index.IndexReader r,
org.apache.lucene.analysis.Analyzer a)
@Deprecated
public IndexLARQ(org.apache.lucene.index.IndexReader r,
org.apache.lucene.queryParser.QueryParser qp)
| Method Detail |
|---|
public com.hp.hpl.jena.rdf.model.NodeIterator searchModelByIndex(String queryString)
queryString -
public com.hp.hpl.jena.rdf.model.NodeIterator searchModelByIndex(com.hp.hpl.jena.rdf.model.Model model,
String queryString)
model - queryString -
public com.hp.hpl.jena.rdf.model.NodeIterator searchModelByIndex(com.hp.hpl.jena.rdf.model.Model model,
String queryString,
float scoreLimit)
model - queryString - scoreLimit - Minimum Lucene score
public boolean hasMatch(String queryString)
public Iterator<HitLARQ> search(String queryString)
queryString -
public HitLARQ contains(com.hp.hpl.jena.graph.Node node,
String queryString)
node - queryString -
public void close()
public final org.apache.lucene.index.IndexReader getLuceneReader()
public final org.apache.lucene.queryParser.QueryParser getLuceneQueryParser()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||