Commit Graph

147 Commits

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