It is a date field.

<field name="timestamp" type="date" indexed="true" stored="true" default="NOW" 
multiValued="false"/>

./zahoor


On 19-Apr-2013, at 5:02 PM, Erick Erickson <erickerick...@gmail.com> wrote:

> I'm guessing that your timestamp is a tdate, which stores "extra"
> information in the index for fast range searches. What happens if you
> try to facet on just a "date" field?
> 
> Best
> Erick
> 
> On Thu, Apr 18, 2013 at 8:37 AM, J Mohamed Zahoor <zah...@indix.com> wrote:
>> Hi
>> 
>> I am using SOlr 4.1 with 6 shards.
>> 
>> i want to find out some "price" stats for all the days in my index.
>> I ended up using stats component like 
>> "stats=true&stats.field=price&stats.facet=timestamp".
>> 
>> 
>> 
>> but it throws up error like
>> 
>> <str name="msg">Invalid Date String:' #1;#0;#0;#0;'[my(#0;'</str>
>> 
>> 
>> 
>> My Question is : is timestamp supported as "stats.facet" ?
>> 
>> ./zahoor
>> 
>> 

Reply via email to