• last updated 11 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Reduce duplication:

index and update_index were in fact implementing a upsert logic. Modern sql allows to write this in a single query and merge the two apis into one. Replace reference in the service contracts as well.

  1. … 5 more files in changeset.
Add 'index_unindex' test case, covering 'tsearch2::index', 'tsearch2::unindex' and 'tsearch2::update_index' procs

Test explicitely 'tsearch2::build_query_tcl', now that 'tsearch2::build_query' uses different methods yielding different results, and slight refactoring of the test, using 'aa_equals' instead of 'aa_true' for string comparison

Add simple test case for 'tsearch2::summary'

Add trivial test case for 'tsearch2::driver_info'

Whitespace changes

Add categories to build_query test case

added editor hints and white-space cleanup

  1. … 50 more files in changeset.
support 'AND' and 'OR' at the end of the search string + extend automated tests

  1. … 1 more file in changeset.
Relax cleanup of parenthesis: remove them only when they don't match, like it used to be in older versions of the code

Fixes automated tests (that were refreshed to latest syntax and labelled with the proc they are testing)

  1. … 1 more file in changeset.
Removed obsolete @arch-tag

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

  1. … 1 more file in changeset.
Add test for NOT with no search terms

Fix bug#3039 and but#3040.

  1. … 1 more file in changeset.
Bug#3039. Safely handle OR operator in query without a lefthand operand.

  1. … 1 more file in changeset.
Fix case when a one character term is in the middle of two other terms. Add test case.

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

    • -0
    • +42
    ./tsearch2-driver-procs.tcl
  1. … 1 more file in changeset.