Re: [Dovecot] Solr plugin
On 9.1.2012, at 1.48, Daniel L. Miller wrote: On 1/8/2012 3:40 PM, Daniel L. Miller wrote: On 1/6/2012 12:32 PM, Daniel L. Miller wrote: On 1/6/2012 9:36 AM, Timo Sirainen wrote: On 6.1.2012, at 19.30, Daniel L. Miller wrote: Jan 8 15:40:09 bubba dovecot: imap(us...@domain.com): Error: fts_solr: Lookup failed: 400 undefined field CC Jan 8 15:40:09 bubba dovecot: imap: Error: Looking at the Solr output - looks like the CC parameter is being capitalized while all the other fieldnames are lowercase. Did you look at the input? Looking at the code, it should be lowercased. Maybe Solr just uppercases it for some reason. Are you using a Solr schema that has cc field?
Re: [Dovecot] Solr plugin
On 1/9/2012 7:00 AM, Timo Sirainen wrote: On 9.1.2012, at 1.48, Daniel L. Miller wrote: On 1/8/2012 3:40 PM, Daniel L. Miller wrote: On 1/6/2012 12:32 PM, Daniel L. Miller wrote: On 1/6/2012 9:36 AM, Timo Sirainen wrote: On 6.1.2012, at 19.30, Daniel L. Miller wrote: Jan 8 15:40:09 bubba dovecot: imap(us...@domain.com): Error: fts_solr: Lookup failed: 400 undefined field CC Jan 8 15:40:09 bubba dovecot: imap: Error: Looking at the Solr output - looks like the CC parameter is being capitalized while all the other fieldnames are lowercase. Did you look at the input? Looking at the code, it should be lowercased. Maybe Solr just uppercases it for some reason. Are you using a Solr schema that has cc field? I see the following in a running Solr instance. This is generated from a Windoze Thunderbird 8.0 client: Jan 9, 2012 4:20:13 PM org.apache.solr.core.SolrCore execute INFO: [] webapp=/solr path=/select params={fl=uid,scoresort=uid+ascfq=%2Bbox:c1af150abfc9df4d7f7a3bc41c5f+%2Buser:dmil...@amfes.comq=from:test+OR+to:test+OR+CC:test+OR+subject:test+OR+body:testrows=9038} status=400 QTime=4 That's where I see the uppercased CC. -- Daniel
Re: [Dovecot] Solr plugin
On 10.1.2012, at 2.21, Daniel L. Miller wrote: Did you look at the input? Looking at the code, it should be lowercased. Maybe Solr just uppercases it for some reason. Are you using a Solr schema that has cc field? I see the following in a running Solr instance. This is generated from a Windoze Thunderbird 8.0 client: Jan 9, 2012 4:20:13 PM org.apache.solr.core.SolrCore execute INFO: [] webapp=/solr path=/select params={fl=uid,scoresort=uid+ascfq=%2Bbox:c1af150abfc9df4d7f7a3bc41c5f+%2Buser:dmil...@amfes.comq=from:test+OR+to:test+OR+CC:test+OR+subject:test+OR+body:testrows=9038} status=400 QTime=4 Oh, you were talking about the searching part, not indexing. Yeah, there it wasn't necessarily lowercased. Fixed: http://hg.dovecot.org/dovecot-2.1/rev/075591a4b6a8
Re: [Dovecot] Solr Plugin make only INBOX able to search
On Mon, Sep 14, 2009 at 2:54 AM, Timo Sirainen t...@iki.fi wrote: BTW. Note that Solr schema file was changed a bit to use less disk space. But that shouldn't have caused this kind of a bug. The problem is caused by my custom schema. My changes are breaking the search someway. Thank you Timo.
Re: [Dovecot] Solr Plugin make only INBOX able to search
On Mon, Sep 14, 2009 at 2:54 AM, Timo Sirainen t...@iki.fi wrote: Hmm. Seems to work here: x create Test Folder x OK Create completed. x copy 1:* Test Folder x OK [COPYUID 1251759136 20163:20174 1:12] Copy completed. x search text multiple * SEARCH 1 x OK Search completed (0.000 secs). Are the messages added to the database? Can you find them with Solr's own query tool? No. What Solr version are you using? I'm testing with v1.3.0. I am using 1.4-dev. Maybe it was not a smart choice. BTW. Note that Solr schema file was changed a bit to use less disk space. But that shouldn't have caused this kind of a bug. Ok, I will test solr v1.3.0 and the new schema. I will give news soon. Thank you!
Re: [Dovecot] Solr Plugin make only INBOX able to search
On Wed, 2009-08-19 at 16:47 +0100, rui.carne...@portugalmail.net wrote: I have downloaded and installed dovecot 1.2.4 with Solr plugin. After that, when I try to do some searches the results are weird. All messages that aren't on INBOX folder are ignored. For example, if I have a folder named Test Folder, when I try to do . search text string the result is always empty. Hmm. Seems to work here: x create Test Folder x OK Create completed. x copy 1:* Test Folder x OK [COPYUID 1251759136 20163:20174 1:12] Copy completed. x search text multiple * SEARCH 1 x OK Search completed (0.000 secs). Are the messages added to the database? Can you find them with Solr's own query tool? What Solr version are you using? I'm testing with v1.3.0. BTW. Note that Solr schema file was changed a bit to use less disk space. But that shouldn't have caused this kind of a bug. signature.asc Description: This is a digitally signed message part
Re: [Dovecot] Solr Plugin make only INBOX able to search
Hi again, Anyone could help me?