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
indexed the data?
> >
> My greatest apologies, I have seen my mistake! ...looks like someone had
> added a sort into the requestHandler on another date already...which I was
> not aware of, so it seems that was causing a conflict!
>
>
>
>
> --
> View this message i
ch I was
not aware of, so it seems that was causing a conflict!
--
View this message in context:
http://lucene.472066.n3.nabble.com/Date-sorting-tp1219372p1219574.html
Sent from the Solr - User mailing list archive at Nabble.com.
lance, is there any Bug in solr1.4 related to sorting on date field?
--
View this message in context:
http://lucene.472066.n3.nabble.com/Date-sorting-tp1219372p1219537.html
Sent from the Solr - User mailing list archive at Nabble.com.
provide schema.xml and solrconfig.xml to dig the problem and by which version
of solr u have indexed the data?
--
View this message in context:
http://lucene.472066.n3.nabble.com/Date-sorting-tp1219372p1219534.html
Sent from the Solr - User mailing list archive at Nabble.com.
Looking at the above image you can see the dates seem to be in order, then
>> I get a 2010-08-17 date between the 2010-07 dates. This is just a
>> sample..but my full results continues like that.
>>
>> I am not sure what I am doing wrong and would appreciate any help.
>> Th
e that.
>
> I am not sure what I am doing wrong and would appreciate any help.
> Thanks
> Kirsty
>
>
--
View this message in context:
http://lucene.472066.n3.nabble.com/Date-sorting-tp1219372p1219377.html
Sent from the Solr - User mailing list archive at Nabble.com.
10-08-17 date between the 2010-07 dates. This is just a sample..but
my full results continues like that.
I am not sure what I am doing wrong and would appreciate any help.
Thanks
Kirsty
--
View this message in context:
http://lucene.472066.n3.nabble.com/Date-sorting-tp1219372p1219372.html
Sent
: I'm trying to think of a way to use both relevancy and date sorting in
: the same search. If documents are recent (say published within the last
: 2 years), I want to use all of the boost functions, BQ parameters, and
: normal Lucene scoring functions, but for documents older than two
Hi,
I'm trying to think of a way to use both relevancy and date sorting in
the same search. If documents are recent (say published within the last
2 years), I want to use all of the boost functions, BQ parameters, and
normal Lucene scoring functions, but for documents older than two yea
17 matches
Mail list logo