Commit Graph

44 Commits

Author SHA1 Message Date
edshot99
01d9e47d0a Merge branch 'master' into master2 2025-01-16 19:56:41 -06:00
Donovan Daniels
b44f8a7d6f
[Posts] Add contributor category (#794) 2024-12-18 06:07:30 -08:00
edshot99
4928747b83 add transcript support
it could be possible to load closed captions and subtitles from the transcript div via javascript, but I hate javascript so perhaps some other time.
2024-11-10 13:58:15 -06:00
edshot99
b7fee5fe2f add title support 2024-10-30 18:52:53 -05:00
edshot99
a3e00b591f add new tag category 'People' 2024-10-28 20:04:58 -05:00
Donovan Daniels
f315504660
[Posts] Add verified artist search (#663) 2024-09-07 13:34:25 -07:00
Earlopain
6dfd8d8a7e
[Rails] Use different syntax to query if pg array contains single value
This will be broken in the next major rails version: https://github.com/rails/rails/issues/51617
2024-04-21 18:21:37 +02:00
Earlopain
584f69d407
[Posts] Fix initial import including deleted notes 2024-04-05 13:18:45 +02:00
Earlopain
b6dc473a55
[Elasticsearch] Bring back the proxy object 2023-09-16 17:09:33 +02:00
Earlopain
ddcb7c1af1
[Elasticsearch] Implement index_name 2023-09-16 15:39:49 +02:00
Earlopain
5d791f9803
[Elasticsearch] Extend the base class
This whole thing needs some refactoring after I'm done with this.
2023-09-16 14:16:08 +02:00
Earlopain
bd1bd8cfc3
[Elasticsearch] Stop sending the document type
This is deprecated in ES7 and removed in ES8 and OS2
2023-09-16 13:48:30 +02:00
Earlopain
3285d546f9
[Elasticsearch] Move index creation to DocumentStore 2023-09-14 21:53:26 +02:00
Earlopain
31b27ac1fd
[Posts] Remove pixiv_id from elastic index
There's no trouble with just removing it in code. Eventually switching
OpenSearch will clean this up properly
2023-05-30 16:13:44 +02:00
Earlopain
aa8e1037bf
[Cleanup] Remove pixiv_id 2022-03-16 17:11:10 +01:00
Earlopain
147ec019e8
[Search] Add pending replacements field 2021-10-05 21:14:00 +02:00
Kira
dbb5870d93 [Tests] Fix pool related errors in tests 2021-02-25 12:08:09 -08:00
Kira
015b81203a [Posts] Support video duration 2020-10-04 12:29:22 -07:00
Kira
a6b21361b5 [Indexer] lowecase deletion reasons 2020-05-08 18:44:02 -07:00
Kira
8e6840a54f Fix import error with invalid height/width 2020-02-01 10:48:44 -08:00
Kira
ac5361f169 Make it so set and pool import can run in real time 2020-02-01 10:17:14 -08:00
Kira
c6b1046fc5 Add a few boolean search tags 2020-01-25 03:53:53 -08:00
Kira
8e82f53ca2 Fix bad index on post flags 2019-10-21 03:39:55 -07:00
Kira
afbe5bb7e9 Fix result window on search
The default result window is 10k in ES, which is below our max
result count of 320 posts over 750 pages. Added 10k to the cap
just in case something comes up and we need more results.

I have been told that this doesn't cause problems in production
on Derpi, but we'll see. This can be lowered at runtime, so it
won't be a big deal if we have to roll it back down again.
2019-09-25 21:04:50 -07:00
Kira
f85de16f96 Add missing search options
Add note, deletedby, and delreason search options.
2019-09-25 20:40:52 -07:00
Kira
5a133e1643 Add lore tag category 2019-09-24 17:04:46 -07:00
Kira
46bacc13d8 Fix ES import for pools/sets
The SQL operator used in the import script was trying to ensure
that all elements were contained within each pool/set array, but
the script was actually interested in any intersection between the
two arrays.
2019-09-15 13:15:38 -07:00
Kira
a8503bee23 Fix elasticsearch for ES 7.x 2019-09-09 12:57:57 -07:00
Kira
789f5f3564 Fix commenter and noter search
This also fixes the post counts on profile pages for those sections.
2019-08-18 13:04:11 -07:00
Kira
41e1a1a0f7 Add change_seq support 2019-08-15 07:34:11 -07:00
Kira
1861441100 Add post status below post on index pages 2019-08-03 19:00:58 -07:00
Kira
e28621556c Fix post import of votes 2019-07-23 09:49:51 -07:00
Kira
aa7f443555 Add missing post index items 2019-07-23 07:22:14 -07:00
Kira
acf443b626 Fix search by approver and user metatags 2019-07-22 15:52:23 -07:00
Kira
59c7be161e Fix #103 Fix #102 Fix shard count 2019-07-17 11:56:16 -07:00
Kira
7b750ac862 Descriptions on posts 2019-07-14 06:24:52 -07:00
Kira
bf100446b9 Teach uploaders and editor pages about multiple sources
This somewhat gimps the current source information fetching tool,
however it was already a bit suspect, and needs to be reworked before
being released as a public tool because it relies on API calls.
2019-04-26 07:27:06 -07:00
Kira
e62099af44 A whole boatload of elasticsearch changes
Makes index job unique to account for changes to update triggering.
Fixes instances of mixed SQL and ES searches with tag_matches.
Adds utility methods for exists? and count_only ES searches.
Adds comment_bumped_at for comments page usage.
Adds random seeding capability.
Fixes random searches not working correctly.
Fixes status:active.
2019-03-28 14:04:01 -07:00
Kira
b703c61f86 Add pool and set searching
Fix query generator nesting of should items
2019-03-27 00:38:10 -07:00
Liam P. White
6d35ba53a9 fix post import bugs 2019-03-24 08:48:59 -04:00
Liam P. White
01a0407e9b add random sort to query builder 2019-03-24 08:45:44 -04:00
Liam P. White
0a50f5f4ea add supposedly faster indexing method 2019-03-24 08:45:44 -04:00
byte
2b7c1765a0 first pass, mostly works 2019-03-24 08:45:44 -04:00
byte
d1aa2e69f5 add post index 2019-03-24 08:45:44 -04:00