public class SearchProRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
SearchProRequest() |
SearchProRequest(SearchProRequest source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
Long |
getFromTime()
Get 起始时间(用于过滤自然检索结果),精确到秒时间戳格式 注意: mode=1模式下,参数无效 mode=0模式下对所有结果生效 mode=2模式下对输出的自然结果生效
|
Long |
getMode()
Get 返回结果类型,0-自然检索结果(默认),1-垂类VR结果,2-混合结果(垂类VR结果+自然检索结果)
|
String |
getQuery()
Get 搜索词
|
String |
getSite()
Get 指定域名站内搜索(用于过滤自然检索结果) 注意: mode=1模式下,参数无效 mode=0模式下对所有结果生效 mode=2模式下对输出的自然结果生效
|
Long |
getToTime()
Get 结束时间(用于过滤自然检索结果),精确到秒时间戳格式 注意: mode=1模式下,参数无效 mode=0模式下对所有结果生效 mode=2模式下对输出的自然结果生效
|
void |
setFromTime(Long FromTime)
Set 起始时间(用于过滤自然检索结果),精确到秒时间戳格式 注意: mode=1模式下,参数无效 mode=0模式下对所有结果生效 mode=2模式下对输出的自然结果生效
|
void |
setMode(Long Mode)
Set 返回结果类型,0-自然检索结果(默认),1-垂类VR结果,2-混合结果(垂类VR结果+自然检索结果)
|
void |
setQuery(String Query)
Set 搜索词
|
void |
setSite(String Site)
Set 指定域名站内搜索(用于过滤自然检索结果) 注意: mode=1模式下,参数无效 mode=0模式下对所有结果生效 mode=2模式下对输出的自然结果生效
|
void |
setToTime(Long ToTime)
Set 结束时间(用于过滤自然检索结果),精确到秒时间戳格式 注意: mode=1模式下,参数无效 mode=0模式下对所有结果生效 mode=2模式下对输出的自然结果生效
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public SearchProRequest()
public SearchProRequest(SearchProRequest source)
public String getQuery()
public void setQuery(String Query)
Query
- 搜索词public Long getMode()
public void setMode(Long Mode)
Mode
- 返回结果类型,0-自然检索结果(默认),1-垂类VR结果,2-混合结果(垂类VR结果+自然检索结果)public String getSite()
public void setSite(String Site)
Site
- 指定域名站内搜索(用于过滤自然检索结果) 注意: mode=1模式下,参数无效 mode=0模式下对所有结果生效 mode=2模式下对输出的自然结果生效public Long getFromTime()
public void setFromTime(Long FromTime)
FromTime
- 起始时间(用于过滤自然检索结果),精确到秒时间戳格式 注意: mode=1模式下,参数无效 mode=0模式下对所有结果生效 mode=2模式下对输出的自然结果生效public Long getToTime()
public void setToTime(Long ToTime)
ToTime
- 结束时间(用于过滤自然检索结果),精确到秒时间戳格式 注意: mode=1模式下,参数无效 mode=0模式下对所有结果生效 mode=2模式下对输出的自然结果生效Copyright © 2025. All rights reserved.