Re: Incorrect value sent to solr

2021-04-08 Thread John Fawcett
On 08/04/2021 08:02, Aki Tuomi wrote: > Hi! > Thanks for reminding us, I'll make a ticket about this to avoid forgetting it > again. > > Aki Thanks to you and the team for taking it into consideration! PS is this list the best way to post patch proposals or is it easier for you to get code from

Re: Incorrect value sent to solr

2021-04-07 Thread Aki Tuomi
> On 07/04/2021 22:58 John Fawcett wrote: > > > On 07/04/2021 13:36, Łukasz Szczepański wrote: > > I'm not as familiar with C, but I don't see in solr backed in dovecot > > any  clue of subsequent queries for single mailbox lookup (which most > > mail client uses). There is a hard limit of 10

Re: Incorrect value sent to solr

2021-04-07 Thread John Fawcett
On 07/04/2021 13:36, Łukasz Szczepański wrote: > I'm not as familiar with C, but I don't see in solr backed in dovecot > any  clue of subsequent queries for single mailbox lookup (which most > mail client uses). There is a hard limit of 10 rows for multiple > mailbox lookup. This was reported

Re: Incorrect value sent to solr

2021-04-07 Thread Łukasz Szczepański
I'm not as familiar with C, but I don't see in solr backed in dovecot any clue of subsequent queries for single mailbox lookup (which most mail client uses). There is a hard limit of 10 rows for multiple mailbox lookup. W dniu 2021-04-07 12:48, Shawn Heisey napisał(a): On 4/7/2021 4:13 A

Re: Incorrect value sent to solr

2021-04-07 Thread Shawn Heisey
On 4/7/2021 4:13 AM, Łukasz Szczepański wrote: I've prepared pull request with fixed rows parameter: https://github.com/dovecot/core/pull/160 I've tested this fix on mailbox which caused a problem earlier, and its works fine. I admit to not being very familiar with dovecot source, but I did a

Re: Incorrect value sent to solr

2021-04-07 Thread Łukasz Szczepański
I've prepared pull request with fixed rows parameter: https://github.com/dovecot/core/pull/160 I've tested this fix on mailbox which caused a problem earlier, and its works fine. W dniu 2021-04-03 23:53, Łukasz Szczepański napisał(a): Error java.lang.NumberFormatException: For input string: "2

Re: Incorrect value sent to solr

2021-04-03 Thread Łukasz Szczepański
Error java.lang.NumberFormatException: For input string: "2206267083" I got from logs section in solr, it's visible when you expand an error. NumberFormatException is raised when passed value isn't correct number value. Quick tests shows that in this place solr expects signed int. I know that u

Re: Incorrect value sent to solr

2021-04-03 Thread Shawn Heisey
On 4/3/2021 12:12 PM, Łukasz Szczepański wrote: Rows isn't part of manage-schema for solr collection its build in common query parameters in solr, and type of this field cannot be changed. It controls the number of returned results (by default 10). I still think that an issue on dovecot side, bu

Re: Incorrect value sent to solr

2021-04-03 Thread Łukasz Szczepański
I already have uid as long in schema: stored="true"/> stored="true"/> stored="true"/> stored="true"/> Rows isn't part of manage-schema for solr collection its build in common query parameters in solr, and type of this field cannot be changed. It controls the number

Re: Incorrect value sent to solr

2021-04-03 Thread Shawn Heisey
On 4/2/2021 7:11 AM, Łukasz Szczepański wrote: On a Solr side I got an error: java.lang.NumberFormatException: For input string: "2206267083" NumberFormat expect an int which max value is 2147483647. Quick test reviles that rows parameter isn't required for correct response from solr. I think t

Incorrect value sent to solr

2021-04-02 Thread Łukasz Szczepański
Hello, I've recently stumbled upon an error in fts-solr plugin. Dovecot sends "rows" parameter to solr when someone is searching in mailbox, but value of rows can be bigger than int in java. If I understand correctly, rows is equal to the last message id on current imap folder. I have mailbox whe