summaryrefslogtreecommitdiff
path: root/contrib/tsearch2/expected
Commit message (Collapse)AuthorAgeFilesLines
* Remove contrib/tsearch2.Robert Haas2017-02-131-2977/+0
| | | | | | | | | | | | This module was intended to ease migrations of applications that used the pre-8.3 version of text search to the in-core version introduced in that release. However, since all pre-8.3 releases of the database have been out of support for more than 5 years at this point, we expect that few people are depending on it at this point. If some people still need it, nothing prevents it from being maintained as a separate extension, outside of core. Discussion: http://postgr.es/m/CA+Tgmob5R8aDHiFRTQsSJbT1oreKg2FOSBrC=2f4tqEH3dOMAg@mail.gmail.com
* Test all contrib-created operator classes with amvalidate.Tom Lane2016-11-291-0/+8
| | | | | | | | | | | | | I'd supposed that people would do this manually when creating new operator classes, but the folly of that was exposed today. The tests seem fast enough that we can just apply them during the normal regression tests. contrib/isn fails the checks for lack of complete sets of cross-type operators. That's a nice-to-have policy rather than a functional requirement, so leave it as-is, but insert ORDER BY in the query to ensure consistent cross-platform output. Discussion: https://postgr.es/m/7076.1480446837@sss.pgh.pa.us
* Make contrib regression tests safe for Danish locale.Tom Lane2016-07-212-2975/+6
| | | | | | | | | | In btree_gin and citext, avoid some not-particularly-interesting dependencies on the sorting of 'aa'. In tsearch2, use COLLATE "C" to remove an uninteresting dependency on locale sort order (and thereby allow removal of a variant expected-file). Also, in citext, avoid assuming that lower('I') = 'i'. This isn't relevant to Danish but it does fail in Turkish.
* Update contrib/tsearch2/expected/tsearch2_1.out for phrase FTS.Tom Lane2016-06-041-27/+27
| | | | | Commits bb140506d and 38627f687 didn't bother with this. Per buildfarm member magpie.
* Fix output of regression test of contrib/tsearch2Teodor Sigaev2016-04-081-8/+8
| | | | Just forget to add in 1ec4c7c055ca045c5df6352a4cdacd9aa778e598
* Phrase full text search.Teodor Sigaev2016-04-071-28/+28
| | | | | | | | | | | | | Patch introduces new text search operator (<-> or <DISTANCE>) into tsquery. On-disk and binary in/out format of tsquery are backward compatible. It has two side effect: - change order for tsquery, so, users, who has a btree index over tsquery, should reindex it - less number of parenthesis in tsquery output, and tsquery becomes more readable Authors: Teodor Sigaev, Oleg Bartunov, Dmitry Ivanov Reviewers: Alexander Korotkov, Artur Zakirov
* Convert contrib modules to use the extension facility.Tom Lane2011-02-132-14/+2
| | | | | | | | | | | This isn't fully tested as yet, in particular I'm not sure that the "foo--unpackaged--1.0.sql" scripts are OK. But it's time to get some buildfarm cycles on it. sepgsql is not converted to an extension, mainly because it seems to require a very nonstandard installation process. Dimitri Fontaine and Tom Lane
* Remove useless whitespace at end of linesPeter Eisentraut2010-11-232-10/+6
|
* Fix contrib/tsearch2 expected results to match recent changes in URL parsing.Tom Lane2010-04-282-12/+16
|
* Improve psql's tabular display of wrapped-around data by inserting markersTom Lane2009-11-222-42/+42
| | | | | | | | | | | | | | | | in the formerly-always-blank columns just to left and right of the data. Different marking is used for a line break caused by a newline in the data than for a straight wraparound. A newline break is signaled by a "+" in the right margin column in ASCII mode, or a carriage return arrow in UNICODE mode. Wraparound is signaled by a dot in the right margin as well as the following left margin in ASCII mode, or an ellipsis symbol in the same places in UNICODE mode. "\pset linestyle old-ascii" is added to make the previous behavior available if anyone really wants it. In passing, this commit also cleans up a few regression test files that had unintended spacing differences from the current actual output. Roger Leigh, reviewed by Gabrielle Roth and other members of PDXPUG.
* Add alternative expected output files for cs_CZ locale for btree_gist andHeikki Linnakangas2009-05-081-0/+2975
| | | | | tsearch2 tests. This should make 'comet_moth' buildfarm member pass contrib check. Zdenek Kotala.
* Update contrib for tsearch changes.Tom Lane2008-05-161-8/+8
|
* Adjust contrib/tsearch2 regression results to use XML tag and XML entity ↵Andrew Dunstan2007-11-201-2/+2
| | | | descriptions, as now used by core text search default parser.
* Resurrect the code for the rewrite(ARRAY[...]) aggregate function,Tom Lane2007-11-131-0/+90
| | | | and put it into contrib/tsearch2 compatibility module.
* Replace the now-incompatible-with-core contrib/tsearch2 module with aTom Lane2007-11-131-217/+74
| | | | | | | | compatibility package. This supports importing dumps from past versions using tsearch2, and provides the old names and API for most functions that were changed. (rewrite(ARRAY[...]) is a glaring omission, though.) Pavel Stehule and Tom Lane
* Rename contrib contains/contained-by operators to @> and <@, per discussion.Tom Lane2006-09-101-752/+738
|
* Use '' rather than \' for literal single quotes in strings inBruce Momjian2006-09-021-6/+6
| | | | | | /contrib/tsearch2. Teodor Sigaev
* Fix regression tests: after changing comparing functionTeodor Sigaev2006-08-251-1/+1
| | | | order is changed.
* Add thesaurus dictionary which can replace N>0 lexemes by M>0 lexemes.Teodor Sigaev2006-05-311-11/+11
| | | | | | | It required some changes in lexize algorithm, but interface with dictionaries stays compatible with old dictionaries. Funded by Georgia Public Library Service and LibLime, Inc.
* GIN: Generalized Inverted iNdex.Teodor Sigaev2006-05-021-0/+39
| | | | text[], int4[], Tsearch2 support for GIN.
* Significantly improve ranking:Teodor Sigaev2006-03-021-7/+7
| | | | | | | | | | | | | | | 1) rank_cd now use weight of lexemes 2) rank_cd and rank can use any combination of normalization methods: no normalization normalization by log(length of document) -----/------- by length of document -----/------- by number of unique word in document -----/------- by log(number of unique word in document) -----/------- by number of covers (only rank_cd) Improve cover's search. TODO: changes in documentation
* renew output of regression test accordingly toTeodor Sigaev2006-02-101-729/+729
| | | | http://archives.postgresql.org/pgsql-committers/2006-02/msg00089.php
* Snowball multibyte. It's a pity, but snowball sources is very diferent for ↵Teodor Sigaev2006-01-271-11/+11
| | | | | | | | multibyte and singlebyte encodings, so we should have snowball for every encodings. I hope that finalize multibyte support work in tsearch2, but testing is needed...
* Text parser rewritten:Teodor Sigaev2005-11-211-46/+73
| | | | | | | | | | | - supports multibyte encodings - more strict rules for lexemes - flex isn't used Add: - tsquery plainto_tsquery(text) Function makes tsquery from plain text. - &&, ||, !! operation for tsquery for combining tsquery from it's parts: 'foo & bar' || 'asd' => 'foo & bar | asd'
* Fix rwrite(ARRAY) on 64-bit boxes:Teodor Sigaev2005-11-091-4/+4
| | | | Instead of getting elements of array manually call deconstruct_array
* New features for tsearch2:Teodor Sigaev2005-11-081-0/+283
| | | | | | | | | | | | | | | 1 Comparison operation for tsquery 2 Btree index on tsquery 3 numnode(tsquery) - returns 'length' of tsquery 4 tsquery @ tsquery, tsquery ~ tsquery - contains, contained for tsquery. Note: They don't gurantee exact result, only MAY BE, so it useful only for speed up rewrite functions 5 GiST index support for @,~ 6 rewrite(): select rewrite(orig, what, to); select rewrite(ARRAY[orig, what, to]) from tsquery_table; select rewrite(orig, 'select what, to from tsquery_table;'); 7 significantly improve cover algorithm
* 1 Fix problem with lost precision in rank with OR-ed lexemesTeodor Sigaev2005-10-281-9/+9
| | | | 2 Allow tsquery_in to input void tsquery: resolve dump/restore problem with tsquery
* Add E'' syntax so eventually normal strings can treat backslashesBruce Momjian2005-06-261-15/+15
| | | | | | | | | | | | literally. Add GUC variables: "escape_string_warning" - warn about backslashes in non-E strings "escape_string_syntax" - supports E'' syntax? "standard_compliant_strings" - treats backslashes literally in '' Update code to use E'' when escapes are used.
* Adjust tsearch2.sql to avoid use of COPY FROM STDIN, so as toTom Lane2004-09-141-6/+6
| | | | simplify life for the Win32 installer. Per Dave Page.
* 1 Eliminate duplicate field HLWORD->skipTeodor Sigaev2004-06-281-4/+33
| | | | | | 2 Rework support for html tags in parser 3 add HighlightAll to headline function for generating highlighted whole text with saved html tags
* Fix stupid bug in installcheckTeodor Sigaev2004-06-231-4/+4
|
* Stat function now can show statistics per weight of lexemesTeodor Sigaev2004-05-281-2/+53
|
* 1 Minimize memory allocation for void (but not null) value.Teodor Sigaev2004-03-251-0/+520
| | | | 2 Add silly ordering for ts_vector to aim grouping, union, except etc. Don't use BTree opclass (tsvector_ops).
* fix hlfinditem function. Thanks to "Stphane Bidoul" ↵Teodor Sigaev2003-09-221-5/+5
| | | | | | | | | <stephane.bidoul@softwareag.com>. The 'word' variable there is initialised from the prs->words array, but immediately after, that array may be reallocated, thus leaving word pointing to unallocated memory.
* More accuracy works with stopwords in queriesTeodor Sigaev2003-08-281-0/+24
|
* Add ts_debug function for debugging configurationsTeodor Sigaev2003-08-061-0/+11
|
* Update contrib regression tests for recent error message editing.Tom Lane2003-08-011-3/+3
|
* Fix output to psql:tsearch2.sql:13: NOTICE: ... "pg_ts_dict_pkey"Teodor Sigaev2003-07-211-10/+13
|
* tsearch2 moduleTeodor Sigaev2003-07-211-0/+2055