Deprecations for schema.xml and newest Solr version (7.2.x)
Hi,
the schema.xml example provided for dovecot in /usr/share/doc/dovecot-<verison> does not work anymore with the newest Solr Version (as I know of 7.2.x) because some field classes and filter classes are deprecated in this version.
The changes (according to the Solr documentation) would have to be :
In the index analyzer :
<fieldType name="long" class="solr.TrieLongField" />
into
<fieldType name="long" class="solr.LongPointField" /> ......... <filter class="solr.WordDelimiterFilterFactory" generateWordParts="1" generateNumberParts="1" catenateWords="1" catenateNumbers="1" catenateAll="0" splitOnCaseChange="1"/>
into
<filter class="solr.WordDelimiterGraphFilterFactory" generateWordParts="1" generateNumberParts="1" catenateWords="1" catenateNumbers="1" catenateAll="0" splitOnCaseChange="1"/>
and because this is used in the index analyzer it has to be followed by
<filter class="solr.FlattenGraphFilterFactory"/> ..............
In the query analyzer : <filter class="solr.SynonymFilterFactory" synonyms="synonyms.txt" ignoreCase="true" expand="true"/>
into
<filter class="solr.SynonymGraphFilterFactory" synonyms="synonyms.txt" ignoreCase="true" expand="true"/> ............... <filter class="solr.WordDelimiterFilterFactory" generateWordParts="1" generateNumberParts="1" catenateWords="0" catenateNumbers="0" catenateAll="0" splitOnCaseChange="1"/>
into
<filter class="solr.WordDelimiterGraphFilterFactory" generateWordParts="1" generateNumberParts="1" catenateWords="0" catenateNumbers="0" catenateAll="0" splitOnCaseChange="1"/> .........
Don't know if you want to mention this somewhere in your docs.
Cheers, Thomas
Hello List,
I'm facing an issue with dovecot (2.2.27) IMAP and Outlook as a client. I have some users that use Outlook (2016) as a client . One of them has a desktop PC in the office and a laptop machine which I've setup some days ago . The user did some work, during the weekend, in his laptop (filling messages into IMAP folders) and to his (and mine) surprise, today in the office he saw that none of his work is reflected on the server. Messages are not where they supposed to be .Tomorrow he will bring the laptop over to check, but I have seen this problem again in the past again with outlook 2016 as a client (specifically I've had a user which during work he was deleting or renaming folders which appear fine on his copy of outlook (ost) but not on the server). Anyone has any experience with dovecot and outlook and related problems ?
thanks in advance George
Am 05.03.2018 um 09:45 schrieb G:
Hello List,
I'm facing an issue with dovecot (2.2.27) IMAP and Outlook as a client. I have some users that use Outlook (2016) as a client . One of them has a desktop PC in the office and a laptop machine which I've setup some days ago . The user did some work, during the weekend, in his laptop (filling messages into IMAP folders) and to his (and mine) surprise, today in the office he saw that none of his work is reflected on the server. Messages are not where they supposed to be .Tomorrow he will bring the laptop over to check, but I have seen this problem again in the past again with outlook 2016 as a client (specifically I've had a user which during work he was deleting or renaming folders which appear fine on his copy of outlook (ost) but not on the server). Anyone has any experience with dovecot and outlook and related problems ?
thanks in advance George
i have no Outlook 2016 to test but if you setup is right no trouble should come up, however simply look in the dovecot log files what your user did, perhaps he was offline and only thinking that he synced via imap
Best Regards MfG Robert Schetterer
-- [*] sys4 AG
http://sys4.de, +49 (89) 30 90 46 64 Schleißheimer Straße 26/MG, 80333 München
Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263 Vorstand: Patrick Ben Koetter, Marc Schiffbauer Aufsichtsratsvorsitzender: Florian Kirstein
On 2018-03-05 at 10:40, Robert Schetterer wrote:
Am 05.03.2018 um 09:45 schrieb G:
Hello List,
I'm facing an issue with dovecot (2.2.27) IMAP and Outlook as a client.
George
i have no Outlook 2016 to test but if you setup is right no trouble should come up, however simply look in the dovecot log files what your user did, perhaps he was offline and only thinking that he synced via imap
I've observed similar behavior for a user with Outlook 2013 and Panda IMAP; when synchronization failed for whatever reason, Outlook wasn't very verbose about it, and the user continued operating for several months not realizing their local mailbox had entirely diverged from the "true" contents on the IMAP server.
Robert
Am 05.03.2018 um 17:44 schrieb Robert Giles:
On 2018-03-05 at 10:40, Robert Schetterer wrote:
Am 05.03.2018 um 09:45 schrieb G:
Hello List,
I'm facing an issue with dovecot (2.2.27) IMAP and Outlook as a client.
George
i have no Outlook 2016 to test but if you setup is right no trouble should come up, however simply look in the dovecot log files what your user did, perhaps he was offline and only thinking that he synced via imap
I've observed similar behavior for a user with Outlook 2013 and Panda IMAP; when synchronization failed for whatever reason, Outlook wasn't very verbose about it, and the user continued operating for several months not realizing their local mailbox had entirely diverged from the "true" contents on the IMAP server.
Robert
never had this with Outlook 2013 but ost files may brake any time , also with exchange mostly with big mailboxes, and there is less you can do against buggy users, give them webmail to show real imap status on the server
Best Regards MfG Robert Schetterer
-- [*] sys4 AG
http://sys4.de, +49 (89) 30 90 46 64 Schleißheimer Straße 26/MG, 80333 München
Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263 Vorstand: Patrick Ben Koetter, Marc Schiffbauer Aufsichtsratsvorsitzender: Florian Kirstein
Am 05.03.2018 um 09:45 schrieb G:
Hello List,
I'm facing an issue with dovecot (2.2.27) IMAP and Outlook as a client. I have some users that use Outlook (2016) as a client . One of them has a desktop PC in the office and a laptop machine which I've setup some days ago . The user did some work, during the weekend, in his laptop (filling messages into IMAP folders) and to his (and mine) surprise, today in the office he saw that none of his work is reflected on the server. Messages are not where they supposed to be .Tomorrow he will bring the laptop over to check, but I have seen this problem again in the past again with outlook 2016 as a client (specifically I've had a user which during work he was deleting or renaming folders which appear fine on his copy of outlook (ost) but not on the server). Anyone has any experience with dovecot and outlook and related problems ?
thanks in advance George
by the way ost file may broke any time
https://support.office.com/en-us/article/repair-outlook-data-files-pst-and-o...
Recreate an offline Outlook Data File (.ost)
Some account types, such as Microsoft Exchange Server, use an offline Outlook Data File (.ost). This type of data file is a copy of information saved on your mail server. If you encounter problems with an offline Outlook Data File (.ost), the file can be deleted and recreated by downloading a copy of your items again. We don't recommend repairing an offline Outlook Data File, so if your offline data file isn't usable, you should recreate it.
Best Regards MfG Robert Schetterer
-- [*] sys4 AG
http://sys4.de, +49 (89) 30 90 46 64 Schleißheimer Straße 26/MG, 80333 München
Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263 Vorstand: Patrick Ben Koetter, Marc Schiffbauer Aufsichtsratsvorsitzender: Florian Kirstein
What came to my mind : are there any changes needed on the dovecot side?
Esp. because there is also a field type change in it....
Am 4. März 2018 18:26:06 schrieb TG Servers <srvrs@prvtmail.net>:
Hi,
the schema.xml example provided for dovecot in /usr/share/doc/dovecot-<verison> does not work anymore with the newest Solr Version (as I know of 7.2.x) because some field classes and filter classes are deprecated in this version.
The changes (according to the Solr documentation) would have to be :
In the index analyzer :
<fieldType name="long" class="solr.TrieLongField" />
into
<fieldType name="long" class="solr.LongPointField" /> ......... <filter class="solr.WordDelimiterFilterFactory" generateWordParts="1" generateNumberParts="1" catenateWords="1" catenateNumbers="1" catenateAll="0" splitOnCaseChange="1"/>
into
<filter class="solr.WordDelimiterGraphFilterFactory" generateWordParts="1" generateNumberParts="1" catenateWords="1" catenateNumbers="1" catenateAll="0" splitOnCaseChange="1"/>
and because this is used in the index analyzer it has to be followed by
<filter class="solr.FlattenGraphFilterFactory"/> ..............
In the query analyzer : <filter class="solr.SynonymFilterFactory" synonyms="synonyms.txt" ignoreCase="true" expand="true"/>
into
<filter class="solr.SynonymGraphFilterFactory" synonyms="synonyms.txt" ignoreCase="true" expand="true"/> ............... <filter class="solr.WordDelimiterFilterFactory" generateWordParts="1" generateNumberParts="1" catenateWords="0" catenateNumbers="0" catenateAll="0" splitOnCaseChange="1"/>
into
<filter class="solr.WordDelimiterGraphFilterFactory" generateWordParts="1" generateNumberParts="1" catenateWords="0" catenateNumbers="0" catenateAll="0" splitOnCaseChange="1"/> .........
Don't know if you want to mention this somewhere in your docs.
Cheers, Thomas
participants (4)
-
G
-
Robert Giles
-
Robert Schetterer
-
TG Servers