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 work fine, but this isn't what appears to be happening. For queries that are not distributed I don't see this issue, only for distributed queries.
On Fri, Feb 10, 2012 at 2:23 PM, Jamie Johnson <jej2...@gmail.com> wrote: > 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 and removing any documents that > the user should not be able to see. Removing bad items works fine, > but sorting isn't quite right after doing this. At this point is the > docList completely sorted, or is there an optimization inside solr > which only sorts the top X documents? I'm grabbing at straws here > because for the life of me I can't figure out what is causing this. > > > I'm doing all of the filtering inside of the process method in my > custom SearchComponent. > > On Fri, Feb 10, 2012 at 12:41 PM, Jamie Johnson <jej2...@gmail.com> wrote: >> 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 issue is on my end, will report shortly. >> >> On Fri, Feb 10, 2012 at 12:16 PM, Yonik Seeley >> <yo...@lucidimagination.com> wrote: >>> 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 haven't been any fixes recently that I know of. >>> What version of Solr is this? >>> >>> -Yonik >>> lucidimagination.com