未提供项目描述
项目描述
ckanext-composite-search
数据集搜索页面复杂搜索表单。
按字段筛选,通过多个标准搜索,将筛选与AND/OR运算符组合,无需使用Lucene查询
需求
与核心CKAN版本的兼容性
CKAN版本 | 兼容? |
---|---|
2.9 | 是 |
2.10 | 是 |
安装
要安装ckanext-composite-search
-
安装扩展
pip install ckanext-composite-search
-
将
composite_search default_composite_search
添加到您的CKAN配置文件中的ckan.plugins
设置。
配置设置
# Prefix for field-names of the search form. Due to the way,
# CKAN handles extra search parameters, prefix must begin with `ext_`
# (optional, default: ext_composite_).
ckanext.composite_search.prefix = ext_p_
# Escape search terms using single-quote, double-quote or both at the same time.
# (optional, default: double, values: single|double|both).
ckanext.composite_search.plugin.default.literal_quotes = single
# List of field names that must not be tokenized. Usually, one will
# use this option when searching by tags or other keywords.
# (optional, default: <empty>).
ckanext.composite_search.plugin.default.keyword_fields = tags groups
许可证
项目详情
下载文件
下载适用于您平台的文件。如果您不确定选择哪个,请了解有关 安装包 的更多信息。
源分发
ckanext-composite-search-0.3.2.tar.gz (38.8 kB 查看哈希值)
构建分发
关闭
ckanext-composite-search-0.3.2.tar.gz 的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | 811486e00f218ba7b923c9604f1bca344e0e01fbcc10c3f3d159342763726f15 |
|
MD5 | bcd5b4ab1265b86e106b476480199212 |
|
BLAKE2b-256 | 8dc1b170e05782c6bdb138e0c1b75c95e5f994b279bc83f6cfdd57d3fe04c2a3 |
关闭
ckanext_composite_search-0.3.2-py3-none-any.whl 的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | ec7026c07229ac583c16875f98b617ec9c2f10ff097f0fc6e94f849b4a749b6c |
|
MD5 | 1ce076468ddc006f4d1e58535d21b0a5 |
|
BLAKE2b-256 | b2c2e05772e212d943a93afbfc707b9d2fae25074d1cb2898adaf4846a587127 |