|
Oracle® Ultra Search Java API Reference 10g Release 2 (10.2) B14221-01 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.ultrasearch.query.Request
A search request to Ultra Search.
Constructor Summary | |
Request() construct a request for searching an Ultra Search instance. |
Method Summary | |
Attribute[] |
getAttributesFetched() get the document attributes to fetch with the result |
java.lang.String |
getBoostTerm() get the relevancy boosting term |
java.util.Locale |
getDocLanguage() get the document language to limit the search. |
int |
getDocsRequested() get the number of documents to fetch |
java.lang.String |
getEllipsisMark() get the ellipsis marking used for excerpt computation. |
java.lang.String |
getEndTag() get the highlighting end tag The highlighting tag is used to highlight string attribute values and the document's excerpt. |
int |
getExcerptLength() get the length of the document excerpt to compute |
Query |
getFilter() get the filtering condition on the result. |
StringAttribute[] |
getHiliteAttributes() get the list of string attributes to highlight |
Query |
getQuery() get the query clause of request |
java.util.Locale |
getQueryLanguage() get the language of the query |
int |
getStartIndex() get the start index of the range of documents to fetch. |
java.lang.String |
getStartTag() get the highlighting start tag The highlighting tag is used to highlight string attribute values and the document's excerpt. |
boolean |
isRemoveDuplicates() true if remove duplicates in the result |
boolean |
isWithCount() true if return total count with result |
void |
setAttributesFetched(Attribute[] newAttributesFetched) set the document attributes to fetch with the result |
void |
setBoostTerm(java.lang.String newBoostTerm) set the relevancy boosting term |
void |
setDocLanguage(java.util.Locale newDocLanguage) set the document language to limit the search |
void |
setDocsRequested(int newDocsRequested) set the number of documents to fetch |
void |
setEllipsisMark(java.lang.String newEllipsisMark) set the ellipsis marking used for excerpt computation. |
void |
setEndTag(java.lang.String newEndTag) set the highlighting end tag The highlighting tag is used to highlight string attribute values and the document's excerpt. |
void |
setExcerptLength(int newExcerptLength) set the length of the document excerpt to compute 0 means excerpt will not be computed. |
void |
setFilter(Query newFilter) set the filtering condition on the result. |
void |
setHiliteAttributes(StringAttribute[] newHiliteAttributes) set the list of string attributes to highlight |
void |
setQuery(Query newQuery) set the query clause of the request |
void |
setQueryLanguage(java.util.Locale newQryLocale) set the language of the query |
void |
setRemoveDuplicates(boolean newRemoveDuplicates) turn on/off duplicate removal in the result |
void |
setStartIndex(int newStartIdx) set the start index of the range of documents to fetch |
void |
setStartTag(java.lang.String newStartTag) set the highlighting start tag The highlighting tag is used to highlight string attribute values and the document's excerpt. |
void |
setWithCount(boolean newWithCount) turn on/off total count with result |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Request()
Method Detail |
public Query getQuery()
public void setQuery(Query newQuery)
newQuery
- a query objectpublic java.util.Locale getQueryLanguage()
public void setQueryLanguage(java.util.Locale newQryLocale)
newQryLocale
- the query language localepublic int getStartIndex()
public void setStartIndex(int newStartIdx)
newStartIdx
- the index number, >= 1public int getDocsRequested()
public void setDocsRequested(int newDocsRequested)
newDocsRequested
- the number of documents to fetch, >=1public java.util.Locale getDocLanguage()
public void setDocLanguage(java.util.Locale newDocLanguage)
newDocLanguage
- the locale of document languagepublic Attribute[] getAttributesFetched()
public void setAttributesFetched(Attribute[] newAttributesFetched)
newAttributesFetched
- the array of Attribute objectspublic java.lang.String getBoostTerm()
public void setBoostTerm(java.lang.String newBoostTerm)
newBoostTerm
- the relevancy boosting term, null allowedpublic boolean isWithCount()
public void setWithCount(boolean newWithCount)
newWithCount
- true to turn on total count with resultpublic boolean isRemoveDuplicates()
public void setRemoveDuplicates(boolean newRemoveDuplicates)
newRemoveDuplicates
- true to turn on duplicate removal in the resultpublic Query getFilter()
public void setFilter(Query newFilter)
newFilter
- the filtering condition, null allowedpublic StringAttribute[] getHiliteAttributes()
public void setHiliteAttributes(StringAttribute[] newHiliteAttributes)
public java.lang.String getStartTag()
public void setStartTag(java.lang.String newStartTag)
newStartTag
- the tag string, null allowedpublic void setEndTag(java.lang.String newEndTag)
newEndTag
- the tag string, null allowedpublic java.lang.String getEndTag()
public int getExcerptLength()
public void setExcerptLength(int newExcerptLength)
newExcerptLength
- excerpt length in characters, >=0.public void setEllipsisMark(java.lang.String newEllipsisMark)
newEllipsisMark
- the ellipsis mark string, null allowed.public java.lang.String getEllipsisMark()
|
Oracle® Ultra Search Java API Reference 10g Release 2 (10.2) B14221-01 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |