0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-12-01 12:21:02 +01:00
posthog/ee
Sam Winslow 60cbf2e7c1
Trigram fuzzy search for property definitions (#5039)
* Trigram fuzzy search for property definitions

* support empty search param

* Only use pg_trgm search if pg extension is installed

* suppress exceptions if migration does not succeed

* checks for index

* troubleshooting

* wip: change migration number; strip out conditionals

* wip: copy code from #4110

* remove is_pg_trgm_installed

* try ngram search on CH

* add AND before ngram

* correct some check failures

* remove ordering

* remove ordering from tests

* fix ordering

* rewrite queries for psql, add test bypass for EE features

* remove ordering filter bc of bugs

* remove test code

* check if isinstance of RawQuerySet

* cleanup sql

* add ordering

* typing

* test for ee prop definition

* adjustments to test_ee_property_definition

* add test_ee_event_definition

* restore this prop

* convert to simple term filter

* use term search in EE

* fix EE tests

* fix non-EE tests

* fix test

* fix filter types

Co-authored-by: Paolo D'Amico <paolodamico@users.noreply.github.com>
Co-authored-by: Marius Andra <marius.andra@gmail.com>
2021-07-20 14:58:16 +02:00
..
api Trigram fuzzy search for property definitions (#5039) 2021-07-20 14:58:16 +02:00
bin Revert "Revert "Add is_deleted column to person_distinct_id"" (#5194) 2021-07-19 19:47:41 -07:00
certs Publish events to Kafka for consumption (#1644) 2020-09-15 20:04:38 -07:00
clickhouse Fix funnel trends step indexes (#5172) 2021-07-20 11:06:24 +01:00
idl Delete omni_person.proto (#3014) 2021-01-21 14:13:04 +01:00
kafka_client Plugin log entries (#3482) 2021-05-06 10:54:32 +03:00
management/commands Fix build (#5162) 2021-07-16 16:21:36 +03:00
migrations Event properties taxonomy (#4486) 2021-06-03 09:22:16 -04:00
models Remove free clickhouse license (#4788) 2021-06-17 16:47:04 +03:00
tasks Funnel persons per step and dropoff (#4883) 2021-06-29 12:22:42 -04:00
__init__.py Add enterprise edition and licensing (#1390) 2020-08-14 11:23:55 +02:00
apps.py Add enterprise edition and licensing (#1390) 2020-08-14 11:23:55 +02:00
conftest.py Make DDLs more friendly towards running on a cluster and cleanups (#5091) 2021-07-15 17:20:37 -07:00
docker-compose.ch.test.yml Default to "posthog" cluster (#5164) 2021-07-16 17:04:15 +03:00
docker-compose.ch.yml Make DDLs more friendly towards running on a cluster and cleanups (#5091) 2021-07-15 17:20:37 -07:00
LICENSE Updated where our enterprise terms are found (#2881) 2021-01-08 12:09:27 +01:00
settings.py Fix denormalised props funnels (#5101) 2021-07-13 13:13:45 +00:00
urls.py Debug CH queries (#2666) 2020-12-07 16:06:14 +01:00