Commit graph

150 commits

Author SHA1 Message Date
Mouse Reeve
62b6bfe1ee Annotation and filtering order 2021-06-26 18:55:09 -07:00
Mouse Reeve
6470033ac9 Fixes search query syntax
mad about the lack of django docs on this, jeez
2021-06-26 16:20:18 -07:00
Mouse Reeve
61785cee66 Set defualt min confidence to 0 2021-06-26 09:12:23 -07:00
Mouse Reeve
deb1b9943a Uses simple dictionary as backup for english dictionary
Creates search vectors with stop words if the english version is empty,
and uses a SearchQuery OR with simple and english on the view side.
2021-06-24 10:56:27 -07:00
Mouse Reeve
7c15fbbb0b More efficient search index
Co-authored-by: asmr-hex <0.0@asmr.software>
2021-06-23 16:54:59 -07:00
Mouse Reeve
7a44a9b516 Use catch-all requests exception 2021-06-20 09:23:57 -07:00
Mouse Reeve
95a19a44f8 Don't error out when invalid urls are entered 2021-06-20 09:13:57 -07:00
Mouse Reeve
9e5c7053e9 More pylint fixes 2021-06-18 14:29:24 -07:00
Mouse Reeve
4479864008 Updates code for linter 2021-06-18 14:12:56 -07:00
Mouse Reeve
321554f17e
Merge pull request #1181 from bookwyrm-social/search-cleanup
Minor simplifications to search queries
2021-06-17 14:57:17 -07:00
Mouse Reeve
59643c02a3 Python formatting 2021-06-17 14:48:19 -07:00
Mouse Reeve
5d3639e47f Minor simplications to search queries 2021-06-17 14:46:58 -07:00
Mouse Reeve
cf3869ad32 Adds timeouts to get requests 2021-06-17 12:34:54 -07:00
Mouse Reeve
1e9211018d Handle openlibrary redirects 2021-05-20 15:55:50 -07:00
Mouse Reeve
d7a8dd5e19 Removes outdated field form abstract connector 2021-05-11 13:20:17 -07:00
Mouse Reeve
9b42bba236 Filter out inactive connectors 2021-05-11 11:34:58 -07:00
Mouse Reeve
e7c5b77b4c Removes unused connector fields and adds active boolean 2021-05-11 09:54:04 -07:00
Mouse Reeve
07c84a6e1a Adds confidence ratings to inventaire results
Fixes bad matches in csv imports
2021-05-10 15:35:46 -07:00
Mouse Reeve
df2c1f0723
Merge branch 'main' into fixes-search-display 2021-05-10 13:29:39 -07:00
Mouse Reeve
1844dd6b20 Only include result blobs with results in search results 2021-05-10 13:01:11 -07:00
Mouse Reeve
13dc5efe71 More comprehensive tests for connector search 2021-05-10 12:53:36 -07:00
Mouse Reeve
5cd974b78d Python formatting 2021-05-10 10:03:05 -07:00
Mouse Reeve
f2d985e583 Uses one set of search logic for all results or just first 2021-05-10 09:57:53 -07:00
Mouse Reeve
c15358d715 Python formatting 2021-05-05 07:58:09 -07:00
Mouse Reeve
558c9c4d67 Sort edition list for better import results from inventaire 2021-05-05 07:53:10 -07:00
Mouse Reeve
f2a6cfb4f3 Remove deduplication of external search results 2021-04-30 16:04:27 -07:00
Mouse Reeve
a2621bce12 Fixes getting authors from work data 2021-04-30 15:48:52 -07:00
Mouse Reeve
485d20696b Fixes loading inventaire data by language code 2021-04-30 12:50:35 -07:00
Mouse Reeve
15790abc70 Don't show broken image previews when cover is absent 2021-04-29 13:03:56 -07:00
Mouse Reeve
095b60bff1 Show search result context for inventaire results 2021-04-29 11:22:09 -07:00
Mouse Reeve
7853610a20 Load descriptions correctly 2021-04-29 10:54:36 -07:00
Mouse Reeve
b1c38d291c Set preferred language 2021-04-29 10:40:49 -07:00
Mouse Reeve
ca86af22ce Get inventaire entity descriptions 2021-04-29 10:30:38 -07:00
Mouse Reeve
cfd2c05ae2 Safely handle absent claims field 2021-04-29 10:12:56 -07:00
Mouse Reeve
8d38d1c9d1 Python formatting 2021-04-29 09:56:35 -07:00
Mouse Reeve
f4800307b4 Adds isbn search 2021-04-29 09:54:42 -07:00
Mouse Reeve
95fce963d1 Images may already be absolute paths 2021-04-28 17:18:14 -07:00
Mouse Reeve
8eec3eca5b Don't spin out infinite load data tasks 2021-04-28 16:42:27 -07:00
Mouse Reeve
6551c59c45 Don't store default edition in the dataase 2021-04-28 16:05:17 -07:00
Mouse Reeve
ccf10e8012 Fixes cover load logic 2021-04-28 13:50:47 -07:00
Mouse Reeve
3faacffaca Associated expanded editions with correct work 2021-04-28 13:28:07 -07:00
Mouse Reeve
7b65291a59 Python formatting for the new Black standard 2021-04-26 14:43:29 -07:00
Mouse Reeve
64c2313a5d Merge branch 'main' into inventaire 2021-04-26 14:22:05 -07:00
Mouse Reeve
1edd00a0d1 Merge branch 'main' into list-fixes 2021-04-26 09:44:55 -07:00
Mouse Reeve
3ade2d3bb1 New version of black, new whitespace 2021-04-26 09:15:42 -07:00
Mouse Reeve
0f6b5cc6be Filter list search results to hide already added books 2021-04-26 08:02:30 -07:00
Mouse Reeve
1903812b1d Class method for checking if urls are blocked 2021-04-10 11:44:29 -07:00
Mouse Reeve
954958b6f9 Handle arbitrary errors in isbn search 2021-04-07 10:54:00 -07:00
Mouse Reeve
63d37c281d Handle invalid authors when importing books 2021-04-07 08:59:33 -07:00
Mouse Reeve
f11d64f984 Handle all connector errors in search 2021-04-07 08:09:47 -07:00