Context类型参数应该是查询的term的数据类型, 而非返回的查询结果的数据类型
WebQuery
00 Remarks
这个模块不会重复请求404状态的资源
| Name | Description |
|---|---|
Context |
01 Syntax
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| .cctor | 1 | config default web query parameters: from cli: /@set sleep=3000;webquery.debug=TRUE |
| .ctor | 2 | |
| IsNullKey | 1 | test if the given key is empty or nothing |
| queryText | 1 | 这个函数返回的是缓存的本地文件的路径列表 |
| queryTextImpl | 1 | |
| runHttpGet | 1 | |
| Query | 2 | |
| Dispose | 2 | |
| Clear404URLIndex | 1 | |
| Query | 1 | |
| QueryCacheText | 1 |
03 Properties
| Name | Overloads | Summary |
|---|---|---|
| offlineMode | 1 | 是否是处于仅从缓存数据之中查找结果的离线模式 |
04 Fields
05 Members
config default web query parameters:
from cli: /@set sleep=3000;webquery.debug=TRUE
Func(Of `0, String), IToString(Of `0), IObjectBuilder, Func(Of String, String), String, Int32, Boolean)| Name | Type | Description |
|---|---|---|
url | Func(Of `0, String) | 请注意,查询词应该是被WebServiceUtils.UrlEncode()所转义过的 |
contextGuid | IToString(Of `0) | - |
parser | IObjectBuilder | - |
prefix | Func(Of String, String) | 如果查询的结果文件很多, 则缓存放在同一下文件夹下, 打开的效率会非常低, 在这里使用这个函数来得到分组前缀用作为文件夹名,分组存放缓存数据 |
cache | String | A local Directory will be open for implements the IFileSystemEnvironment wrapper as cache. |
interval | Int32 | - |
String, Int32, Boolean)create workspace from a local filesystem
| Name | Type | Description |
|---|---|---|
cache | String | - |
interval | Int32 | - |
offline | Boolean | - |
Object)test if the given key is empty or nothing
| Name | Type | Description |
|---|---|---|
key | Object | - |
IEnumerable(Of `0), String)这个函数返回的是缓存的本地文件的路径列表
| Name | Type | Description |
|---|---|---|
query | IEnumerable(Of `0) | - |
type | String | 文件拓展名,可以不带有小数点 |
String, String, String)| Name | Type | Description |
|---|---|---|
id | String | - |
url | String | - |
type | String | the file extension name, for indicate the file type, example as: *.txt |
String, String, Boolean)| Name | Type | Description |
|---|---|---|
cache_path | String | a relative cache path |
url$ | String | - |
hitCache | Boolean | - |
`0, String, Boolean)| Name | Description |
|---|---|
T |
| Name | Type | Description |
|---|---|---|
context | `0 | - |
cacheType | String | 缓存文件的文本格式拓展名 |
IEnumerable(Of `0), String, Boolean)| Name | Description |
|---|---|
T |
| Name | Type | Description |
|---|---|---|
context | IEnumerable(Of `0) | - |
cacheType | String | 缓存文件的文本格式拓展名 |
Boolean)Release and save the cache filesystem data handle
| Name | Type | Description |
|---|---|---|
disposing | Boolean | - |
是否是处于仅从缓存数据之中查找结果的离线模式
404状态的资源列表
原始请求结果数据的缓存文件夹,同时也可以用这个文件夹来存放错误日志
the timespan length for test the cache is expired in time?
Context, String, Boolean)Context, String, Boolean)