I meant the frange query, of course
On Wed, Aug 10, 2011 at 10:21 AM, simon <mtnes...@gmail.com> wrote: > Could you tell us what you're trying to achieve with the range query ? > It's not clear. > > -Simon > > On Wed, Aug 10, 2011 at 5:57 AM, Amit Sawhney <sawhney.a...@gmail.com> wrote: >> Hi All, >> >> I am trying to sort the results on a unix timestamp using this query. >> >> http://url.com:8983/solr/db/select/?indent=on&version=2.1&q={!frange%20l=0.25}query($qq)&qq=nokia&sort=unix-timestamp%20desc&start=0&rows=10&qt=dismax&wt=dismax&fl=*,score&hl=on&hl.snippets=1 >> >> When I run this query, it says 'no field name specified in query and no >> defaultSearchField defined in schema.xml' >> >> As soon as I remove the frange query and run this, it starts working fine. >> >> http://url.com:8983/solr/db/select/?indent=on&version=2.1&q=nokia&sort=unix-timestamp%20desc&start=0&rows=10&qt=dismax&wt=dismax&fl=*,score&hl=on&hl.snippets=1 >> >> Any pointers? >> >> >> Thanks, >> Amit >