e9fbe5e18b798728041b7e2ffc6c4fa964fc35a3 |
|
31-Jan-2018 |
Josef 'Jeff' Sipek <jeff.sipek@dovecot.fi> |
global: start relying on str_free(NULL) being a no-op
Cleanup performed with the following semantic patch:
@@
expression E;
@@
- if (E != NULL) {
- str_free(&E);
- }
+ str_free(&E); |
bcb4e51a409d94ae670de96afb8483a4f7855294 |
|
01-Jan-2018 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
Updated copyright notices to include the year 2018. |
f987ef0632fc7be03e7f26dcd99695a6936c284e |
|
10-Nov-2017 |
Simon Frankenberger <simon@fraho.eu> |
fts-solr: Explicitly ask for XML responses
With recent solr versions (7.0+) the default response
writer changed from XML to JSON. This commit sets the
"wt" query parameter for all requests, so that the right
response type is written. |
44d597bb389e6410cbc5f5cff14f752f06f176c2 |
|
09-Apr-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
fts-solr: Don't double-escape headers. |
526631052ca3175357302af8fa7dcbf763b40c53 |
|
06-Feb-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
fts-solr: Fixed HTTPS support by properly propagating SSL client settings from mail_user. |
c32d111cf4d8be4ffdc582b440b5348d87461066 |
|
17-Jan-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
fts-solr: Escape {} chars when sending queries
Fixes:
java.lang.IllegalArgumentException: Invalid character found in the request target. The valid characters are defined in RFC 7230 and RFC 3986
Based on patch by Michael Welsh Duggan |
2454dfa32c93c20a8522c6ed42fe057baaac9f9a |
|
01-Jan-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
Updated copyright notices to include the year 2017. |
efe78d3ba24fc866af1c79b9223dc0809ba26cad |
|
24-Dec-2016 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
global: Replaced all instances of memset(p, 0, sizeof(*p)) with the new i_zero() macro.
Used the following script:
C_FILES=`git ls-files *.c`
H_FILES=`git ls-files *.h`
for F in "$C_FILES $H_FILES"; do
echo "$F"
perl -p -i -e 's/safe_memset\(&\(?([^,]*)\)?,\s*0,\s*sizeof\(\g1\)\)/i_zero_safe(&$1)/g' $F
perl -p -i -e 's/safe_memset\(([^,]*),\s*0,\s*sizeof\(\*\g1\)\)/i_zero_safe($1)/g' $F
perl -p -i -e 's/memset\(&\(?([^,]*)\)?,\s*0,\s*sizeof\(\g1\)\)/i_zero(&$1)/g' $F
perl -p -i -e 's/memset\(([^,]*),\s*0,\s*sizeof\(\*\g1\)\)/i_zero($1)/g' $F
done |
2ac5f36aa7c2e7a07ba8815d43a6d7483f62e74c |
|
16-Dec-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
global: Change string position/length from unsigned int to size_t
Mainly to avoid truncating >4GB strings, which might potentially cause
some security holes. Normally there are other limits, which prevent such
excessive strings from being created in the first place.
I'm sure this didn't find everything. Maybe everything could be found with
compiler warnings. -Wconversion kind of does it, but it gives way too many
unnecessary warnings.
These were mainly found with:
grep " = strlen"
egrep "unsigned int.*(size|len)" |
768ac0aa3403eee7146ec01acff401c004fef7f7 |
|
18-Sep-2016 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
fts-backend-solr: Check that box is not NULL
fts_backend_update_deinit will set box to NULL and call
update_set_mailbox then. |
42c773260cf37008bfc398fbfe36e0a034299e3a |
|
04-Aug-2016 |
x16a0 <m.k-92@gmx.de> |
Fixed searching multiple mailboxes
When searching multiple mailboxes, a condition to search these mailboxes is added to the query string. However, this condition has to be separated from the preceding condition by a space (a '+' in this case, as it's encoded); otherwise, Solr considers it to be part of the previous condition, in which case it will fail to parse it properly. Therefore, this patch adds that one missing character so it works again. |
0dffa25d211be541ee3c953b23566a1a990789df |
|
06-Jun-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
global: unsigned int:1 -> bool:1
perl -i -pe 's/unsigned int ([^,:;]+):1;/bool $1:1;/' **/*.[ch] |
cbc8f9d71483a2cf71610f7e7e1f2dc9884bd556 |
|
03-Jun-2016 |
Baofeng Wang <baofeng.wang@dovecot.fi> |
lib-storage: add no_fts in struct mail_search_arg
When flag is set, FTS will not be performed.
fts plugin: handle no_fts flag
No fts will be performed once flag is set.
Original patch from Timo Sirainen <timo.sirainen@dovecot.fi> |
f3b0efdcbd0bd9059574c8f86d6cb43e16c8e521 |
|
26-Jan-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
fts-solr: Changed default operator to AND to fix multi-word queries.
Previously for example searching from:foo@example.com was expanded to
foo OR example OR com. Now it's foo AND example AND com, which makes a lot
more sense. |
02c335c23bf5fa225a467c19f2c063fb0dc7b8c3 |
|
12-Jan-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
global: freshen copyright
git ls-files | xargs perl -p -i -e 's/(\d+)-201[0-5]/$1-2016/g;s/ (201[0-5]) Dovecot/ $1-2016 Dovecot/' |
c051fa1a87d352295dbd522a7a90729ba8d6eacf |
|
27-Nov-2015 |
Timo Sirainen <tss@iki.fi> |
fts-solr: Fixed sending empty parameters.
Solr probably doesn't do anything useful with them, but we shouldn't get 400
Bad Request errors. |
ebcb8cc4fe8862e364f03dcbc05e3db8aac98230 |
|
27-Nov-2015 |
Timo Sirainen <tss@iki.fi> |
fts-solr: Fixed escaping query parameters.
Solr documentation says that "quoted string" would already work without
escaping, but that doesn't seem to be true (we were also missing the \"
escaping there). So we'll now escape all the special characters without
quotes around it, which seems to work. Also added '/' to list of special
characters, which is used by Solr 4.0. |
2e51f501c907baeb52cddb234a2769f59f5350ce |
|
18-Aug-2015 |
Timo Sirainen <tss@iki.fi> |
fts-solr: Flush Solr indexing HTTP requests every 1000 mails.
This avoids the HTTP request from becoming too huge. |
0685853771a658d42174ed82763acc1626222032 |
|
18-Aug-2015 |
Timo Sirainen <tss@iki.fi> |
fts-solr: Fix to previous memory leak fix - second request was failing.
Duplicated data was sent to Solr because string wasn't truncated. |
5e19da15f5d430275c859ae97f870d4146e5c5f3 |
|
18-Aug-2015 |
Timo Sirainen <tss@iki.fi> |
fts-solr: Fixed memory leak when indexing multiple mailboxes in one update context. |
e99ffa6abd201ca6ebfdf609bb24e48327a86450 |
|
07-Aug-2015 |
Timo Sirainen <tss@iki.fi> |
fts-solr: "highest UID for mailbox" lookup was actually returning "highest UID for user"
If the default operator was OR instead of AND. This affected indexing mails
in newly created mailboxes. |
d4fbb3317303ce8e2b2371ec186762a3d5ed5a41 |
|
17-Jun-2015 |
Timo Sirainen <tss@iki.fi> |
fts-solr: Avoid sending too large queries to Solr due to listing wanted mailboxes.
This is mainly a problem if there are a lot of mailboxes and "All Mails"
virtual mailbox. For now hardcoded to send max 10 mailboxes in the query,
afterwards it just returns matches in all the mailboxes and we'll filter out
the unwanted mailboxes. |
6aadd1c52e6b291d47b47b4f4063e9bc8ccf0784 |
|
01-Jun-2015 |
Phil Carmody <phil@dovecot.fi> |
various: use new uni_utf8_get_char*() interface
No need for additional uni_utf8_char_bytes() calls if you can parse and
know the size with one call.
Signed-off-by: Phil Carmody <phil@dovecot.fi> |
d69318e501febc40a383c93d4337c5ead314f763 |
|
01-Jun-2015 |
Phil Carmody <phil@dovecot.fi> |
fts-solr: laxer check of uni_utf8_get_char_n() return value
If uni_utf8_get_char*() were changed to return the number of bytes in the
character on success, then all we care about is it being > 0 (i.e. not
error, not truncated).
Signed-off-by: Phil Carmody <phil@dovecot.fi> |
f7fa93fb42a5b9d4a7e2f0367f03f920ef7ec443 |
|
13-May-2015 |
Timo Sirainen <tss@iki.fi> |
fts-solr: Fixed memory leak at user deinit. |
c9445d17bfb97440cf47c5363993518a943f7010 |
|
13-May-2015 |
Timo Sirainen <tss@iki.fi> |
fts-solr: Crashfixes |
d2f1759dd94528fda229b5f630d947c7828be744 |
|
13-May-2015 |
Timo Sirainen <tss@iki.fi> |
fts-solr: Don't update "last indexed UID" if we couldn't actually add the mails to Solr. |
1e60d516e91238b41c951009729f5703eca49211 |
|
24-Apr-2015 |
Timo Sirainen <tss@iki.fi> |
fts-solr: fts_solr=use_libfts send data to Solr via space-separated tokens.
In this case Solr should be configured to not do any kind of filtering and
use only WhitespaceTokenizerFactory. |
7cb128dc4cae2a03a742f63ba7afee23c78e3af0 |
|
05-Jan-2015 |
Phil Carmody <phil@dovecot.fi> |
global: freshen copyright
Robomatically:
git ls-files | xargs perl -p -i -e 's/(\d+)-201[0-4]/$1-2015/g;s/ (201[0-4]) Dovecot/ $1-2015 Dovecot/'
Happy 2015 everyone!
Signed-off-by: Phil Carmody <phil@dovecot.fi> |
263d455e9198e8aa45c7a99601ad6a5a9dcdd915 |
|
16-Sep-2014 |
Timo Sirainen <tss@iki.fi> |
doveadm fts rescan: For virtual namespaces just mark the last indexed UID to 0. |
117fb8c00336dc54bab9cfa547249df7a4970611 |
|
08-Aug-2014 |
Timo Sirainen <tss@iki.fi> |
fts: Added fts_no_autofuzzy setting to require exact matches for found results.
This is done by using the FTS search results as only filters on which the
regular non-FTS search is done. |
a8c5a86d183db25a57bf193c06b41e092ec2e151 |
|
04-Feb-2014 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2014. |
c215ca02d468b0e542523df1ed18e5f2d7e63968 |
|
26-Oct-2013 |
Timo Sirainen <tss@iki.fi> |
fts-solr: Fixed support for multiple Solr hosts when same process handles multiple users.
E.g. indexer-worker was always using only the first user's Solr host. |
0cb7298039df262d31f7683ca1acbc2a301a9786 |
|
13-Jun-2013 |
Timo Sirainen <tss@iki.fi> |
fts-solr: Do only soft commits. Use a cronjob to do hard commits. |
c9af0202f84f04a7ae87274241df2a7e322470fa |
|
23-Apr-2013 |
Timo Sirainen <tss@iki.fi> |
fts-solr: Don't crash if fts_solr setting is invalid. |
5ad48957732be82ffd95e53047987d076f5c9725 |
|
22-Feb-2013 |
Timo Sirainen <tss@iki.fi> |
fts-solr: Truncate header if it's over 1 MB.
Previously we just warned about it. |
2d7df7973f80011033e8e9fa676d3ff4c14468d8 |
|
11-Feb-2013 |
Stephan Bosch <stephan@rename-it.nl> |
fts-solr: Use built-in lib-http instead of libcurl. Removed libcurl dependency. |
5a580c3a38ced62d4bcc95b8ac7c4f2935b5d294 |
|
02-Feb-2013 |
Timo Sirainen <tss@iki.fi> |
Oops :) Update copyrights to 2013 without breaking all .c files. |
cca4ba2a504d70a9fe9fee37f8433997359de52c |
|
02-Feb-2013 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2013. |
683d9f20766cd13e72f7d16ce1e341a8811b2679 |
|
02-Feb-2013 |
Timo Sirainen <tss@iki.fi> |
fts-solr: Deinit solr connection at plugin unload. |
d62bcaa9e22fb1488666fe77059dd8ac217fd3fa |
|
01-Feb-2013 |
Timo Sirainen <tss@iki.fi> |
fts-solr: Reverted previous change, it only crashes.
The plugin is already unloaded at lib_atexit() time. |
cdabeadb179b747da6e93775659d9a78fd579af7 |
|
01-Feb-2013 |
Timo Sirainen <tss@iki.fi> |
fts-solr: Free the solr_connection at exit. |
52a16a4a391483c9f38e45e74540a74818557f21 |
|
27-Nov-2012 |
Timo Sirainen <tss@iki.fi> |
fts-solr: XML-encode non-body fields as well |
636f1fc2ef67ccdeafd8a5b7bd4ad7e1ff8556bc |
|
27-Nov-2012 |
Timo Sirainen <tss@iki.fi> |
fts-solr: Removed deprecated waitFlush parameter from commit. |
c51afc0ab251923fbfcad5059af27a7fefab3502 |
|
27-Nov-2012 |
Timo Sirainen <tss@iki.fi> |
Reversed recent "short utf8" changes.
Solr code needs to parse the UTF8 input explicitly anyway to encode the XML
characters. And all the character checks were already done in it. |
ba28af088174f139df6a6de3e67fd01551b29362 |
|
27-Nov-2012 |
Timo Sirainen <tss@iki.fi> |
fts-solr: Marked as FTS_BACKEND_FLAG_BUILD_SHORT_UTF8 |
9dfd7d4365954f9d4b6df7831d6bbc6af5ef73de |
|
18-Sep-2012 |
Timo Sirainen <tss@iki.fi> |
fts-solr: Skip alias symlinks when rescanning. |
4ee00532a265bdfb38539d811fcd12d51210ac35 |
|
19-Aug-2012 |
Timo Sirainen <tss@iki.fi> |
Array API changed: ARRAY_DEFINE(name, type) -> ARRAY(type) name
Easy way to update your existing code:
perl -i -pe 's:ARRAY_DEFINE\(([^,]+), *([^)]+)\);:ARRAY($2) $1;:' **/*.[ch] |
678d0463849ba777106eb7875f27db07a5d8e3df |
|
19-Aug-2012 |
Timo Sirainen <tss@iki.fi> |
Hash table API is now (mostly) type safe. |
7536dca18968a279b69c685eedda205bee228fd4 |
|
19-Aug-2012 |
Timo Sirainen <tss@iki.fi> |
hash_table_create(): Removed table_pool parameter.
Every single caller was using default_pool there, so there's no point in
having it. |
402e999a878e0cc41a0afb830fea0a93afc75f0d |
|
11-Aug-2012 |
Timo Sirainen <tss@iki.fi> |
Renamed struct mailbox_info.name to vname. |
ca8793406c75d87d7c50489fa56c320010b4b45b |
|
07-Aug-2012 |
Timo Sirainen <tss@iki.fi> |
fts-solr: Optimized expunging messages: delete more than one ID per request. |
b66d803de86bfb411165b3465b0d9ef64ecfe2a1 |
|
25-Jun-2012 |
Timo Sirainen <tss@iki.fi> |
Avoid using (void)s by adding ATTR_NOWARN_UNUSED_RESULT attributes and other ways. |
31a574fda352ef4f71dbff9c30e15e4744e132c0 |
|
25-Jun-2012 |
Timo Sirainen <tss@iki.fi> |
Added array_append_zero() to write a zero-filled record to an array.
Replaced (void)array_append_space() calls with it. |
4128fe33fde3cf20665650bb2b11a6450c09a816 |
|
18-Apr-2012 |
Timo Sirainen <tss@iki.fi> |
fts-solr: doveadm fts rescan now resets the last-indexed-uid fields to allow reindexing. |
84aac2d5c31bc55dff4e5d3421f5aacf403d362d |
|
29-Mar-2012 |
Timo Sirainen <tss@iki.fi> |
fts-solr: Added assert + minor code cleanup |
1411680a6dc4512b75b3d87245bb5537cf6e4815 |
|
26-Mar-2012 |
Timo Sirainen <tss@iki.fi> |
fts-solr: Indexing mail bodies was broken. |
e51bfe0db17f1a2e44932d0d6d3958ae409a8bcf |
|
28-Feb-2012 |
Timo Sirainen <tss@iki.fi> |
Show SEARCH=FUZZY in IMAP capabilities only when FTS backend actually supports it. |
5f5870385cff47efd2f58e7892f251cf13761528 |
|
12-Feb-2012 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2012. |
1e143a6606a1b0495bbbdc6c134dbdbc523dcd86 |
|
10-Jan-2012 |
Timo Sirainen <tss@iki.fi> |
fts-solr: Make sure header name is lowercased in search queries. |
6c973cffb420c5fa3df5c2eed2e4b7e1d1461e05 |
|
06-Jan-2012 |
Timo Sirainen <tss@iki.fi> |
fts-solr: Avoid using too much memory unnecessarily. Log a warning about huge headers. |
8b304a2686d852ff235394f276632742c056783f |
|
12-Sep-2011 |
Timo Sirainen <tss@iki.fi> |
fts-solr: Don't break when there are duplicate From/To/Subject/etc. fields. |
a5074ab2bd5727e916ce18725a3d6f8025ab9b19 |
|
08-Sep-2011 |
Timo Sirainen <tss@iki.fi> |
fts-solr: Fixed indexing messages with multiple MIME body parts. |
56a5ecd2107f13b1493b3195547147f1c56c0a77 |
|
02-Sep-2011 |
Timo Sirainen <tss@iki.fi> |
fts-solr: Don't send delete to Solr if we're quite sure it doesn't exist. |
adf8264ab1135c413bcede6af2e4248fd26a1ef9 |
|
31-Aug-2011 |
Timo Sirainen <tss@iki.fi> |
fts-solr: Fixed updating last indexed uid in fts header. |
b7fdf4fe23801de680e0be5aca0596a3c9ea3f8f |
|
30-Aug-2011 |
Timo Sirainen <tss@iki.fi> |
fts: Added lookup_done() API call. Lucene uses it to close the index.
This way it Lucene doesn't keep the index files unnecessarily open forever. |
06ed0c58ea392df22ccf4868aac494831ea756e1 |
|
30-Aug-2011 |
Timo Sirainen <tss@iki.fi> |
fts-lucene, fts-solr: Try to optimize searching for existence of header name. |
54d437dea655b338e45a8917880f3d3a2a7b698d |
|
28-Aug-2011 |
Timo Sirainen <tss@iki.fi> |
fts: Changed private fts_index_header accessing APIs |
a569c6df4ffe05acc242e269d926449e50702d59 |
|
12-Aug-2011 |
Timo Sirainen <tss@iki.fi> |
fts: Added fts_backend_rescan() |
154224a06aded4b4bc87559109a13ae2406b5a85 |
|
26-Jul-2011 |
Timo Sirainen <tss@iki.fi> |
fts-solr: Added fuzzy search support. |
8d587838c414c48a331f0b54cd7ffd97e5024abd |
|
22-Jul-2011 |
Timo Sirainen <tss@iki.fi> |
fts: Redesigned/enhanced FTS API and how virtual plugin works with it.
The changes include:
- Only indexer process and "doveadm index" do FTS indexing now. Other
processes connect to the indexer process via UNIX socket and request
indexing a specific mailbox.
- FTS backends can now index/search any search key. Current backends
implement indexing for some specific header fields (Subject, From, To, Cc,
Bcc), but it would also be possible to add indexing for e.g. message size
or date.
- CLucene support is fixed and fully functional.
- Solr is split to "solr" and "solr_old" backends. The new "solr" backend
supports the new header fields. It also uses mailbox GUIDs as mailbox
identifiers, so that renaming a mailbox doesn't require reindexing.
The "solr_old" uses the old Solr schema and doesn't support any new features. |
de11cf486e0d0448537b1b5d546496ab85e7cda8 |
|
27-Jun-2011 |
Timo Sirainen <tss@iki.fi> |
fts: Replaced unnecessary lock()/unlock() from API with refresh() |
2e37d45867d081db150ab78dad303b9077aea24f |
|
04-Mar-2011 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2011. |
183bea41fa640dc8117f3eb45ff935cd81377a84 |
|
04-Mar-2011 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2011. |
c0a87e5f3316a57e6f915882fa1951d0fbb74a61 |
|
20-Jan-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: mailbox_alloc() now takes a virtual mailbox name and other related API changes.
All storage_name <-> vname conversions now go through the same two
mailbox_list methods. This has many benefits, such as:
* listescape plugin is now much simpler and bugfree
* allows changing lib-storage API to use UTF-8 mailbox names in future
* allows creation of "mailbox aliases" plugin |
51327f2489a4e0e615eb9f7d921473cf8512bb79 |
|
01-Jan-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Moved some items from mailbox_get_status() to a new mailbox_get_metadata().
The idea is now that all status items are tracked all the time after mailbox
is opened and they can always be looked up without failure. The metadata
items are looked up lazily and the lookups may fail at any time.
mailbox_get_status() can be used after mailbox_alloc() to indicate that the
mailbox doesn't necessarily have to be opened, just that the status fields
get returned.
If mailbox is already known to be open, mailbox_get_open_status() can be
used. It never fails. |
499fec3443374cc89fb8c83b8027c1614097d7a3 |
|
06-Dec-2010 |
Timo Sirainen <tss@iki.fi> |
Moved fts/virtual plugin communication functions away from lib-storage. |
49215f4b573620a9c1263be617dff5d31b531f5b |
|
23-Aug-2010 |
Timo Sirainen <tss@iki.fi> |
fts-solr: Fixes to previous data encoding changes.
Patch by Erik Hetzner |
6f60491fcdbd1845f3f5d12489f1cbbb33244d0c |
|
20-Aug-2010 |
Timo Sirainen <tss@iki.fi> |
fts-solr: Replace characters not valid for XML with replacement char. |
7fc0f80480063a9d4cb9e8c07b50db2a5627799e |
|
22-Jul-2010 |
Timo Sirainen <tss@iki.fi> |
Fixing my english: s/non-?existing/nonexistent/ |
b03b0570081336e0195415418a39e0ce2484b314 |
|
07-Jul-2010 |
Timo Sirainen <tss@iki.fi> |
fts-solr: Compiling fix.
Patch by nareshov.
--HG--
branch : HEAD |
a7af27522004d1d520072c80883aa2a5c440ea6a |
|
22-Jun-2010 |
Timo Sirainen <tss@iki.fi> |
fts-solr: Previous change wasn't complete.
--HG--
branch : HEAD |
5ac70848c2999dc3eac50d3bc1c4a07eef0d1189 |
|
22-Jun-2010 |
Timo Sirainen <tss@iki.fi> |
fts-solr: Fixed handling indexing for multiple body parts.
--HG--
branch : HEAD |
12055678401e913f4be130fa41b22fbeb626cc7e |
|
17-May-2010 |
Timo Sirainen <tss@iki.fi> |
fts: Backends can now index non-text body parts if they support it.
--HG--
branch : HEAD |
e59faf65ce864fe95dc00f5d52b8323cdbd0608a |
|
25-Jan-2010 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2010.
--HG--
branch : HEAD |
7bafda1813454621e03615e83d55bccfa7cc56bd |
|
04-Dec-2009 |
Timo Sirainen <tss@iki.fi> |
Removed MEMBER() macro. Require C99 style struct initializer.
--HG--
branch : HEAD |
b86dc9680d4a15312c5f0607c80402a19f659eb6 |
|
07-Aug-2009 |
Timo Sirainen <tss@iki.fi> |
fts: Fixed crashing with Squat.
A better solution would be for Squat to use existing mailboxes' Squat
indexes, but for now this isn't done.
--HG--
branch : HEAD |
0a9d02bd3b6e092967910faa23299a2bb0b21fa4 |
|
17-Jun-2009 |
Timo Sirainen <tss@iki.fi> |
solr: Don't use "any" copyfield, it doubles the index size.
--HG--
branch : HEAD |
2615df45a8027948a474abe5e817b34b0499c171 |
|
03-Jun-2009 |
Timo Sirainen <tss@iki.fi> |
Initial commit for making mail_storage:mailbox_list to be from 1:1 to n:n.
This will allow namespaces to share the same storage and a single namespace
to have multiple storages (multiple mailbox formats). Neither works
currently, and this commit probably breaks some things.
--HG--
branch : HEAD |
ff01c351d308504551048039304725d578978c2e |
|
16-Apr-2009 |
Timo Sirainen <tss@iki.fi> |
fts: Fixes to how virtual mailboxes are searched.
--HG--
branch : HEAD |
b50b206f9fcbaa414f8d3803bbbfc190aff76686 |
|
14-Apr-2009 |
Timo Sirainen <tss@iki.fi> |
fts-solr: Fixes with virtual mailboxes.
--HG--
branch : HEAD |
8b3ce775291c11e7488d92d45ab1ecd4151411e3 |
|
01-Apr-2009 |
Timo Sirainen <tss@iki.fi> |
fts-solr: Don't double-escape "+" if we're filtering what mailboxes we want.
--HG--
branch : HEAD |
62e2644111a1a53b6a8cf2b39f4d7fd0330ebdd6 |
|
23-Mar-2009 |
Timo Sirainen <tss@iki.fi> |
fts-solr: Solr breaks when it sees control characters, so replace them with spaces.
--HG--
branch : HEAD |
0df9428baed48afaff90b4d4f03792d2fd756a43 |
|
02-Feb-2009 |
Timo Sirainen <tss@iki.fi> |
Fixed plugins to work with config rewrite.
--HG--
branch : HEAD |
45312f52ff3a3d4c137447be4c7556500c2f8bf2 |
|
06-Jan-2009 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2009.
--HG--
branch : HEAD |
a54c9de8380ed34d7e5424ac521daeb5c2e44fe2 |
|
05-Dec-2008 |
Timo Sirainen <tss@iki.fi> |
fts-solr: Minor bugfix
--HG--
branch : HEAD |
b120a671ea874b952d22a3da42b2464f3e678b95 |
|
30-Nov-2008 |
Timo Sirainen <tss@iki.fi> |
fts-solr: In filter queries use "+" prefixes to require all the parameters to match.
--HG--
branch : HEAD |
af3f857bb3166ed99595e11a9d18e5b5cc670e1a |
|
30-Nov-2008 |
Timo Sirainen <tss@iki.fi> |
Added alias_for setting for namespaces. Fixes namespace issues with fts.
--HG--
branch : HEAD |
b8835b8a21c617ceb82ddc5a176243faf36aa8f7 |
|
30-Nov-2008 |
Timo Sirainen <tss@iki.fi> |
fts: Added support for handling multiple namespaces.
--HG--
branch : HEAD |
3852872e6954b7132e637294132005e86b8ebd4a |
|
29-Nov-2008 |
Timo Sirainen <tss@iki.fi> |
Finished making full text search indexes work fast with virtual mailboxes.
--HG--
branch : HEAD |
98b510006a8fbab215d9ab4a3b311e25488d5d0f |
|
29-Nov-2008 |
Timo Sirainen <tss@iki.fi> |
fts-solr: Use '!' as escape character in usernames. Escape '/' and '!'.
--HG--
branch : HEAD |
33cd9d4682001250638409d0e8575be893dcf3cd |
|
29-Nov-2008 |
Timo Sirainen <tss@iki.fi> |
fts-solr: Keep last_uid field updated containing the mailbox's last added UID.
Use the last_uid document for finding the last added UID instead of creating
a query with rows=1&sort=uid. It should be faster this way.
--HG--
branch : HEAD |
ecdce39e5ef4b62eefa9f5818f17d153fd5d710a |
|
23-Nov-2008 |
Timo Sirainen <tss@iki.fi> |
Initial support for getting full text search working nicely with virtual mailboxes.
--HG--
branch : HEAD |
f56a965dc18dcd1bdf3daa29199cafde15e6ea8a |
|
27-Aug-2008 |
Timo Sirainen <tss@iki.fi> |
fts-solr: Fixed compiling with recent struct mail_user changes.
--HG--
branch : HEAD |
a0c453a8edaec90fb0d945c874de0b1845bc7d7e |
|
13-Jul-2008 |
Timo Sirainen <tss@iki.fi> |
Added support for sorting by X-SCORE. Currently it's only set by fts-solr.
--HG--
branch : HEAD |
809923ba26218971792182ae8894936f9ac99364 |
|
13-Jul-2008 |
Timo Sirainen <tss@iki.fi> |
fts: Added a new lookup API where the backend can look up all the fields
using a single query. Implemented it to fts-solr.
--HG--
branch : HEAD |
53ec1ff2231d477db3103c51987fa9cb6033bc16 |
|
13-Jul-2008 |
Timo Sirainen <tss@iki.fi> |
fts-solr: Added break-imap-search setting to use Solr with SEARCH TEXT/BODY
parameters. This makes the SEARCH non-compliant with standard IMAP protocol,
because TEXT/BODY require support for substring searches and Lucene doesn't
support them.
--HG--
branch : HEAD |
6b09a3b269f4b10364c9a77f6614dbe3d306b79d |
|
13-Jul-2008 |
Timo Sirainen <tss@iki.fi> |
fts-solr: Send data to Solr in larger packets. Commit after expunges.
--HG--
branch : HEAD |
0fbe824cee2ee2f8fa0f27f4c0d4561a53b29fa8 |
|
13-Jul-2008 |
Timo Sirainen <tss@iki.fi> |
fts-solr: Encode entities when indexing data.
--HG--
branch : HEAD |
c649139f889c02154fc9a153728b81619edb5663 |
|
13-Jul-2008 |
Timo Sirainen <tss@iki.fi> |
fts-solr: Error handling fixes.
--HG--
branch : HEAD |
48566ca412a7cf3b42512fd0ec112744778e5da0 |
|
10-Jul-2008 |
Timo Sirainen <tss@iki.fi> |
Initial code to support Apache Solr (Lucene indexing server).
--HG--
branch : HEAD |