跳转到主要内容

未提供项目描述

项目描述

Tests

ckanext-composite-search

数据集搜索页面复杂搜索表单。

按字段筛选,通过多个标准搜索,将筛选与AND/OR运算符组合,无需使用Lucene查询

需求

与核心CKAN版本的兼容性

CKAN版本 兼容?
2.9
2.10

安装

要安装ckanext-composite-search

  1. 安装扩展

    pip install ckanext-composite-search
    
  2. 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

许可证

AGPL

项目详情


下载文件

下载适用于您平台的文件。如果您不确定选择哪个,请了解有关 安装包 的更多信息。

源分发

ckanext-composite-search-0.3.2.tar.gz (38.8 kB 查看哈希值)

上传时间

构建分发

ckanext_composite_search-0.3.2-py3-none-any.whl (40.9 kB 查看哈希值)

上传时间 Python 3

由以下支持