Solr error

10 views
Skip to first unread message

Sajeev Benny

unread,
Jun 12, 2017, 3:04:34 AM6/12/17
to Hue-Users
Hello there,

I am using solr and trying to index the fields.

When indexing, I get the following errors.

{"responseHeader":{"status":400,"QTime":1,"params":{"hl.fragsize":"1000","facet":"true","facet.mincount":"0","facet.limit":"10","facet.range":["{!key=Date-37e68fce-f1e2-57ad-88b7-d446cb3e63a4 ex=37e68fce-f1e2-57ad-88b7-d446cb3e63a4 f.Date.facet.range.start=2016-08-22T07:00:00Z f.Date.facet.range.end=2016-08-22T07:01:00Z f.Date.facet.range.gap=+30SECONDS f.Date.facet.mincount=0}Date","{!key=M1-09167a8c-f75f-590b-975f-79f07cf29f02 ex=09167a8c-f75f-590b-975f-79f07cf29f02 f.M1.facet.range.start=0 f.M1.facet.range.end=2 f.M1.facet.range.gap=1 f.M1.facet.mincount=0}M1","{!key=M2-b747d281-d454-4b00-fbee-90d979865af2 ex=b747d281-d454-4b00-fbee-90d979865af2 f.M2.facet.range.start=0 f.M2.facet.range.end=200 f.M2.facet.range.gap=20 f.M2.facet.mincount=0}M2","{!key=Type-a4f435ec-9352-04dd-bf98-c575e6c84337 ex=a4f435ec-9352-04dd-bf98-c575e6c84337 f.Type.facet.range.start=0 f.Type.facet.range.end=20 f.Type.facet.range.gap=2 f.Type.facet.mincount=0}Type"],"hl.fl":"*","wt":"json","hl":"true","rows":"25","fl":"*","hl.snippets":"5","user.name":"hue","start":"0","q":"Type:","doAs":"admin","fq":"{!tag=b747d281-d454-4b00-fbee-90d979865af2}M2:[120 TO 140}"}},"error":{"metadata":["error-class","org.apache.solr.common.SolrException","root-error-class","org.apache.solr.parser.ParseException"],"msg":"org.apache.solr.search.SyntaxError: Cannot parse 'Type:': Encountered \"<EOF>\" at line 1, column 5.\nWas expecting one of:\n <BAREOPER> ...\n \"(\" ...\n \"*\" ...\n <QUOTED> ...\n <TERM> ...\n <PREFIXTERM> ...\n <WILDTERM> ...\n <REGEXPTERM> ...\n \"[\" ...\n \"{\" ...\n <LPARAMS> ...\n <NUMBER> ...\n ","code":400}} (error 400)


Is it the problem with data itself?

Any help much appreciated!


Sajeev Benny

unread,
Jun 12, 2017, 4:11:28 AM6/12/17
to Hue-Users

I have attached the message.

Widgets -> any of the field from the index -> then the error message in the left pane appears
error message.JPG

Sajeev Benny

unread,
Jun 12, 2017, 5:59:51 AM6/12/17
to Hue-Users
I restarted the cluster and this was found in the error logs

Kindly find the attachment for more info.

Thanks in advance.

KR - Sajeev
log screenshot.JPG

Sajeev Benny

unread,
Jun 12, 2017, 6:02:01 AM6/12/17
to Hue-Users
I restarted the cluster and this was found in the error logs

Kindly find the attachment for more info.

Thanks in advance.

KR - Sajeev



log screenshot.JPG

Xavier Morera

unread,
Jun 12, 2017, 8:52:52 AM6/12/17
to Sajeev Benny, Hue-Users
Yes, see this part of the response

SyntaxError: Cannot parse 'Type:':

Xavier

--------------------------------------------
Sent from a small attention grabbing screen


> On Jun 12, 2017, at 01:04, Sajeev Benny <sajee...@gmail.com> wrote:
>
> SyntaxError: Cannot parse 'Type:':

Sajeev Benny

unread,
Jun 12, 2017, 10:59:26 AM6/12/17
to Hue-Users
Thank you for the clarification.

KR- Sajeev
Reply all
Reply to author
Forward
0 new messages