solr-4.3.1
--
View this message in context:
http://lucene.472066.n3.nabble.com/Sum-function-causing-error-in-solr-tp4091901p4092342.html
Sent from the Solr - User mailing list archive at Nabble.com.
On Fri, Sep 27, 2013 at 2:28 AM, Tanu Garg wrote:
> tried this as well. but its not working.
It's working fine for me. What version of Solr are you using?
What does your complete request look like?
-Yonik
http://lucidworks.com
tried this as well. but its not working.
--
View this message in context:
http://lucene.472066.n3.nabble.com/Sum-function-causing-error-in-solr-tp4091901p4092306.html
Sent from the Solr - User mailing list archive at Nabble.com.
Yes jack. have tried this. but giving the same error.
--
View this message in context:
http://lucene.472066.n3.nabble.com/Sum-function-causing-error-in-solr-tp4091901p4092307.html
Sent from the Solr - User mailing list archive at Nabble.com.
On Wed, Sep 25, 2013 at 6:40 AM, Tanu Garg wrote:
> My field name is "kcmeta/bookmark/count"
You can always use the "field" function to handle whacky field
names... unquoted if it's simple enough, or quoted if it's not.
field(kcmeta/bookmark/count)
or
field("kcmeta/bookmark/count")
-Yonik
http:
Escape any special characters in field names with backslash.
-- Jack Krupansky
-Original Message-
From: Tanu Garg
Sent: Wednesday, September 25, 2013 8:45 AM
To: solr-user@lucene.apache.org
Subject: Re: Sum function causing error in solr
Thanks erick
I know we should name variable
Thanks erick
I know we should name variable as java variables. But theses are the
predefined variables. I cant rename it.
Provide me the solution with this constraint.
--
View this message in context:
http://lucene.472066.n3.nabble.com/Sum-function-causing-error-in-solr-tp4091901p4091927.html
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