> On 09/12/2023 15:02 EET John Fawcett <j...@voipsupport.it> wrote: > > > Hi > > I've just made updated versions of 3 patches against the latest release > 2.3.21 in case they are useful to someone or might get considered for > official inclusion. > > John > > *dovecot-2.3.21-tika-http-auth.patch* > > Allows specification of username and password in the fts_tika setting > for basic auth against tika server. For example > > fts_tika = https://user:password@tika_server:443/tika > > *dovecot-2.3.21-solr-max-size.patch > * > > This is a simplified version of my previous patch. Sets a size limit > (configuration fts_max_size) on message bodies that are to be indexed. > Message bodies for messages larger than fts_max_size are not sent to > solr. Defaults to zero which means no limit. For example > > fts_max_size = 10M > > *dovecot-2.3.21-solr-max-rows.patch > * > > When dovecot sends a search to solr it uses the rows parameter. For > multiple mailbox search the value used is SOLR_MAX_MULTI_ROWS , > hardcoded to 100000. For single mailbox search the value is uidnext. > This patch introduces an upper limit for single mailbox search using the > same value as SOLR_MAX_MULTI_ROWS, while leaving the existing > functionality of sending the uidnext value if it is smaller. This is > just to place a more reasonable upper bound since uidnext can get much > larger. > > Hi > I've just made updated versions of 3 patches against the latest release 2.3.21 > in case they are useful to someone or might get considered for official > inclusion. > John > dovecot-2.3.21-tika-http-auth.patch > Allows specification of username and password in the fts_tika setting for > basic > auth against tika server. For example > fts_tika = https://user:password@tika_server:443/tika > dovecot-2.3.21-solr-max-size.patch > This is a simplified version of my previous patch. Sets a size limit > (configuration fts_max_size) on message bodies that are to be indexed. Message > bodies for messages larger than fts_max_size are not sent to solr. Defaults to > zero which means no limit. For example > fts_max_size = 10M > dovecot-2.3.21-solr-max-rows.patch > When dovecot sends a search to solr it uses the rows parameter. For multiple > mailbox search the value used is SOLR_MAX_MULTI_ROWS , hardcoded to 100000. > For > single mailbox search the value is uidnext. This patch introduces an upper > limit for single mailbox search using the same value as SOLR_MAX_MULTI_ROWS, > while leaving the existing functionality of sending the uidnext value if it is > smaller. This is just to place a more reasonable upper bound since uidnext can > get much larger. > > _______________________________________________
Could you please post these into https://github.com/dovecot/core against main please? Aki _______________________________________________ dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-le...@dovecot.org