summaryrefslogtreecommitdiff
path: root/tests/postgres_tests/test_search.py
AgeCommit message (Collapse)Author
2020-05-19Fixed #31601 -- Fixed SearchHeadlineTests on PostgresSQL 9.6.18+, 10.13+, ↵Hannes Ljungberg
11.8+, and 12.3+.
2020-05-14Fixed #31579 -- Dropped support for PostgreSQL 9.5 and PostGIS 2.2.Mariusz Felisiak
2020-03-23Fixed #28194 -- Added support for normalization and cover density to SearchRank.Hannes Ljungberg
2020-03-16Fixed #31340 -- Allowed query expressions in SearchQuery.value and __search ↵Baptiste Mispelon
lookup.
2020-03-13Refs #31304 -- Added tests for using __search lookup with combined ↵Mariusz Felisiak
SearchQuerys with the same config.
2020-03-13Refs #31340 -- Simplified SearchQuery by making it subclass Func.Baptiste Mispelon
2020-03-06Refs #31304 -- Made __search lookup default to its rhs' config.Simon Charette
This make the SearchLookup lookup more coherent with its SearchVectorExact base which configures its rhs SearchQuery with its lhs' config.
2020-03-03Fixed #31147 -- Added SearchHeadline to django.contrib.postgres.Hannes Ljungberg
2020-02-26Refs #31211 -- Prevented SearchConfig nesting in SearchVector and ↵Simon Charette
SearchQuery init. Passing a SearchConfig instance directly to SearchVector and SearchQuery would result in nested SearchConfig instance.
2020-02-06Fixed #28528 -- Allowed combining SearchVectors with different configs.adamb70
2020-01-27Improved SearchVectorCombinable and SearchQueryCombinable error messages.Hannes Ljungberg
2019-12-16Fixed #31088 -- Added support for websearch searching in SearchQuery.James Turk
2019-05-20Fixed #30488 -- Removed redundant Coalesce call in SQL generated by ↵Thomasina Lee
SearchVector. Regression in 405c8363362063542e9e79beac53c8437d389520.
2019-04-23Fixed #30385 -- Restored SearchVector(config) immutability.Simon Charette
Regression in 1a28dc3887e8d66d5e3ff08cf7fb0a6212b873e5. The usage of CONCAT to allow SearchVector to deal with non-text fields made the generated expression non-IMMUTABLE which prevents a functional index to be created for it. Using a combination of COALESCE and ::text makes sure the expression preserves its immutability. Refs #29582. Thanks Andrew Brown for the report, Nick Pope for the review.
2018-11-30Fixed #29997 -- Allowed combining SearchQuerys with different configs.Jaap Roes
Seems to be a needless restriction in 978a00e39fee25cfa99065285b0de88366710fad.
2018-11-29Used assertCountEqual() in contrib.postgres.search tests.Tim Graham
2018-09-17Fixed #27899 -- Added support for phrase/raw searching in SearchQuery.Claude Paroz
Thanks Tim Graham, Nick Pope, and Claude Paroz for contribution and review.
2018-08-15Fixed #29644 -- Made SearchQuery.__str__() reflect negation and grouping.Tom Forbes
2018-07-21Fixed #29582 -- Fixed a crash when using SearchVector with non text-fields.Simon Charette
The PostgreSQL concat() function handles nulls and non-text values better than the || operator.
2017-11-15Fixed test failures due to ordering differences on PostgreSQL 10.Tim Graham
2017-03-17Replaced type-specific assertions with assertEqual().Tim Graham
Python docs say, "it's usually not necessary to invoke these methods directly."
2017-01-19Refs #23919 -- Stopped inheriting from object to define new style classes.Simon Charette
2016-09-07Fixed #27143 -- Allowed combining SearchQuery with more than one & or | ↵Nicola Jordan
operators.
2016-04-22Removed a flaky contrib.postgres search test.Tim Graham
The test sometimes fails on CI and isn't worth debugging at this time.
2016-04-22Refs #3254 -- Added full text search to contrib.postgres.Marc Tamlyn
Adds a reasonably feature complete implementation of full text search using the built in PostgreSQL engine. It uses public APIs from Expression and Lookup. With thanks to Tim Graham, Simon Charettes, Josh Smeaton, Mikey Ariel and many others for their advice and review. Particular thanks also go to the supporters of the contrib.postgres kickstarter.