Fts solr add fields message-id, date, in-reply-to
Hi,
how can I add fields message-id, date, in-reply-to to fts solr index like hdr,body,subject or to?
Thanks, Michael
-- Sent from: http://dovecot.2317879.n4.nabble.com/
On 07/12/2020 00:22, michael1970 wrote:
Hi,
how can I add fields message-id, date, in-reply-to to fts solr index like hdr,body,subject or to?
Thanks, Michael
-- Sent from: http://dovecot.2317879.n4.nabble.com/
Hi Michael
I don't think you have to do anything specific. I did a very standard setup following the Dovecot documentation and I can search on any of those fields. What issue are you seeing?
John
I remember to have written a message to the list but maybe, it wasn't to the list but just the sender. Anyway, here it is:
"Can't you start using an environment where we can separate different topics and lessen mail traffic? I subscribed to the list because there was a problem with reading a certificate. I could solve it by manually changing the file permissions although that solution wasn't elegant. Nobody of creators of /dovecot/ did help. Now, I get lots of emails on topics that are irrelevant to me. Why do we put all that stuff into one bucket where we can't sort things?"
And yes, I did write it to Peter Cooper Jr. only hoping to get to the superior manager of this overwhelming list. He didn't respond. It didn't happen, so please respond to me and stop this spamming machine. I don't need to know how to set up an inconvenient environment or how to add fields or any segmentation faults but only the solution to my particular problem which is solved for now without your help guys. Or actually, it isn't solved, that was just a workaround. A not smart one. So please solve the problem because after all some of you have created this software. For the ones of you that can't find my initial message to the list, it was about /dovecot/ lurking for some certificates after an update making logging in into postfix impossible. I made fire by performing that workaround, can you guys make fire by making this all right by fixing your software or at least reasoning the anomaly.
*peacecop kalmer:*
*Instituudi tee 3-27 *
*76902 * *Harku *
*Harku*
*Harjumaa* Estonia
*+372 652 4228 *
*+372 5620 4556 *
*__________________________________________________________________ *
On 07.12.20 02:43, John Fawcett wrote:
On 07/12/2020 00:22, michael1970 wrote:
Hi,
how can I add fields message-id, date, in-reply-to to fts solr index like hdr,body,subject or to?
Thanks, Michael
-- Sent from: http://dovecot.2317879.n4.nabble.com/ Hi Michael
I don't think you have to do anything specific. I did a very standard setup following the Dovecot documentation and I can search on any of those fields. What issue are you seeing?
John
On 07/12/2020 02:21, peacecop kalmer: wrote:
I remember to have written a message to the list but maybe, it wasn't to the list but just the sender. Anyway, here it is:
"Can't you start using an environment where we can separate different topics and lessen mail traffic? I subscribed to the list because there was a problem with reading a certificate. I could solve it by manually changing the file permissions although that solution wasn't elegant. Nobody of creators of /dovecot/ did help. Now, I get lots of emails on topics that are irrelevant to me. Why do we put all that stuff into one bucket where we can't sort things?"
And yes, I did write it to Peter Cooper Jr. only hoping to get to the superior manager of this overwhelming list. He didn't respond. It didn't happen, so please respond to me and stop this spamming machine. I don't need to know how to set up an inconvenient environment or how to add fields or any segmentation faults but only the solution to my particular problem which is solved for now without your help guys. Or actually, it isn't solved, that was just a workaround. A not smart one. So please solve the problem because after all some of you have created this software. For the ones of you that can't find my initial message to the list, it was about /dovecot/ lurking for some certificates after an update making logging in into postfix impossible. I made fire by performing that workaround, can you guys make fire by making this all right by fixing your software or at least reasoning the anomaly.
*peacecop kalmer:*
*Instituudi tee 3-27 *
*76902 * *Harku *
*Harku*
*Harjumaa* Estonia
*+372 652 4228 *
*+372 5620 4556 *
*__________________________________________________________________ *
You can avoid being overwhelmed by the list traffic by defining a subfolder and filter email into automatically, for example using sieve or your email client filtering. If you have a modern email client, it will be able to organize email by threads and so you can easily ignore any messages which are not in reply to your thread or on topics that are not of interest.
Alternatively if none of the list traffic is of interest, you can easily stop the messages from this list by using the unsubscribe link which you can find in the header of all the list email or by using this link
https://dovecot.org/mailman/listinfo/dovecot
John
Hi John,
I have the standard Dovecot Solr, like in documentation.
When I query in solr backend http://127.0.0.1:8983/solr/dovecot/select?q=*%3A* I see as json:
"uid":[1075],
"box":["202ab12237483a5e6c1300009a2345"],
"user":["emai@example.co.nz"],
"id":"1075/202ab12237483a5e6c1300009a2345/emai@example.co.nz",
"body":["Yes, I sent them a copy of this,....\n"],
"hdr":["Return-Path: <eaxample>\nDelivered-To:..... "],
"from":["<emai@example.co.nz>\n"],
"to":["<emai@example.co.nz>\n"],
"subject":["New Account"],
"_version_":1685006305384726530},
but I need as key message-id, in-reply-to, date
Thanks, Michael
-- Sent from: http://dovecot.2317879.n4.nabble.com/
On 07/12/2020 02:32, michael1970 wrote:
Hi John,
I have the standard Dovecot Solr, like in documentation.
When I query in solr backend http://127.0.0.1:8983/solr/dovecot/select?q=*%3A* I see as json:
"uid":[1075], "box":["202ab12237483a5e6c1300009a2345"], "user":["emai@example.co.nz"], "id":"1075/202ab12237483a5e6c1300009a2345/emai@example.co.nz", "body":["Yes, I sent them a copy of this,....\n"], "hdr":["Return-Path: <eaxample>\nDelivered-To:..... "], "from":["<emai@example.co.nz>\n"], "to":["<emai@example.co.nz>\n"], "subject":["New Account"], "_version_":1685006305384726530},
but I need as key message-id, in-reply-to, date
Thanks, Michael
-- Sent from: http://dovecot.2317879.n4.nabble.com/
Hi Michael
the headers to index are not configurable. In order to do this you would need to update the source code and the solr schema and reindex the messages.
Having said that, I'm still uncertain as to what you would gain by doing this, since Dovecot is able to run queries on message-id, in-reply-to and on date without this modification.
John
Hi John,
In my app I attach message ids to my jobs.
ok,close, thanks for your help.
-- Sent from: http://dovecot.2317879.n4.nabble.com/
participants (3)
-
John Fawcett
-
michael1970
-
peacecop kalmer: