Re: Issue paging when sorting on a Date field

2014-05-20 Thread Shawn Heisey
On 5/19/2014 2:05 PM, Bryan Bende wrote: > Using Solr 4.6.1 and in my schema I have a date field storing the time a > document was added to Solr. > > I have a utility program which: > - queries for all of the documents in the previous day sorted by create date > - pages through the results keeping

Re: Issue paging when sorting on a Date field

2014-05-20 Thread Chris Hostetter
: So I think when I was paging through the results, if the query for page N : was handled by replica1 and page N+1 handled by replica2, and the page : boundary happened to be where the reversed rows were, this would produce : the behavior I was seeing where the last row from the previous page was

Re: Issue paging when sorting on a Date field

2014-05-20 Thread Bryan Bende
This is using the solr.TrieDateField, it is the field type "date" from the example schema in solr 4.6.1: After further testing I was only able to reproduce this in a sharded & replicated environment (numShards=3, replicationFactor=2) and I think I have narrowed down the issue, and at this point i

Re: Issue paging when sorting on a Date field

2014-05-19 Thread Chris Hostetter
: Using Solr 4.6.1 and in my schema I have a date field storing the time a : document was added to Solr. what *exactly* does your schema look like? are you using "solr.DateField" or "solr.TrieDateField" ? what field options do you have specified? : I have a utility program which: : - queries f