Commit Graph

77 Commits

Author SHA1 Message Date
3cea785336 Fix page id not get in auto-synthesize subscription 2022-08-25 16:09:35 +08:00
5622154e6c Update listenedAt in the API 2022-08-25 16:09:35 +08:00
0a75c52a8c Fix getting script_exception when updating labels in highlights by checking null before updating 2022-08-19 14:36:58 +08:00
8f50285ad5 Allow search page by highlight or label id 2022-08-05 16:09:24 +08:00
977bd1deda Fix tests 2022-08-05 11:44:02 +08:00
7ce183d6f8 Add soft delete of pages by updating page state to Deleted 2022-07-29 18:10:05 +08:00
83f988bb35 Soft delete articles 2022-07-29 15:53:13 +08:00
07c6214e88 Add DELETED state to the article 2022-07-29 14:08:35 +08:00
edd44fcafc fix get article test 2022-07-14 17:56:55 +08:00
404798a01e use correct index name 2022-07-14 17:08:40 +08:00
4eb55846fd create elastic index if not exists in testing 2022-07-14 16:53:23 +08:00
931c519d44 typeahead searchs by siteName 2022-07-13 10:37:06 +08:00
dc9523e522 add searchAsYouType in elastic 2022-07-12 09:36:00 -07:00
9feeb80cf3 Allow fetching original content
This is useful when debugging
2022-07-09 14:35:14 -07:00
41f43b54ab Publish delete event 2022-07-07 12:31:46 +08:00
efd47f3f83 add function to delete pages by param 2022-07-07 11:07:00 +08:00
c08afe6451 Update page updatedAt when updating labels 2022-06-28 12:03:37 +08:00
00f38d1134 Update page updatedAt when updating highlights 2022-06-28 11:55:26 +08:00
59efc5fea7 Add test 2022-06-28 10:14:15 +08:00
bf1faaeea4 Include highlights in search page result in elastic 2022-06-28 09:56:39 +08:00
e96d5552fa Fix search by is:read or is:unread getting empty result by using the correct property name 2022-06-23 12:35:48 +08:00
9a2f4b300a Fix a script error by deleting both labels in pages and highlights 2022-06-20 19:06:50 +08:00
f88083e535 Merge pull request #813 from omnivore-app/advanced-search
advanced search
2022-06-19 10:55:18 +08:00
26e7ab178e Fetch page savedAt, readingProgress from elastic 2022-06-17 17:08:26 +08:00
1be9c980e1 Add savedAt to searchItem and make readingProgress required in elastic 2022-06-17 16:03:49 +08:00
e3c30dd076 Allow matching title, description, content keyword in elastic 2022-06-16 22:15:05 +08:00
40bb49012a Allow match keyword 2022-06-16 22:15:01 +08:00
c5c8763767 Add readAt to searchItem 2022-06-15 09:32:53 +08:00
9baeb89742 Add more elastic debugging 2022-06-09 13:52:49 -07:00
520ce0077b Add refresh index method 2022-06-09 12:34:22 +08:00
4cf45af669 Add debug log for deleting label 2022-06-09 12:33:42 +08:00
309c581cf5 Merge pull request #729 from omnivore-app/labels-in-highlights
Support labels in highlights
2022-06-09 09:28:43 +08:00
2dcab66af2 Update labels for both pages and highlights 2022-06-08 17:39:38 +08:00
7c840f5b1e Merge deleteLabel in page and highlight 2022-06-08 17:25:33 +08:00
a981e13c86 Add test case for deleteLabel 2022-06-08 17:01:38 +08:00
22c604c15b Add deleteLabelForHighlights 2022-06-08 15:33:43 +08:00
bdda54d54a Add set Labels For Highlight data access method 2022-06-06 19:15:03 +08:00
577c6e84fb Add readAt to page type 2022-06-04 22:11:14 +08:00
04f7fdc31f Add labels in highlight type 2022-06-01 19:01:26 +08:00
195074fa49 Update search query 2022-06-01 13:49:51 +08:00
a04bfbb83e When searching for highlights we should include document title, description, content as secondary indexes 2022-05-29 22:43:21 +08:00
0ef9bb3944 Allow search by language in elastic 2022-05-26 10:55:20 +08:00
87b0f683e1 Add language term in search body 2022-05-26 10:55:04 +08:00
a702993485 Add search by language query 2022-05-26 10:52:18 +08:00
3e0e8b486f Add language in searchitem 2022-05-26 10:52:18 +08:00
be91562ca1 Add language in page 2022-05-26 10:52:18 +08:00
61065efd2b Add published sort param in elastic query 2022-05-24 18:24:30 +08:00
34349e925c Add unit test 2022-05-19 16:36:35 +08:00
b8225fc8c8 Fix labels not being updated in elastic 2022-05-19 12:08:50 +08:00
f51dbafdfc Stop throwing document not found exception to sentry 2022-05-13 11:40:08 +08:00