mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-20 21:44:35 -05:00
Remove spurious comment
This commit is contained in:
parent
8fd4d9129f
commit
64c6566980
@ -151,13 +151,13 @@ class SearchStore(BackgroundUpdateStore):
|
|||||||
conn.set_session(autocommit=True)
|
conn.set_session(autocommit=True)
|
||||||
c = conn.cursor()
|
c = conn.cursor()
|
||||||
|
|
||||||
# We create with NULLS FIRST so that when we search *backwards*
|
|
||||||
# we get the ones with non null origin_server_ts *first*
|
|
||||||
c.execute(
|
c.execute(
|
||||||
"CREATE INDEX CONCURRENTLY event_search_fts_idx_gist"
|
"CREATE INDEX CONCURRENTLY event_search_fts_idx_gist"
|
||||||
" ON event_search USING GIST (vector)"
|
" ON event_search USING GIST (vector)"
|
||||||
)
|
)
|
||||||
|
|
||||||
c.execute("DROP INDEX event_search_fts_idx")
|
c.execute("DROP INDEX event_search_fts_idx")
|
||||||
|
|
||||||
conn.set_session(autocommit=False)
|
conn.set_session(autocommit=False)
|
||||||
|
|
||||||
if isinstance(self.database_engine, PostgresEngine):
|
if isinstance(self.database_engine, PostgresEngine):
|
||||||
|
Loading…
Reference in New Issue
Block a user