Thanks Yonik. It solved the issue.
On 11-Aug-2011, at 6:44 PM, Yonik Seeley wrote:
> On Wed, Aug 10, 2011 at 5:57 AM, Amit Sawhney 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={!f
On Wed, Aug 10, 2011 at 5:57 AM, Amit Sawhney 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=dis
The default sort is on relevance. I want to give an option to users to sort the
results by date (latest on top).
This works fine for queries which have few results (upto 100). However, it
brings inaccurate results as soon as the figure reaches 1000s.
I am trying to limit the sorting to top few r
I meant the frange query, of course
On Wed, Aug 10, 2011 at 10:21 AM, simon 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 wrote:
>> Hi All,
>>
>> I am trying to sort the results on a
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 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={
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