Commit Graph

41 Commits

Author SHA1 Message Date
Uwe Steinmann
1e08ea06e9 add missing ' AND ' in query string 2021-05-05 13:44:02 +02:00
Uwe Steinmann
edd60363f3 return false if query fails 2021-05-05 13:43:40 +02:00
Uwe Steinmann
42c4b4eaaf add support for fts5, start new version 1.0.16 2021-04-20 20:52:17 +02:00
Uwe Steinmann
13fbd10d45 use 'x' to seperate path ids 2020-12-21 08:14:54 +01:00
Uwe Steinmann
835e3d2561 add path to term list 2020-12-18 14:57:41 +01:00
Uwe Steinmann
b6b2b7e9a2 add path to index 2020-12-17 18:33:16 +01:00
Uwe Steinmann
e69f7125bc check if query term already has a trailing '*' 2020-12-14 10:44:32 +01:00
Uwe Steinmann
82e5bf4687 add support for indexing folders, remove old predefined indexing commands 2020-12-12 16:27:53 +01:00
Uwe Steinmann
bb75b768ef fix error in creating a new fulltext index 2020-11-11 17:29:53 +01:00
Uwe Steinmann
397d542fb4 take limits into account 2020-09-29 16:42:09 +02:00
Uwe Steinmann
e14774110f new parameter $limit of method search() 2020-09-29 16:42:09 +02:00
Uwe Steinmann
95b01544f3 search even if query is empty 2020-09-29 16:42:09 +02:00
Uwe Steinmann
b47e53637d check if search fields are set 2020-09-29 16:42:09 +02:00
Uwe Steinmann
c93faff257 new parameters of search() 2020-09-29 16:42:09 +02:00
Uwe Steinmann
b7d5f09e5a add terms for 'user' and 'status' 2020-09-29 16:42:09 +02:00
Uwe Steinmann
984eca8e9f add field 'status' to index 2020-09-29 16:42:09 +02:00
Uwe Steinmann
854a9ea7fd add field 'status' to index 2020-09-29 16:42:09 +02:00
Uwe Steinmann
1fda490bbe pass a config array to search engine, search returns hits and total count 2020-09-29 16:42:09 +02:00
Uwe Steinmann
4bdb3c7061 put fulltext search into central service 2020-09-29 16:42:09 +02:00
Uwe Steinmann
dd1057128d add 'user' to list of terms 2020-09-06 07:58:43 +02:00
Uwe Steinmann
89795a7c31 index users with read access on a document, start version 1.1.12 2020-09-02 08:59:24 +02:00
Uwe Steinmann
b7deb84279 check if file to be indexed exists 2019-12-31 15:42:15 +01:00
Uwe Steinmann
4775fdcd6c save field 'created' instead of time() in addDocument() 2019-11-26 07:32:39 +01:00
Uwe Steinmann
7a76470c07 take out var_dump 2019-09-11 17:41:45 +02:00
Uwe Steinmann
9fb899a61a better error reporting when indexing fails 2018-04-11 15:32:35 +02:00
Uwe Steinmann
3d168e427a execWithTimeout() returns stderr, which is saved in error msg 2018-01-30 06:28:19 +01:00
Uwe Steinmann
2a08a3bbaf allow wildcard in mimetypes of converters 2017-12-04 11:00:04 +01:00
Uwe Steinmann
2cfc080382 better handling of timeout 2017-03-01 16:18:27 +01:00
Uwe Steinmann
fab21da3d8 new version, catch exception in execWithTimeout() 2017-03-01 15:56:12 +01:00
Uwe Steinmann
f6f9ad8c6d fix calculation of timeout 2016-07-04 20:51:40 +02:00
Uwe Steinmann
ae1afe4c23 set micro sec. of stream_select() to 200000
reduces cpu load if timeout was set to 0
2016-03-29 08:12:20 +02:00
Uwe Steinmann
f332371dde create 'notindexed' option in CREATE TABLE for sqlite < 3.8.0 2016-03-15 15:59:45 +01:00
Uwe Steinmann
603276c25f add command for indexing postscript 2016-02-01 09:12:31 +01:00
Uwe Steinmann
62cd6e0602 check if index exists before removing it 2016-01-10 14:25:31 +01:00
Uwe Steinmann
ddac8ce1ce pass on timeout to execWithTimeout() 2015-12-03 15:57:50 +01:00
Uwe Steinmann
a836e65f35 add method __get() 2015-11-16 09:10:25 +01:00
Uwe Steinmann
b692439165 replace orgfilename by origfilename 2015-08-13 08:17:03 +02:00
Uwe Steinmann
6eb37664e9 do not use AND in query string, precede query term with <fieldname>: 2015-08-13 08:16:19 +02:00
Uwe Steinmann
36fff2cfcb index mimetype and orgfilename 2015-08-12 17:12:41 +02:00
Uwe Steinmann
c905e3a5eb do not check if unlink() was successful 2015-08-10 22:06:00 +02:00
Uwe Steinmann
65da6a4e7b add classes for creating fulltext index using sqlitefts 2015-08-10 21:39:05 +02:00