Thanks. Looked at all version specific documentation from 4.10 and the {!key} feature for interval facets is implemented in 5.1.
On Fri, Jun 12, 2015 at 12:03 PM, Upayavira <u...@odoko.co.uk> wrote: > This is mentioned in the release notes for 5.2, i.e. the instructions > mentioned on that page will only work on 5.2+. > > When looking at the cwiki ref guide, remember that that is the > development location for the Solr Reference Guide, so invariably refers > to an as yet to be released version of Solr. You are advised to download > a PDF for your specific version if you want to be sure to get directions > relevant to your version. > > Upayavira > > On Fri, Jun 12, 2015, at 07:22 PM, Phanindra R wrote: > > Hi, > > > > According to > > > https://cwiki.apache.org/confluence/display/solr/Faceting#Faceting-IntervalFaceting > , > > a facet name could be assigned to interval facets, which then replaces > > the > > field name as the facet name in the response. > > > > The syntax I used: facet.interval={!key=myName}myField > > > > But Solr 4.10.2 throws following exception: > > > > "error": { "msg": "undefined field: \"{!key=myName}myField\"", "code": > > 400 } >