Perhaps i don't see your problem but if you convert the dates to UNIX
timestamps, you could use a range query to narrow your results to within
a specific date.
-  
Markus Jelsma                  Buyways B.V.             Tel. 050-3118123
Technisch Architect            Friesestraatweg 215c     Fax. 050-3118124
http://www.buyways.nl          9743 AD Groningen        KvK  01074105


On Wed, 2009-04-22 at 15:13 +0200, tarjei wrote:

> On 04/22/2009 02:57 PM, Markus Jelsma - Buyways B.V. wrote:
> > AFAIK, according to the manual you can add multiple sort instructions:
> > http://wiki.apache.org/solr/CommonQueryParameters#head-9f40612b42721ed9e1979a4a80d68f4f8524e9b4
> Yes, but dates are fairly spesific, say 06:45 Nov. 2 , 2009. What if I 
> want to say "Sort so that withing entries for Nov. 2 , you sort by 
> relevance" for example?
> 
> Kind regards,
> Tarjei
> >
> >
> >
> > -
> > Markus Jelsma                  Buyways B.V.             Tel. 050-3118123
> > Technisch Architect            Friesestraatweg 215c     Fax. 050-3118124
> > http://www.buyways.nl          9743 AD Groningen        KvK  01074105
> >
> >
> > On Wed, 2009-04-22 at 14:47 +0200, tarjei wrote:
> >
> >> Hi, I got a set of entries where I want to sort them both by the day
> >> they were entered into solr(stored as a Solr date)  and also by another
> >> field.
> >>
> >> Is this possible or do I have to create a separate field with lower
> >> resolution?
> >>
> >> kind regards,
> >> Tarjei
> >
> 

Reply via email to