By popular demand, add a package for the tsearch2 contrib module of

PostgreSQL 8.1. It can be used to implement efficient fulltext search
engines.
This commit is contained in:
joerg 2006-12-01 20:13:49 +00:00
parent ea2d8044cb
commit 5436af224c
3 changed files with 33 additions and 0 deletions

View file

@ -0,0 +1,6 @@
The Tsearch2 contrib module contains an implementation of a new data
type tsvector - a searchable data type with indexed access. In a
nutshell, tsvector is a set of unique words along with their
positional information in the document, organized in a special
structure optimized for fast access and lookup. This data type can
be used as backend for efficient full text search engines.

View file

@ -0,0 +1,17 @@
# $NetBSD: Makefile,v 1.1.1.1 2006/12/01 20:13:49 joerg Exp $
PKGNAME= postgresql81-tsearch2-${BASE_VERS}
COMMENT= PL/Python procedural language for the PostgreSQL backend
DEPENDS+= postgresql81-server>=${BASE_VERS}:../../databases/postgresql81-server
.include "../../databases/postgresql81/Makefile.common"
BUILD_DIRS= ${WRKSRC}/contrib/tsearch2/snowball ${WRKSRC}/contrib/tsearch2
USE_LIBTOOL= yes
PKG_LIBTOOL= ${PKG_SHLIBTOOL}
.include "../../databases/postgresql81-client/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

View file

@ -0,0 +1,10 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2006/12/01 20:13:49 joerg Exp $
${PG_SUBPREFIX}lib/postgresql/tsearch2.la
${PG_SUBPREFIX}share/doc/postgresql/contrib/README.tsearch2
${PG_SUBPREFIX}share/postgresql/contrib/english.stop
${PG_SUBPREFIX}share/postgresql/contrib/russian.stop
${PG_SUBPREFIX}share/postgresql/contrib/tsearch2.sql
${PG_SUBPREFIX}share/postgresql/contrib/untsearch2.sql
@dirrm share/postgresql/contrib
@dirrm share/doc/postgresql/contrib
@dirrm lib/postgresql