summaryrefslogtreecommitdiff
path: root/tests/test_search.py
Commit message (Collapse)AuthorAgeFilesLines
* Making search document subscriptable (#2615)Abhishek Kumar Sinha2023-03-151-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fixed issue #2598 - make Document class subscriptable * Last time added older file, fixed it * retrigger checks * update json().arrindex() default values (#2611) * update json().arrindex() default values * add unit test * fix falsy checks * more unit tests * add asyncio tests * fix lint line length --------- Co-authored-by: Alex Schmitz <aschmitz@box.com> * Speeding up the protocol parsing (#2596) * speeding up the protocol parser * linting * changes to ease * Fixed CredentialsProvider examples (#2587) Co-authored-by: dvora-h <67596500+dvora-h@users.noreply.github.com> * ConnectionPool SSL example (#2605) * [types] update return type of smismember to list[int] (#2617) * update return type of smismember * use Literal instead of int * retrigger checks * Added test for document subscriptable in tests/test_search.py * Fixed linter issue * retrigger checks --------- Co-authored-by: Alex Schmitz <alex.schmitz@gmail.com> Co-authored-by: Alex Schmitz <aschmitz@box.com> Co-authored-by: Chayim <chayim@users.noreply.github.com> Co-authored-by: Bar Shaul <88437685+barshaul@users.noreply.github.com> Co-authored-by: dvora-h <67596500+dvora-h@users.noreply.github.com> Co-authored-by: CrimsonGlory <CrimsonGlory@users.noreply.github.com> Co-authored-by: Raymond Yin <raymond@tryevergreen.com>
* Add dialect to ft aggregate (#2537)DvirDukhan2023-01-021-10/+20
| | | | | | | | | * add dialect to aggregate request * added test * format * async test
* Add TIMEOUT to query class (#2519)shacharPash2022-12-211-0/+9
| | | | | | | | | | | | | | | | | | | * add timeout to query class * Add test_timeout * fix lines * fix format * add test & fixes * merge tests * change timeout to not_a_number * change q1 to q2 * Fix async method
* Deprecate `add_doccument` (FT.ADD) (#2425)dvora-h2022-10-241-206/+92
| | | | | | | | | * deprecate add_doccuments * linters * linters * async tests
* Fix `TIMESERIES` (round floats) and `JSON` tests (#2421)dvora-h2022-10-231-9/+2
| | | | | * Fix timeseries tests (round floats) * fix json tests
* Add support for WITHSUFFIXTRIE to FT.CREATE (#2324)v4.4.0rc1dvora-h2022-08-041-0/+24
| | | | | | | * withsuffixtrie * Update test_search.py * fix
* Search test - Ignore order of the items in the response (#2322)dvora-h2022-08-041-1/+1
| | | | | * fix test * async test
* Fix crash: key expire while search (#2270)dvora-h2022-07-241-0/+14
| | | | | * fix expire while search * sleep
* Add `query_params` to FT.PROFILE (#2198)dvora-h2022-06-011-0/+24
| | | | | | | * ft.profile query_params * fix pr comments * type hints
* update black to 22.3.0 (#2171)Utkarsh Gupta2022-05-301-56/+18
|
* Support CASESENSITIVE for TAG fields (#2112)Avital Fine2022-04-251-11/+36
| | | | | * Support CASESENSITIVE for TAG fields * add wait fot index + update all the callings to use getattr() instead of the string "idx"
* Clean up test supoort enterprise environments (#2082)dvora-h2022-04-041-2/+12
| | | | | * skip tests on enterprise * delete dping implementation
* Fix search query with params tests (#2076)dvora-h2022-03-311-4/+5
|
* Add dialect support for RediSearch queries (#2071)dvora-h2022-03-311-0/+45
| | | | | | | * Add dialect support for RediSearch queries * type hints Co-authored-by: Chayim <chayim@users.noreply.github.com>
* Support for Vector Fields for Vector Similarity Search (#2041)Avital Fine2022-03-231-1/+41
| | | | | | | | | | | | | | | | | | | | | | | * Support Vector field in FT.CREATE command * linters * fix data error * change to dic * add type hints and docstring to constructor * test not supported algorithm * linters * fix errors * example * delete example Co-authored-by: dvora-h <dvora.heller@redis.com>
* Add support for SEARCH commands in cluster (#2042)dvora-h2022-03-141-30/+26
| | | | | | | * Add support for SEARCH commands in cluster * delete json tests mark & list search commands * linters
* Add pipeline support for search (#2038)dvora-h2022-03-081-0/+18
|
* Add support for HSET items (#2006)Marek Czaplicki2022-03-061-1/+1
| | | | | | | | | | | | * Add `items` parameter to `hset` * Add test for `hset` with `items` * Update CHANGES * fix test_profile Co-authored-by: Chayim <chayim@users.noreply.github.com> Co-authored-by: dvora-h <dvora.heller@redis.com>
* Add support for JSON, TIMESERIES, BLOOM & GRAPH commands in cluster (#2032)dvora-h2022-03-061-0/+3
| | | Co-authored-by: Chayim <chayim@users.noreply.github.com>
* Vector similarity search support (#1986)Chayim2022-02-151-0/+53
|
* fix quantile test (#1920)Ariel Shtul2022-02-091-1/+1
| | | | | * fix quantile test * add space
* Fix naming conventions (#1872)dvora-h2022-02-021-8/+8
| | | | | * fix naming convention * fix worng changes
* FT.CREATE - support MAXTEXTFIELDS, TEMPORARY, NOHL, NOFREQS, SKIPINITIALSCAN ↵Avital Fine2022-01-101-0/+66
| | | | | (#1847) Co-authored-by: Chayim I. Kirshen <c@kirshen.com>
* Removing distutils from tests (#1773)Chayim2021-12-081-2/+2
| | | Co-authored-by: Bar Shaul <88437685+barshaul@users.noreply.github.com>
* Aggregation loadall (#1735)Avital Fine2021-12-021-0/+5
| | | Co-authored-by: Chayim <chayim@users.noreply.github.com>
* Added black and isort (#1734)Anas2021-11-301-261/+149
|
* Pyupgrade + flynt + f-strings (#1759)Aarni Koskela2021-11-301-2/+2
| | | @akx Thank you so much for this! Thanks again for introducing me to a new tool that I'm sliding into my workflow as well.
* Support RediSearch FT.PROFILE command (#1727)Avital Fine2021-11-251-0/+43
|
* Improve code coverage for aggregation tests (#1713)Avital Fine2021-11-251-58/+264
|
* FT.EXPLAINCLI intentionally raising NotImplementedError (#1705)Chayim2021-11-141-0/+6
|
* Call HSET after FT.CREATE to avoid keyspace scan (#1706)Ariel Shtul2021-11-141-3/+3
|
* [TEST] search alias test (#1695)Ariel Shtul2021-11-101-17/+4
|
* Adding RediSearch/RedisJSON tests (#1691)Ariel Shtul2021-11-101-0/+99
|
* Sleep for flaky search test (#1680)Chayim2021-11-091-0/+4
|
* Adding support for redisearch (#1640)Chayim2021-10-251-0/+1219