1d08f6850b
Elastic: paralellise reindexing
...
It's marginally faster (on our production DB user reindexing goes down from
5+ minutes to 4 minutes), but will likely become significantly faster when
we run ElasticSearch on its own machine.
2018-01-09 17:05:31 +01:00
408db5e060
Elastic: log how long reindexing took
2018-01-09 16:57:31 +01:00
740e088cc5
Elastic: Doc & return type polish
2018-01-09 16:21:08 +01:00
4fdcd2a343
Elastic: include exact searches on email address
2018-01-09 16:16:38 +01:00
6e40b9a44a
Elastic: delegated common user search functionality to a single function
2018-01-09 16:16:26 +01:00
c20aa41b5c
Formatting
2018-01-09 16:09:49 +01:00
d96be99d1d
Hacked jquery.autocomplete to not use algolia-autocomplete CSS class
...
Instead, it now uses search-autocomplete.
2018-01-05 17:53:24 +01:00
6a9c27f8bf
Removed console.log JS
2018-01-05 17:39:38 +01:00
284d822a8a
Asset search: order by newest-first on empty query
2018-01-05 17:29:59 +01:00
9d39995d0f
Asset search: debug-log instead of print query + result
2018-01-05 17:29:47 +01:00
36aad45b26
Asset search JS: show creation timestamps
2018-01-05 17:23:40 +01:00
83a38ff50e
Admin user search: include aggregations
2018-01-05 17:03:09 +01:00
67851752fa
Search JS: more stupid and thus more reliable repeat query filtering
2018-01-05 17:02:42 +01:00
33c051bf28
Search: include explicit indices to search
...
This makes it possible to search for 'everything' without explicitly
stating the document type.
2018-01-05 16:42:08 +01:00
b6f7958dfe
Admin user search: Include aggregations
2018-01-05 16:41:36 +01:00
acd7a40fe6
Renamed do_search → do_node_search
2018-01-05 16:40:54 +01:00
999c1a3fa6
Formatting
2018-01-05 16:26:41 +01:00
a574a75610
Advanced search JS: avoid re-querying for the same thing
2018-01-05 16:10:24 +01:00
af69b4fa58
Admin user search: boost user ID matching
2018-01-05 16:02:49 +01:00
01d8ad5ca2
Admin user search: also match on user ID
...
And removed user ID matching for regular user search.
2018-01-05 15:52:25 +01:00
57ce554feb
Log search queries instead of printing them
2018-01-05 15:52:01 +01:00
72c01cc743
Admin user search actually uses the right end-point
2018-01-05 15:51:41 +01:00
75a6de18b2
Regular user search now also finds by email address
2018-01-05 15:51:30 +01:00
fdab66a500
Elastic: prevent indexing deleted nodes
2018-01-05 15:33:40 +01:00
dcd67b6114
Simplified ElasticSearch connection
2018-01-05 15:24:57 +01:00
f6cf8d29f0
Elastic: search indexing logging tweaks
2018-01-05 15:24:47 +01:00
0b6969bf0c
Search JS: removed console.log debug calls
2018-01-05 15:24:29 +01:00
b4a5cdec55
search JS: gracefully handle errors
2018-01-05 15:24:19 +01:00
11b5be9d8e
Fixed missing video.js errors in asset search page
2018-01-05 15:23:54 +01:00
90883eddb9
xhrErrorResponseMessage: nice message when unable to connect
2018-01-05 15:23:43 +01:00
d240a979ba
scrollToLinkedComment: Check for valid ObjectID before passing to jQuery
2018-01-05 15:08:00 +01:00
8f6966978f
Elastic: more progress logging when reindexing users
2018-01-05 14:42:10 +01:00
7f33826d1d
prepare_user_data: Always return a dict
2018-01-05 14:41:59 +01:00
b09e4463bd
Elastic: don't regenerate picture links
...
Thumbnail links shouldn't expire anyway.
2018-01-05 14:27:46 +01:00
1bfda7769a
Elastic reindexing: more verbose logging at info level.
...
Including some progress report every 100 nodes.
2018-01-05 14:22:38 +01:00
bbdb731043
Slightly nicer return value & dict creation.
2018-01-05 14:22:38 +01:00
4381ed6671
Elastic: handle pictures without variations or project ID
...
This happens on old file documents.
2018-01-05 14:22:38 +01:00
2ca960a73f
Hard-code 'elastic:9200' as ElasticSearch host
2018-01-05 13:10:39 +00:00
2433a1b981
minor documentation / annotation fixes
2018-01-05 11:58:33 +01:00
2ed2aaf58f
merge
2018-01-05 10:58:32 +01:00
24d38fe52e
Merge branch 'master' of git.blender.org:pillar into elastic
2018-01-05 10:56:46 +01:00
de8c6a8b63
improve elastic server settings
2018-01-05 10:56:41 +01:00
96428d3c73
Elastic: use different indices when running unit tests.
2018-01-03 18:34:55 +01:00
520f327f5a
Default ELASTIC_SEARCH_HOSTS to the host/docker name we use in production
...
Also removed some comments that didn't add any new information.
2018-01-03 18:34:33 +01:00
f1b3409052
Merge branch 'master' into elastic
2018-01-03 17:42:01 +01:00
91660fefe4
Lowering log level to DEBUG for internal SDK call exceptions.
...
The exception is re-raised anyway, so it may be handled by the caller in
a way that doesn't warrant a warning/error at all.
2018-01-03 14:39:02 +01:00
fdb9970792
Prevent crash when session['blender_id_oauth_token'] doesn't exist
2018-01-03 12:19:03 +01:00
1c6599fc30
More detailed logging in fetch_blenderid_user
2018-01-03 12:18:43 +01:00
a938342611
Reduced log level when checking user without email for org membership
...
Service accounts may not have an email address, which is fine for now.
2018-01-03 12:08:06 +01:00
656a878c6a
Include stack trace when looking an SDK exception.
...
Possibly the exception shouldn't be logged at all (or just at debug level),
since it's also re-raised and should be handled by the caller instead.
2018-01-03 11:44:49 +01:00