Commit Graph

45 Commits

Author SHA1 Message Date
Uwe Steinmann
732fd81018 add query for record_type 2023-01-09 15:29:58 +01:00
Uwe Steinmann
593792089f implement Zend indexer as singleton in SeedDMS_Lucene_Indexer 2023-01-08 16:22:01 +01:00
Uwe Steinmann
3cc7497863 fix setting limit 2023-01-08 16:21:08 +01:00
Uwe Steinmann
e28911711b make init() static 2023-01-05 08:01:48 +01:00
Uwe Steinmann
05d7c709ab callable can be passed for retrieving text content 2023-01-03 14:01:04 +01:00
Uwe Steinmann
a81f51c17c add new field 'indexed' 2022-12-15 12:35:02 +01:00
Uwe Steinmann
0c888bc9d1 categories are and'ed not or'ed 2021-12-09 10:11:17 +01:00
Uwe Steinmann
6ce7cd5858 set error msg if conversion fails 2021-11-26 14:31:13 +01:00
Uwe Steinmann
be2de9cfc1 set cmd to class name of conversion service 2021-11-19 13:34:21 +01:00
Uwe Steinmann
0f9fa74bbe add support for conversion service pass to IndexedDocument() 2021-10-06 14:57:03 +02:00
Uwe Steinmann
189f962012 add new methods setCmd() and setContent() 2021-06-30 12:53:20 +02:00
Uwe Steinmann
4f59c3b4e8 execWithTimeout() closes all pipes and also returns return value of cmd 2021-05-10 08:54:18 +02:00
Uwe Steinmann
90b3298b60 save folder id as path (not fully working) 2020-12-21 11:46:55 +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
e14774110f new parameter $limit of method search() 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
25fc979a3a throw execption if creation/opening of index fails 2020-09-29 16:42:09 +02:00
Uwe Steinmann
41c08492ac 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
a29c0f35aa index users with read access on a document, start version 1.1.14 2020-09-02 08:57:07 +02:00
Uwe Steinmann
b7deb84279 check if file to be indexed exists 2019-12-31 15:42:15 +01:00
Uwe Steinmann
9fb899a61a better error reporting when indexing fails 2018-04-11 15:32:35 +02:00
Uwe Steinmann
3e5d744d6d Merge commit '10896ca183a4fa0b30c02fca8831d2f5497e6a76' into seeddms-5.1.x 2018-02-08 09:25:45 +01:00
Uwe Steinmann
3d168e427a execWithTimeout() returns stderr, which is saved in error msg 2018-01-30 06:28:19 +01:00
Uwe Steinmann
3c1cfe3a0d support wildcard in mimetypes of converters 2017-12-04 10:57:25 +01:00
Jörg Neugebauer
fd5f341cb9 SeedDMS_Core 2017-11-08 13:54:49 +01:00
Uwe Steinmann
2cfc080382 better handling of timeout 2017-03-01 16:18:27 +01:00
Uwe Steinmann
77eab44dc1 new version, catch exception in execWithTimeout() 2017-03-01 15:56:00 +01:00
Uwe Steinmann
7dcee81c51 make all functions static 2016-07-05 17:29:58 +02:00
Uwe Steinmann
b86132a45c pass variables to stream_select() 2016-04-28 10:42:13 +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
603276c25f add command for indexing postscript 2016-02-01 09:12:31 +01:00
Uwe Steinmann
ddac8ce1ce pass on timeout to execWithTimeout() 2015-12-03 15:57:50 +01:00
Uwe Steinmann
ae6044bc77 add method getDocument()
this way the access on the index can be identical to SQliteFTS
2015-08-10 21:40:26 +02:00
Uwe Steinmann
5a22a51943 run external command with timeout 2015-08-05 21:10:49 +02:00
Uwe Steinmann
e0a61d1105 make open() static 2014-06-18 15:18:57 +02:00
Uwe Steinmann
376477ec96 set charset of origfilename to utf8 2014-05-02 07:45:22 +02:00
Uwe Steinmann
488c247ca9 search() returns false if query term causes an exception 2013-08-13 22:08:47 +02:00
Uwe Steinmann
a177b8689f catch Lucene_Exeption if query is invalid 2013-08-13 20:20:12 +02:00
Uwe Steinmann
fef3f0af43 explictly set encoding when adding fields 2013-06-27 15:10:46 +02:00
Uwe Steinmann
9615623e1a better checking for correct search term 2013-06-17 10:50:31 +02:00
Uwe Steinmann
73c6ff9427 major name change from letodms to seeddms 2013-02-14 12:10:53 +01:00