|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--websphinx.Region | +--websphinx.searchengine.SearchEngineResult
Result returned by a search engine query, identifying a Web page that matches the query.
Field Summary | |
java.lang.String |
description
Short description of page as reported by search engine. |
Link |
link
Link to the actual page. |
int |
rank
Relevancy rank of page in search engine's ordering. |
double |
score
Relevancy score of page, by search engine's scale. |
SearchEngine |
searchengine
Search engine that produced this hit. |
java.lang.String |
title
Title of page as reported by search engine, or null if not provided |
Fields inherited from class websphinx.Region |
end, names, source, start, TRUE |
Constructor Summary | |
SearchEngineResult(Region result)
Make a SearchEngineResult. |
Method Summary | |
java.lang.String |
toString()
Gets region as raw content. |
Methods inherited from class websphinx.Region |
enumerateObjectLabels, findEnd, findStart, getEnd, getField, getFields, getLabel, getLabel, getLength, getNumericLabel, getObjectLabel, getObjectLabels, getRootElement, getSource, getStart, hasAllLabels, hasAllLabels, hasAnyLabels, hasAnyLabels, hasLabel, removeLabel, setField, setFields, setLabel, setLabel, setObjectLabel, span, toHTML, toTags, toText |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public int rank
public double score
public java.lang.String title
public java.lang.String description
public Link link
public SearchEngine searchengine
Constructor Detail |
public SearchEngineResult(Region result)
result
- Region of a search engine's results page. Should be annotated with rank, title,
description, and link fields.Method Detail |
public java.lang.String toString()
Region
toString
in class Region
websphinx.Region
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |