|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.theloutons.search.utils.SynopsisUtil
Constructor Summary | |
SynopsisUtil()
|
Method Summary | |
static org.apache.lucene.document.Document |
addString(java.lang.String docTxt,
org.apache.lucene.document.Document doc)
Adds to the index |
static java.lang.String |
getSynopsis(java.lang.String text)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SynopsisUtil()
Method Detail |
public static java.lang.String getSynopsis(java.lang.String text)
text
- the extracted text from a document.
public static org.apache.lucene.document.Document addString(java.lang.String docTxt, org.apache.lucene.document.Document doc)
docTxt
- the string containing the body of the documentdoc
- the Lucene document
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |