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 = searcher.weightSort(r

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 wrote: > On Fri, Feb 10, 2012 at 2:48 PM, J

Re: (Old) SolrCloud Date Sorting issue

2012-02-10 Thread Yonik Seeley
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

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 wo

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 and

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 issue

Re: (Old) SolrCloud Date Sorting issue

2012-02-10 Thread Yonik Seeley
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

(Old) SolrCloud Date Sorting issue

2012-02-10 Thread Jamie Johnson
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

Re: Date sorting

2010-08-19 Thread Erick Erickson
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

Re: Date sorting

2010-08-18 Thread kirsty
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.

Re: Date sorting

2010-08-18 Thread Grijesh.singh
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.

Re: Date sorting

2010-08-18 Thread Grijesh.singh
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.

Re: Date sorting

2010-08-18 Thread Lance Norskog
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

Re: Date sorting

2010-08-18 Thread kirsty
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.

Date sorting

2010-08-18 Thread kirsty
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

Re: Relevancy and date sorting in same search?

2009-03-17 Thread Chris Hostetter
: 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

Relevancy and date sorting in same search?

2009-03-08 Thread Dean Missikowski (Consultant), CLSA
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