lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From J Mohamed Zahoor <zah...@indix.com>
Subject Re: stats.facet not working for timestamp field
Date Mon, 22 Apr 2013 05:47:32 GMT
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 <erickerickson@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 <zahoor@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
>> 
>> 


Mime
View raw message