Re: (Old) SolrCloud Date Sorting issue

2012-02-10 Thread Yonik Seeley
On Fri, Feb 10, 2012 at 11:44 AM, Jamie Johnson jej2...@gmail.com wrote: Was there a fix recently to address sorting issues for Dates in solr cloud?  On my cluster I have a date field which when I sort across the cluster I get incorrect order executing the following query I get Yikes! There

Re: (Old) SolrCloud Date Sorting issue

2012-02-10 Thread Jamie Johnson
This is an snapshot of the solrcloud branch from somewhere between a year and 6 months ago (can't really remember off hand) with some custom components, I'm thinking that the custom components may be messing something up. I'm removing them now to test this without those to make sure that the

Re: (Old) SolrCloud Date Sorting issue

2012-02-10 Thread Jamie Johnson
It looks like everything works fine without my custom component, which is good for Solr, bad for me. The custom component does some additional authorization processing to remove docs that the user does not have access to. To do this we're iterating through responseBuilder.getResults().docList

Re: (Old) SolrCloud Date Sorting issue

2012-02-10 Thread Jamie Johnson
So looking at query component it appears to sort the entire doc list at the end of process, my component is defined after this query so the doclist that I get should be sorted, right? To me this should mean that I can remove items from this list and shift everything left as needed and it should

Re: (Old) SolrCloud Date Sorting issue

2012-02-10 Thread Yonik Seeley
On Fri, Feb 10, 2012 at 2:48 PM, Jamie Johnson jej2...@gmail.com wrote: So looking at query component it appears to sort the entire doc list at the end of process, my component is defined after this query so the doclist that I get should be sorted, right?  To me this should mean that I can

Re: (Old) SolrCloud Date Sorting issue

2012-02-10 Thread Jamie Johnson
I'd like to look at the pseudo fields you're talking about (don't really understand it right now), but need to get something working in the short term. How do I go about removing these from the sort values? On Fri, Feb 10, 2012 at 3:06 PM, Yonik Seeley yo...@lucidimagination.com wrote: On Fri,

Re: (Old) SolrCloud Date Sorting issue

2012-02-10 Thread Jamie Johnson
doing some copying I came up with the following boolean fsv = req.getParams().getBool(ResponseBuilder.FIELD_SORT_VALUES,false); if(fsv){ NamedList sortVals = (NamedList) rsp.getValues().get(sort_values); Sort sort =