• last updated 2 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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.

Fix typo in query for permissions checking.

Add permission checking and merge default parameter for headline fucntion from oacs-5-1 branch.

Add permission checking to tsearch2-driver search query.

Default to AND

Default to AND saerch if no operator is specified

Query cleaning regexp needs to retain spaces

Specify default for config in headline call.

Get rid of quotes and brackets from search query