All URIs are relative to https://api.indexea.com/v1
Method | HTTP request | Description |
---|---|---|
index_period_cleanup | POST /indices/{app}/{index}/cleanup | 清空索引记录 |
index_period_copy_to | POST /indices/{app}/{index}/copyto | 导出索引数据 |
index_period_create | POST /indices/{app} | 创建索引 |
index_period_create_template | POST /indices/templates | 创建索引模板 |
index_period_delete | DELETE /indices/{app}/{index} | 删除索引 |
index_period_delete_crawler_task | DELETE /indices/{app}/{index}/crawler-settings | 删除索引的数据爬取任务 |
index_period_delete_template | DELETE /indices/templates | 删除索引模板 |
index_period_export | POST /indices/{app}/{index}/export | 导出索引数据 |
index_period_flush | POST /indices/{app}/{index}/flush | 清空索引记录 |
index_period_flush_settings | PUT /indices/{app}/{index}/settings | 写入设置信息到索引 |
index_period_get | GET /indices/{app}/{index} | 获取单个索引详情 |
index_period_get_crawler_logs | GET /indices/{app}/{index}/crawler-logs | 获取索引的爬虫任务的爬取日志 |
index_period_get_crawler_task | GET /indices/{app}/{index}/crawler-settings | 获取索引的爬虫任务设定 |
index_period_get_filter_settings | GET /indices/{app}/{index}/filter-settings | 获取索引设置信息 |
index_period_get_settings | GET /indices/{app}/{index}/settings | 获取索引设置信息 |
index_period_list | GET /indices/{app} | 获取应用的索引列表 |
index_period_list_templates | GET /indices/templates | 获取所有可用的索引模板 |
index_period_prefetch | GET /indices/crawler | 获取目标网站内容预览 |
index_period_rebuild | POST /indices/{app}/{index}/rebuild | 重建索引数据 |
index_period_rebuild_task | GET /indices/{app}/{index}/rebuild | 获取重建索引任务的详情 |
index_period_submit_crawler_task | POST /indices/{app}/{index}/crawler-settings | 提交或者更新索引的数据爬取任务 |
index_period_update | PUT /indices/{app}/{index} | 修改索引 |
index_period_update_settings | POST /indices/{app}/{index}/settings | 更新索引设置信息 |
index_period_update_template | PUT /indices/templates | 修改索引模板 |
synonyms_period_add | POST /indices/{app}/{index}/synonyms | 添加同义词 |
synonyms_period_delete | DELETE /indices/{app}/{index}/synonyms | 删除同义词 |
synonyms_period_enable | PATCH /indices/{app}/{index}/synonyms | 启用禁用同义词 |
synonyms_period_flush | POST /indices/{app}/{index}/synonyms-flush | 将同义词更新到搜索引擎的同义词表 |
synonyms_period_import | POST /indices/{app}/{index}/synonyms-import | 导入同义词 |
synonyms_period_list | GET /indices/{app}/{index}/synonyms | 获取索引的所有同义词 |
synonyms_period_update | PUT /indices/{app}/{index}/synonyms | 修改同义词 |
serde_json::Value index_period_cleanup(app, index, vcode) 清空索引记录
Name | Type | Description | Required | Notes |
---|---|---|---|---|
app | String | 应用标识 | [required] | |
index | i32 | 索引编号 | [required] | |
vcode | String | 验证码 | [required] |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::IndexBean index_period_copy_to(app, index, name, fields, queries, records) 导出索引数据
Name | Type | Description | Required | Notes |
---|---|---|---|---|
app | String | 应用标识 | [required] | |
index | i32 | 索引编号 | [required] | |
name | String | 新索引的名称 | [required] | |
fields | bool | 是否复制字段定义 | [required] | |
queries | bool | 是否复制所有查询 | [required] | |
records | bool | 是否复制所有文档 | [required] |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::IndexBean index_period_create(app, index_form) 创建索引
Name | Type | Description | Required | Notes |
---|---|---|---|---|
app | String | 应用标识 | [required] | |
index_form | IndexForm | [required] |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::IndexTemplate index_period_create_template(index_template) 创建索引模板
Name | Type | Description | Required | Notes |
---|---|---|---|---|
index_template | IndexTemplate | [required] |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
bool index_period_delete(app, index, vcode) 删除索引
Name | Type | Description | Required | Notes |
---|---|---|---|---|
app | String | 应用标识 | [required] | |
index | i32 | 索引编号 | [required] | |
vcode | String | [required] |
bool
[Back to top] [Back to API list] [Back to Model list] [Back to README]
bool index_period_delete_crawler_task(app, index) 删除索引的数据爬取任务
Name | Type | Description | Required | Notes |
---|---|---|---|---|
app | String | 应用标识 | [required] | |
index | i32 | 索引编号 | [required] |
bool
[Back to top] [Back to API list] [Back to Model list] [Back to README]
bool index_period_delete_template(id) 删除索引模板
Name | Type | Description | Required | Notes |
---|---|---|---|---|
id | i32 | [required] |
bool
[Back to top] [Back to API list] [Back to Model list] [Back to README]
bool index_period_export(app, index, format) 导出索引数据
Name | Type | Description | Required | Notes |
---|---|---|---|---|
app | String | 应用标识 | [required] | |
index | i32 | 索引编号 | [required] | |
format | String | 导出数据的格式 | [required] | [default to json] |
bool
[Back to top] [Back to API list] [Back to Model list] [Back to README]
bool index_period_flush(app, index) 清空索引记录
Name | Type | Description | Required | Notes |
---|---|---|---|---|
app | String | 应用标识 | [required] | |
index | i32 | 索引编号 | [required] |
bool
[Back to top] [Back to API list] [Back to Model list] [Back to README]
serde_json::Value index_period_flush_settings(app, index, r#type, password) 写入设置信息到索引
Name | Type | Description | Required | Notes |
---|---|---|---|---|
app | String | 应用标识 | [required] | |
index | i32 | 索引编号 | [required] | |
r#type | String | 设置类型 | [required] | |
password | String | [required] |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::IndexBean index_period_get(app, index) 获取单个索引详情
Name | Type | Description | Required | Notes |
---|---|---|---|---|
app | String | 应用标识 | [required] | |
index | i32 | 索引编号 | [required] |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::CrawlerLogs index_period_get_crawler_logs(app, index, from, size) 获取索引的爬虫任务的爬取日志
Name | Type | Description | Required | Notes |
---|---|---|---|---|
app | String | 应用标识 | [required] | |
index | i32 | 索引编号 | [required] | |
from | i32 | [required] | ||
size | i32 | [required] |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::CrawlerTask index_period_get_crawler_task(app, index) 获取索引的爬虫任务设定
Name | Type | Description | Required | Notes |
---|---|---|---|---|
app | String | 应用标识 | [required] | |
index | i32 | 索引编号 | [required] |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Vec index_period_get_filter_settings(app, index, r#type) 获取索引设置信息
Name | Type | Description | Required | Notes |
---|---|---|---|---|
app | String | 应用标识 | [required] | |
index | i32 | 索引编号 | [required] | |
r#type | String | 设置类型 | [required] |
Vec
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::IndexSettings index_period_get_settings(app, index, r#type) 获取索引设置信息
Name | Type | Description | Required | Notes |
---|---|---|---|---|
app | String | 应用标识 | [required] | |
index | i32 | 索引编号 | [required] | |
r#type | String | 设置类型 | [required] |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Veccrate::models::IndexBean index_period_list(app, stat) 获取应用的索引列表
Name | Type | Description | Required | Notes |
---|---|---|---|---|
app | String | 应用标识 | [required] | |
stat | Option<bool> | 是否包含索引的统计信息 | [default to true] |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::IndexTemplates index_period_list_templates(from, size) 获取所有可用的索引模板
Name | Type | Description | Required | Notes |
---|---|---|---|---|
from | i32 | [required] | [default to 0] | |
size | i32 | [required] | [default to 100] |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Vec<serde_json::Value> index_period_prefetch(r#type, url) 获取目标网站内容预览
Name | Type | Description | Required | Notes |
---|---|---|---|---|
r#type | String | [required] | ||
url | String | [required] |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::IndexTask index_period_rebuild(app, index, index_rebuild_form) 重建索引数据
Name | Type | Description | Required | Notes |
---|---|---|---|---|
app | String | 应用标识 | [required] | |
index | i32 | 索引编号 | [required] | |
index_rebuild_form | IndexRebuildForm | [required] |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::IndexTask index_period_rebuild_task(app, index, task_id) 获取重建索引任务的详情
Name | Type | Description | Required | Notes |
---|---|---|---|---|
app | String | 应用标识 | [required] | |
index | i32 | 索引编号 | [required] | |
task_id | i32 | 任务编号,传0则获取最新的任务信息 | [required] | [default to 0] |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::CrawlerTask index_period_submit_crawler_task(app, index, crawler_task) 提交或者更新索引的数据爬取任务
Name | Type | Description | Required | Notes |
---|---|---|---|---|
app | String | 应用标识 | [required] | |
index | i32 | 索引编号 | [required] | |
crawler_task | CrawlerTask | [required] |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::IndexBean index_period_update(app, index, index_form) 修改索引
Name | Type | Description | Required | Notes |
---|---|---|---|---|
app | String | 应用标识 | [required] | |
index | i32 | 索引编号 | [required] | |
index_form | IndexForm | [required] |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
bool index_period_update_settings(app, index, r#type, body) 更新索引设置信息
Name | Type | Description | Required | Notes |
---|---|---|---|---|
app | String | 应用标识 | [required] | |
index | i32 | 索引编号 | [required] | |
r#type | String | 设置类型 | [required] | |
body | Option<String> |
bool
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::IndexTemplate index_period_update_template(index_template) 修改索引模板
Name | Type | Description | Required | Notes |
---|---|---|---|---|
index_template | IndexTemplate | [required] |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::SynonymsBean synonyms_period_add(app, index, synonyms_bean) 添加同义词
Name | Type | Description | Required | Notes |
---|---|---|---|---|
app | String | 应用标识 | [required] | |
index | i32 | 索引编号 | [required] | |
synonyms_bean | SynonymsBean | [required] |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
bool synonyms_period_delete(app, index, id) 删除同义词
Name | Type | Description | Required | Notes |
---|---|---|---|---|
app | String | 应用标识 | [required] | |
index | i32 | 索引编号 | [required] | |
id | i32 | 同义词编号 | [required] |
bool
[Back to top] [Back to API list] [Back to Model list] [Back to README]
bool synonyms_period_enable(app, index, id, enable, all) 启用禁用同义词
Name | Type | Description | Required | Notes |
---|---|---|---|---|
app | String | 应用标识 | [required] | |
index | i32 | 索引编号 | [required] | |
id | i32 | 同义词编号 | [required] | |
enable | Option<bool> | 是否启用 | ||
all | Option<bool> | 是否对所有索引起作用 |
bool
[Back to top] [Back to API list] [Back to Model list] [Back to README]
serde_json::Value synonyms_period_flush(app, index, password) 将同义词更新到搜索引擎的同义词表
Name | Type | Description | Required | Notes |
---|---|---|---|---|
app | String | 应用标识 | [required] | |
index | i32 | 索引编号 | [required] | |
password | String | [required] |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Veccrate::models::SynonymsBean synonyms_period_import(app, index, action, synonyms_bean) 导入同义词
Name | Type | Description | Required | Notes |
---|---|---|---|---|
app | String | 应用标识 | [required] | |
index | i32 | 索引编号 | [required] | |
action | i32 | 覆盖方式 | [required] | |
synonyms_bean | Veccrate::models::SynonymsBean | [required] |
Veccrate::models::SynonymsBean
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Veccrate::models::SynonymsBean synonyms_period_list(app, index, size, r#type, from) 获取索引的所有同义词
Name | Type | Description | Required | Notes |
---|---|---|---|---|
app | String | 应用标识 | [required] | |
index | i32 | 索引编号 | [required] | |
size | i32 | [required] | [default to 99999] | |
r#type | Option<i32> | 类型 | [default to 0] | |
from | Option<i32> | [default to 0] |
Veccrate::models::SynonymsBean
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::SynonymsBean synonyms_period_update(app, index, synonyms_bean) 修改同义词
Name | Type | Description | Required | Notes |
---|---|---|---|---|
app | String | 应用标识 | [required] | |
index | i32 | 索引编号 | [required] | |
synonyms_bean | SynonymsBean | [required] |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。