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 | getCnt()Get cnt=10/20/30/40/50,最多可支持返回50条搜索结果,**仅限尊享版使用** | 
| Long | getFromTime()Get 起始时间(用于过滤自然检索结果),精确到秒时间戳格式
注意: mode=1模式下,参数无效;mode=0模式下,对所有结果生效;mode=2模式下,对输出的自然结果生效 | 
| String | getIndustry()Get Industry=gov/news/acad,对应党政机关、权威媒体、学术(英文),**仅限尊享版使用** | 
| 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 | setCnt(Long Cnt)Set cnt=10/20/30/40/50,最多可支持返回50条搜索结果,**仅限尊享版使用** | 
| void | setFromTime(Long FromTime)Set 起始时间(用于过滤自然检索结果),精确到秒时间戳格式
注意: mode=1模式下,参数无效;mode=0模式下,对所有结果生效;mode=2模式下,对输出的自然结果生效 | 
| void | setIndustry(String Industry)Set Industry=gov/news/acad,对应党政机关、权威媒体、学术(英文),**仅限尊享版使用** | 
| 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, toJsonStringpublic 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模式下,对输出的自然结果生效public Long getCnt()
public void setCnt(Long Cnt)
Cnt - cnt=10/20/30/40/50,最多可支持返回50条搜索结果,**仅限尊享版使用**public String getIndustry()
public void setIndustry(String Industry)
Industry - Industry=gov/news/acad,对应党政机关、权威媒体、学术(英文),**仅限尊享版使用**Copyright © 2025. All rights reserved.