|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.nutch.searcher.SolrSearchBean
public class SolrSearchBean
Field Summary | |
---|---|
static org.apache.commons.logging.Log |
LOG
|
Constructor Summary | |
---|---|
SolrSearchBean(Configuration conf,
String solrServer)
|
Method Summary | |
---|---|
void |
close()
|
HitDetails |
getDetails(Hit hit)
Returns the details for a hit document. |
HitDetails[] |
getDetails(Hit[] hits)
Returns the details for a set of hits. |
String |
getExplanation(Query query,
Hit hit)
Return an HTML-formatted explanation of how a query scored. |
boolean |
ping()
|
Hits |
search(Query query)
Return the top-scoring hits for a query. |
Hits |
search(Query query,
int numHits,
String dedupField,
String sortField,
boolean reverse)
Deprecated. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final org.apache.commons.logging.Log LOG
Constructor Detail |
---|
public SolrSearchBean(Configuration conf, String solrServer) throws IOException
IOException
Method Detail |
---|
public String getExplanation(Query query, Hit hit) throws IOException
Searcher
getExplanation
in interface Searcher
IOException
public Hits search(Query query) throws IOException
Searcher
search
in interface Searcher
IOException
@Deprecated public Hits search(Query query, int numHits, String dedupField, String sortField, boolean reverse) throws IOException
Searcher
search
in interface Searcher
IOException
public HitDetails getDetails(Hit hit) throws IOException
HitDetailer
getDetails
in interface HitDetailer
IOException
public HitDetails[] getDetails(Hit[] hits) throws IOException
HitDetailer
getDetails
in interface HitDetailer
IOException
public boolean ping() throws IOException
ping
in interface SearchBean
IOException
public void close() throws IOException
close
in interface Closeable
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |