Hi Erick,

It is about ordering the facet information. The result set is empty via
rows=0.

Here is the logics and example:

Each doc has string field someStr and a date field associated with it, and
same doc id has same value of the date field. Question: is it possible to
sort the facet values given below on that date field?

curl
http://localhost:8983/solr/select?q=someStr:network&facet=true&facet.field=id&facet.limit=1000&facet.mincount=1&rows=0

result excerpt:

<lst name="facet_fields">
<lst name="id">
<int name="T-AS_1386229">
54
</int>
<int name="T-AS_1386181">
45
</int>
<int name="T-CP_1370095">
36
</int>
<int name="T-AS_1377809">
25
</int>
<int name="T-CP_1380207">
18
</int>
<int name="T-CP_1373820">
11
</int>
<int name="T-AS_1372073-1">
8
</int>
<int name="T-AS_1367577">
6
</int>
<int name="T-AS_1383141">
5
</int>
<int name="T-AS_1383648-1">
5
</int>
<int name="T-AS_1351183-1">
4
</int>
</lst>
</lst>


Regards,

Dmitry




On Wed, May 18, 2011 at 3:33 PM, Erick Erickson <erickerick...@gmail.com>wrote:

> Can you provide an example of what you are trying to do? Are you
> referring to ordering the result set or the facet information?
>
> Best
> Erick
>
> On Wed, May 18, 2011 at 7:21 AM, Dmitry Kan <dmitry....@gmail.com> wrote:
> > Hello list,
> >
> > Is it possible to sort on date field in a facet query in SOLR 3.1?
> >
> > --
> > Regards,
> >
> > Dmitry Kan
> >
>

Reply via email to