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 = searcher.weightSort(r
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
wrote:
> On Fri, Feb 10, 2012 at 2:48 PM, J
On Fri, Feb 10, 2012 at 2:48 PM, Jamie Johnson 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 remove items from
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 wo
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
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
On Fri, Feb 10, 2012 at 11:44 AM, Jamie Johnson 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
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
solr/select?distrib=true&q=paul&sort=datetime_dt%20desc&fl=datetime_dt
2009-10-31T1