项目作者: za-arthur

项目描述 :
PostgreSQL full text search example
高级语言: C
项目地址: git://github.com/za-arthur/apod_fts.git
创建时间: 2016-10-30T14:48:37Z
项目社区:https://github.com/za-arthur/apod_fts

开源协议:MIT License

下载


Postgres Professional

apod_fts

PostgreSQL full text search example. Site tsdemo.postgrespro.ru.

Modules

  • ts_json provides functions to full text search with json and jsonb.
  • ts_parser is the modified default text search parser from
    PostgreSQL 9.6.

Installing

apod_fts is a web-application written in Python using flask web-framework. To run this application
you need to install Flask and psycopg2 Python packages.

It is necessary that PostgreSQL binaries are in PATH environment. To install all text search dictionaries and RUM index you can use scripts in script directory. Use the following commands

  1. => cd apod_fts
  2. => createdb apod
  3. => psql apod < scripts/apod.dump
  4. => chmod +x scripts/01-create-configuration.sh
  5. => scripts/01-create-configuration.sh
  6. => chmod +x scripts/02-create-rum.sh
  7. => scripts/02-create-rum.sh
  8. => chmod +x scripts/03-fuzzy-hints.sh
  9. => scripts/03-fuzzy-hints.sh