Hi Erick/Yonik,
Thank you guys. I am going to rename the fields.
On Thu, Jan 4, 2018 at 10:04 PM, Yonik Seeley wrote:
> The JSON Facet API uses the function query parser for something like
> sum(week_-91) so you'll probably have problems with any function that
> uses these fields as well.
> As
The JSON Facet API uses the function query parser for something like
sum(week_-91) so you'll probably have problems with any function that
uses these fields as well.
As Erick says, you're better off renaming the fields. There is a
workaround for wonky field names via the "field" function:
sum(fiel
>From the ref guide:
"Field names should consist of alphanumeric or underscore characters
only and not start with a digit."
While field naming isn't strictly enforced, having field names like
week_-1 is also not guaranteed to be supported. You should change your
field name.
I raised SOLR-11819 f
Hi Guys,
I am facing issue where I am trying to follow the JSON facet API. I have
data in my collection and field names are like "week_0", "week_-1" which
means current week and previous week respectively.
When I am querying for week_0 summation using the following query I am able
to get the resu