• last updated 5 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Missplaced space in expression was generating wrong query string for tsearch2 tsquery

in some cases. f(g) for example.

Implement TIP#130 Add -exta_args to search callback definition to avoid having to redefine it constantly

    • -7
    • +17
    ./tsearch2-driver-procs-postgresql.xql
  1. … 3 more files in changeset.
Fix typo in query names

    • -2
    • +2
    ./tsearch2-driver-procs-postgresql.xql
More missing defaults

    • -3
    • +3
    ./tsearch2-driver-procs-postgresql.xql
Add default config for PG < 8.3 query.

    • -3
    • +3
    ./tsearch2-driver-procs-postgresql.xql
Fix postgtresql 8.3 compatibility for another query.

    • -6
    • +27
    ./tsearch2-driver-procs-postgresql.xql
Removed a debugging message (oops)

Hopefully found the secret to customizing queries by version

    • -39
    • +0
    ./tsearch2-driver-procs-postgresql-8.3.xql
    • -1
    • +44
    ./tsearch2-driver-procs-postgresql.xql
Fucking query processor only allows one queryset per xql file

    • -0
    • +39
    ./tsearch2-driver-procs-postgresql-8.3.xql
    • -42
    • +0
    ./tsearch2-driver-procs-postgresql.xql
Broke out 8.3 vs. old tsearch queries into a query file and conditionalized

by version. Did not break out queries not affected by 8.3.

    • -0
    • +81
    ./tsearch2-driver-procs-postgresql.xql
use tcl 8.4 comparison operators

don't join on acs_objects if not needed

Added new parameter to limite the file indexed size (we have crashes in pg 8.2.4)

  1. … 1 more file in changeset.
Merge fix for not with no search terms from oacs-5-2

Add test for NOT with no search terms

Handle not without any other search terms.

Fix bug#3039 and but#3040.

Bug#3039. Safely handle OR operator in query without a lefthand operand.

Handle & better, consistently add space around %

pg8 installed in usr local has tsearch2 in $prefix/share/contrib -- we should probably try to guess based on pg_config --libdir or something

Fix case when a one character term is in the middle of two other terms. Add test case.

multiple words were not tokenized properly

subsite scoped search

  1. … 9 more files in changeset.
Cleanup build_query proc a little. Add automated tests for build_query.

    • -0
    • +42
    ./test/tsearch2-driver-procs.tcl
Add -nocase to regsub for NOT operator at the beginnign of query string.

Fix rank ordering, merge from HEAD

fix the build_query function to be more in line with the lexer, sort by rank high to low, index title, keywords as weight A,B respectively

Fix count query to check permissions as well.

Fix count query to correctly count based on permissions.

Fix type in permissions checking query.