Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Replace returnValue with return (#5736) | Amber Brown | 2019-07-23 | 1 | -30/+26 |
| | |||||
* | Run Black. (#5482) | Amber Brown | 2019-06-20 | 1 | -3/+3 |
| | |||||
* | Remove Postgres 9.4 support (#5448) | Amber Brown | 2019-06-18 | 1 | -22/+0 |
| | |||||
* | Expose DataStore._get_events as get_events_as_list | Erik Johnston | 2019-05-14 | 1 | -2/+2 |
| | | | | This is in preparation for reaction work which requires it. | ||||
* | Run black on the rest of the storage module (#4996) | Amber Brown | 2019-04-03 | 1 | -103/+94 |
| | |||||
* | Add an option to disable search for homeservers which may not be interested ↵ | Travis Ralston | 2018-12-04 | 1 | -0/+6 |
| | | | | | | in it (#4230) This is useful for homeservers not intended for users, such as bot-only homeservers or ones that only process IoT data. | ||||
* | run isort | Amber Brown | 2018-07-09 | 1 | -3/+5 |
| | |||||
* | Attempt to be more performant on PyPy (#3462) | Amber Brown | 2018-06-28 | 1 | -1/+1 |
| | |||||
* | Consistently use six's iteritems and wrap lazy keys/values in list() if ↵ | Amber Brown | 2018-05-31 | 1 | -2/+2 |
| | | | | they're not meant to be lazy (#3307) | ||||
* | remaining isintance fixes | Adrian Tschira | 2018-05-24 | 1 | -2/+3 |
| | | | | Signed-off-by: Adrian Tschira <nota@notafile.com> | ||||
* | Also fix reindexing of search | Erik Johnston | 2018-04-25 | 1 | -1/+1 |
| | |||||
* | Remove uses of events.content | Richard van der Hoff | 2018-03-29 | 1 | -2/+4 |
| | |||||
* | Merge branch 'master' of github.com:matrix-org/synapse into develop | Erik Johnston | 2018-03-19 | 1 | -1/+1 |
|\ | |||||
| * | Replace ujson with simplejson | Erik Johnston | 2018-03-15 | 1 | -1/+1 |
| | | |||||
* | | remove overzealous exception handling | Richard van der Hoff | 2018-02-14 | 1 | -18/+10 |
| | | |||||
* | | Merge branch 'matthew/gin_work_mem' into matthew/hit_the_gin | Richard van der Hoff | 2018-02-13 | 1 | -24/+117 |
|\ \ | |||||
| * \ | Merge branch 'develop' into matthew/gin_work_mem | Richard van der Hoff | 2018-02-13 | 1 | -6/+7 |
| |\ \ | |||||
| | * | | Factor out common code for search insert | Richard van der Hoff | 2018-02-05 | 1 | -33/+62 |
| | | | | | | | | | | | | | | | | | | | | we can reuse the same code as is used for event insert, for doing the background index population. | ||||
| | * | | Move store_event_search_txn to SearchStore | Richard van der Hoff | 2018-02-05 | 1 | -0/+33 |
| | |/ | | | | | | | | | | | | | ... as a precursor to making event storing and doing the bg update share some code. | ||||
| * | | Factor out common code for search insert | Richard van der Hoff | 2018-02-04 | 1 | -33/+56 |
| | | | | | | | | | | | | | | | we can reuse the same code as is used for event insert, for doing the background index population. | ||||
| * | | Clean up work_mem handling | Richard van der Hoff | 2018-02-03 | 1 | -11/+41 |
| | | | | | | | | | | | | | | | Add some comments and improve exception handling when twiddling work_mem for the search update | ||||
| * | | Move store_event_search_txn to SearchStore | Richard van der Hoff | 2018-02-03 | 1 | -0/+35 |
| | | | | | | | | | | | | | | | ... as a precursor to making event storing and doing the bg update share some code. | ||||
| * | | oops | hera | 2018-01-09 | 1 | -1/+1 |
| | | | |||||
| * | | avoid 80s GIN inserts by tweaking work_mem | Matthew Hodgson | 2018-01-09 | 1 | -0/+4 |
| |/ | | | | | | | see https://github.com/matrix-org/synapse/issues/2753 for details | ||||
* | | GIN reindex: Fix syntax errors, improve exception handling | Richard van der Hoff | 2018-02-13 | 1 | -13/+27 |
| | | |||||
* | | Reinstate event_search_postgres_gist handler | Richard van der Hoff | 2018-02-02 | 1 | -0/+11 |
| | | | | | | | | People may have queued updates for this, so we can't just delete it. | ||||
* | | fix GIST->GIN switch | Matthew Hodgson | 2018-01-09 | 1 | -12/+16 |
| | | |||||
* | | switch back from GIST to GIN indexes | Matthew Hodgson | 2018-01-09 | 1 | -8/+13 |
|/ | |||||
* | Make __init__ consitstent across Store heirarchy | Richard van der Hoff | 2017-11-13 | 1 | -2/+2 |
| | | | | | | Add db_conn parameters to the `__init__` methods of the *Store classes, so that they are all consistent, which makes the multiple inheritance work correctly (and so that we can later extract mixins which can be used in the slavedstores) | ||||
* | replace 'except:' with 'except Exception:' | Richard van der Hoff | 2017-10-23 | 1 | -2/+2 |
| | | | | what could possibly go wrong | ||||
* | Remove spurious comment | Erik Johnston | 2016-11-03 | 1 | -2/+2 |
| | |||||
* | Replace postgres GIN with GIST | Erik Johnston | 2016-11-03 | 1 | -0/+27 |
| | | | | | This is because GIN can be slow to write too, especially when the table gets large. | ||||
* | Remove event fetching from DB threads | Erik Johnston | 2016-06-03 | 1 | -13/+16 |
| | |||||
* | Simplify query and handle finishing correctly | Erik Johnston | 2016-04-22 | 1 | -16/+14 |
| | |||||
* | Order NULLs first | Erik Johnston | 2016-04-21 | 1 | -3/+14 |
| | |||||
* | Fix query | Erik Johnston | 2016-04-21 | 1 | -2/+2 |
| | |||||
* | Use special UPDATE syntax | Erik Johnston | 2016-04-21 | 1 | -20/+12 |
| | |||||
* | Typo | Erik Johnston | 2016-04-21 | 1 | -1/+1 |
| | |||||
* | Need to do _background_update_progress_txn in actual transaction | Erik Johnston | 2016-04-21 | 1 | -6/+8 |
| | |||||
* | Update progress when creating index | Erik Johnston | 2016-04-21 | 1 | -0/+7 |
| | |||||
* | Fix SQL statement | Erik Johnston | 2016-04-21 | 1 | -3/+3 |
| | |||||
* | Create index must be on a conn | Erik Johnston | 2016-04-21 | 1 | -6/+13 |
| | |||||
* | Create index concurrently | Erik Johnston | 2016-04-21 | 1 | -1/+13 |
| | |||||
* | Optimise event_search in postgres | Erik Johnston | 2016-04-21 | 1 | -1/+60 |
| | |||||
* | copyrights | Matthew Hodgson | 2016-01-07 | 1 | -1/+1 |
| | |||||
* | Fix 500 error when back-paginating search results | Richard van der Hoff | 2015-12-17 | 1 | -2/+4 |
| | | | | | We were mistakenly adding pagination clauses to the count query, which then failed because the count query doesn't join to the events table. | ||||
* | Merge branch 'release-v0.12.0' into develop | Mark Haines | 2015-12-14 | 1 | -0/+5 |
|\ | |||||
| * | Skip events that where the body, name or topic isn't a string when back ↵ | Mark Haines | 2015-12-14 | 1 | -0/+5 |
| | | | | | | | | populating the FTS index | ||||
* | | Fix typo in sql for full text search on sqlite3 | Mark Haines | 2015-12-14 | 1 | -1/+1 |
| | | |||||
* | | Include approximate count of search results | Erik Johnston | 2015-12-11 | 1 | -2/+54 |
| | | |||||
* | | Use more efficient query form | Erik Johnston | 2015-12-11 | 1 | -8/+13 |
|/ | |||||
* | Throw if unrecognized DB type | Erik Johnston | 2015-12-02 | 1 | -1/+4 |
| | |||||
* | Fix so highlight matching works again | Erik Johnston | 2015-12-02 | 1 | -8/+13 |
| | |||||
* | Remove deuplication. Add comment about regex. | Erik Johnston | 2015-12-02 | 1 | -21/+11 |
| | |||||
* | Search: Add prefix matching support | Erik Johnston | 2015-12-02 | 1 | -5/+32 |
| | |||||
* | Allow paginating search ordered by recents | Erik Johnston | 2015-11-30 | 1 | -16/+25 |
| | |||||
* | Return words to highlight in search results | Erik Johnston | 2015-11-27 | 1 | -19/+104 |
| | |||||
* | Trailing whitespace | Erik Johnston | 2015-11-12 | 1 | -1/+1 |
| | |||||
* | Expand comment | Erik Johnston | 2015-11-12 | 1 | -0/+6 |
| | |||||
* | Comment | Erik Johnston | 2015-11-12 | 1 | -0/+2 |
| | |||||
* | Fix SQL syntax | Erik Johnston | 2015-11-12 | 1 | -2/+3 |
| | |||||
* | Use a (hopefully) more efficient SQL query for doing recency based room search | Erik Johnston | 2015-11-12 | 1 | -4/+6 |
| | |||||
* | Merge pull request #359 from matrix-org/markjh/incremental_indexing | Erik Johnston | 2015-11-11 | 1 | -2/+101 |
|\ | | | | | Incremental background updates for db indexes | ||||
| * | Fix the background update | Mark Haines | 2015-11-11 | 1 | -8/+8 |
| | | |||||
| * | Use a background task to update databases to use the full text search | Mark Haines | 2015-11-10 | 1 | -4/+4 |
| | | |||||
| * | Run the background updates when starting synapse. | Mark Haines | 2015-11-10 | 1 | -3/+8 |
| | | |||||
| * | Add background update task for reindexing event search | Mark Haines | 2015-11-09 | 1 | -2/+96 |
| | | |||||
* | | fix comedy important missing comma breaking recent-ordered FTS on sqlite | Matthew Hodgson | 2015-11-08 | 1 | -1/+1 |
|/ | |||||
* | Error handling | Erik Johnston | 2015-11-05 | 1 | -1/+8 |
| | |||||
* | Implement basic pagination for search results | Erik Johnston | 2015-11-05 | 1 | -36/+19 |
| | |||||
* | Implement order and group by | Erik Johnston | 2015-11-04 | 1 | -0/+96 |
| | |||||
* | Implement rank function for SQLite FTS | Erik Johnston | 2015-10-23 | 1 | -1/+2 |
| | |||||
* | Actually filter results | Erik Johnston | 2015-10-22 | 1 | -3/+5 |
| | |||||
* | LESS THAN | Erik Johnston | 2015-10-22 | 1 | -1/+2 |
| | |||||
* | Use namedtuple as return value | Erik Johnston | 2015-10-22 | 1 | -3/+15 |
| | |||||
* | Limit max number of SQL vars | Erik Johnston | 2015-10-22 | 1 | -4/+6 |
| | |||||
* | Typing | Erik Johnston | 2015-10-16 | 1 | -2/+2 |
| | |||||
* | Explicitly check for Sqlite3Engine | Erik Johnston | 2015-10-16 | 1 | -2/+5 |
| | |||||
* | Add docstring | Erik Johnston | 2015-10-16 | 1 | -0/+11 |
| | |||||
* | Comment on the LIMIT 500 | Erik Johnston | 2015-10-16 | 1 | -0/+2 |
| | |||||
* | Add paranoia limit | Erik Johnston | 2015-10-13 | 1 | -1/+1 |
| | |||||
* | Remove constraints in preperation of using filters | Erik Johnston | 2015-10-13 | 1 | -20/+10 |
| | |||||
* | Add SQLite support | Erik Johnston | 2015-10-13 | 1 | -5/+12 |
| | |||||
* | Filter events to only thsoe that the user is allowed to see | Erik Johnston | 2015-10-12 | 1 | -7/+7 |
| | |||||
* | Keep FTS indexes up to date. Only search through rooms currently joined | Erik Johnston | 2015-10-12 | 1 | -1/+6 |
| | |||||
* | Add basic full text search impl. | Erik Johnston | 2015-10-09 | 1 | -0/+75 |