Don't name your fields that way. The general advice
is to only name your fields as though they were
Java variables. The field name you're using is
too easily confused with a mathematical operation
after all.

Personally, I only use lower-case, underscore, and
perhaps numbers to avoid surprises like this.

Best,
Erick

On Wed, Sep 25, 2013 at 6:40 AM, Tanu Garg <tanugarg2...@gmail.com> wrote:
>  0 down vote favorite
>
>
> Hi I m trying sum function in solr
>
> val:"sum(kcmeta/bookmark/count,10.00)"
>
> itis giving error:
>
> <lst name="error">
>   <str name="msg">undefined field: "kcmeta"</str>
>   <int name="code">400</int>
> </lst>
>
> My field name is "kcmeta/bookmark/count"
>
> Please suggest how to resolve this.
>
>
>
>
> --
> View this message in context: 
> http://lucene.472066.n3.nabble.com/Sum-function-causing-error-in-solr-tp4091901.html
> Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to