|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.nutch.searcher.DistributedSearchBean
public class DistributedSearchBean
Field Summary |
---|
Fields inherited from interface org.apache.nutch.searcher.SearchBean |
---|
LOG |
Constructor Summary | |
---|---|
DistributedSearchBean(Configuration conf,
Path luceneConfig,
Path solrConfig)
|
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 |
Constructor Detail |
---|
public DistributedSearchBean(Configuration conf, Path luceneConfig, Path solrConfig) 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 void close() throws IOException
close
in interface Closeable
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()
ping
in interface SearchBean
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |