Re: stats.facet not working for timestamp field

2013-04-21 Thread J Mohamed Zahoor
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=truestats.field=pricestats.facet=timestamp.
 
 
 
 but it throws up error like
 
 str name=msgInvalid Date String:' #1;#0;#0;#0;'[my(#0;'/str
 
 
 
 My Question is : is timestamp supported as stats.facet ?
 
 ./zahoor
 
 



Re: stats.facet not working for timestamp field

2013-04-19 Thread Erick Erickson
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=truestats.field=pricestats.facet=timestamp.



 but it throws up error like

 str name=msgInvalid Date String:' #1;#0;#0;#0;'[my(#0;'/str



 My Question is : is timestamp supported as stats.facet ?

 ./zahoor




stats.facet not working for timestamp field

2013-04-18 Thread J Mohamed Zahoor
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=truestats.field=pricestats.facet=timestamp.



but it throws up error like  

str name=msgInvalid Date String:' #1;#0;#0;#0;'[my(#0;'/str



My Question is : is timestamp supported as stats.facet ?

./zahoor