Searching emails by email address doesn't work :(
-
@girish said in Searching emails by email address doesn't work
:
@jdaviescoates right, it's set for indexing words of max of 20 letters.
Does that mean words with over 20 characters are not found? If so, I did not know that and relied on the index - i.e. assumed I didn’t have an email if the (index based) search does not yield results! This would be very bad.Please remove such limits (if possible) as e.g. the German language has many words over 20 characters.
If you keep limits, we need to communicate them clearly in the docs AND in the UI, I think. -
@girish said in Searching emails by email address doesn't work
:
Note that if you had just enabled solr before you searched, it can take a while for solr to complete indexing all your existing emails.
I've had it enabled since we've had Solr on Cloudron, so that's not the problem.
-
@girish said in Searching emails by email address doesn't work
:
Tried with some really long words.
I thought "OK, but you're searching for body text in an email, I'm search for the senders email address".
But I just tested sending myself an email with admin@sustianablebridport.com in the body and mine fails to find that too. It still only finds it if I search either for:
text=admin@sustainablebridport.
Again, if I have anything after the
.
it doesn't find itBut
Works
-
@jdaviescoates said in Searching emails by email address doesn't work
:
text=admin@sustainablebridport.
Again, if I have anything after the . it doesn't find it
This works on a newer install of Cloudron, so perhaps I need to migrate my older install as per https://docs.cloudron.io/guides/mailbox-sharing/#background ?
-
@jdaviescoates said in Searching emails by email address doesn't work
:
@jdaviescoates said in Searching emails by email address doesn't work
:
text=admin@sustainablebridport.
Again, if I have anything after the . it doesn't find it
This works on a newer install of Cloudron, so perhaps I need to migrate my older install as per https://docs.cloudron.io/guides/mailbox-sharing/#background ?
Nope, it's not that.
I just checked my
/home/yellowtent/boxdata/mail/dovecot/config.ini
and I've already got:namespace_separator=/
-
I thought perhaps the difference with a newer server where it works might be that I don't have Solr enabled on that... and so I tried disabling Solr... but a few moments later it re-enables itself!
-
@jdaviescoates I think the setting issue is fixed with https://git.cloudron.io/cloudron/box/-/commit/1afa2e87ec93881ebcd1f79d83d4477467b40770 . After changing the setting, manually restart the mail container (from services view) as a workaround. Fix is in the next release.
-
@girish said in Searching emails by email address doesn't work
:
Fix is in the next release.
Presumably this is the fix to Solr re-starting itself?
Cool, thanks. I've try again once the updated has been rolled out.
Still unsure/ unclear if/ why Solr would effect this simple matter of searching by email address though?