Hi there.
I'm sure this one is me just not getting it, but since this is only in master, I don't have much documentation to go on.
I've been working on putting together some stuff using histogram facets, and I've been trying to do some stuff based on what I could garner from the github issues.
This is what I've been trying:
curl localhost:9200/chatter/content/_search -d '{
query : {
"match_all" : {}
},
facets : {
"histo1" : {
"histogram" : {
"key_field" : "published",
"time_interval" : "1d"
}
}
}
}'
Now the error I get for that is this: Failed to parse [1d]]; nested: NumberFormatException[For input string: "1d"].
I'm guessing I'm going about this the wrong way, so any assistance would be most appreciated.
Thanks,
Andrew
Andrew Harvey / Developer
lexer
m/
t/ +61 2 9019 6379
w/ http://lexer.com.au
Help put an end to whaling. Visit http://www.givewhalesavoice.com.au/
Please consider the environment before printing this email
This email transmission is confidential and intended solely for the person or organisation to whom it is addressed. If you are not the intended recipient, you must not copy, distribute or disseminate the information, or take any action in relation to it and please delete this e-mail. Any views expressed in this message are those of the individual sender, except where the send specifically states them to be the views of any organisation or employer. If you have received this message in error, do not open any attachment but please notify the sender (above). This message has been checked for all known viruses powered by McAfee.
For further information visit http://www.mcafee.com/us/threat_center/default.asp
Please rely on your own virus check as no responsibility is taken by the sender for any damage rising out of any virus infection this communication may contain.
This message has been scanned for malware by Websense. www.websense.com