Define a facet on a field not present in the database.

50 views
Skip to first unread message

Raghu

unread,
Jan 24, 2011, 1:36:19 AM1/24/11
to Thinking Sphinx
I want to define a facet on a date range.Is this possible?

For example I have many requests and I want to have a facet displaying
something like this:

Requests today(2)
Requests this week(10)
Requests this month(245)

where 2,10 and 245 are the number of requests raised on this day,this
week and this month respectively.

Thanks in advance.

Pat Allan

unread,
Jan 24, 2011, 1:47:54 AM1/24/11
to thinkin...@googlegroups.com
Unfortunately there's no easy way of doing this. You could try creating some custom attributes for each of these facets, perhaps?

--
Pat

> --
> You received this message because you are subscribed to the Google Groups "Thinking Sphinx" group.
> To post to this group, send email to thinkin...@googlegroups.com.
> To unsubscribe from this group, send email to thinking-sphi...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/thinking-sphinx?hl=en.
>

Reply all
Reply to author
Forward
0 new messages