Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Loggly Solr Error #331

Open
jimpo opened this issue Jun 6, 2012 · 2 comments
Open

Loggly Solr Error #331

jimpo opened this issue Jun 6, 2012 · 2 comments
Labels

Comments

@jimpo
Copy link
Member

jimpo commented Jun 6, 2012

Some sort of Solr error showing up on Loggly a lot. You know what this is @jodoglevy ? Sorry about GitHub's formatting.

Error: <title>Apache Tomcat/6.0.28 - Error report</title><style></style>

HTTP Status 400 - org.apache.lucene.queryParser.ParseException: Cannot parse ':"undefined"': Encountered " ":" ": "" at line 1, column 0.
Was expecting one of:
<NOT> ...
"+" ...
"-" ...
"(" ...
"" ...
<QUOTED> ...
<TERM> ...
<PREFIXTERM> ...
<WILDTERM> ...
"[" ...
"{" ...
<NUMBER> ...
<TERM> ...
"" ...


type Status report

message org.apache.lucene.queryParser.ParseException: Cannot parse ':"undefined"': Encountered " ":" ": "" at line 1, column 0.
Was expecting one of:
<NOT> ...
"+" ...
"-" ...
"(" ...
"
" ...
<QUOTED> ...
<TERM> ...
<PREFIXTERM> ...
<WILDTERM> ...
"[" ...
"{" ...
<NUMBER> ...
<TERM> ...
"" ...

description The request sent by the client was syntactically incorrect (org.apache.lucene.queryParser.ParseException: Cannot parse ':"undefined"': Encountered " ":" ": "" at line 1, column 0.
Was expecting one of:
<NOT> ...
"+" ...
"-" ...
"(" ...
"
" ...
<QUOTED> ...
<TERM> ...
<PREFIXTERM> ...
<WILDTERM> ...
"[" ...
"{" ...
<NUMBER> ...
<TERM> ...
"
" ...
).


Apache Tomcat/6.0.28


at IncomingMessage. (/app/node_modules/solr/lib/solr.js:35:19)
at IncomingMessage.emit (events.js:88:20)
at HTTPParser.parserOnMessageComplete as onMessageComplete
at Socket.socketOnData as ondata
at TCP.onread (net.js:374:27)

@jodoglevy
Copy link
Member

@jep37 the important part of the error is Cannot parse ':"undefined"'. Because solr uses the syntax of title:"a title goes here", field:value, I assume :"undefined" means the query is missing a field to search on (ie title) and the value it is searching on is undefined, which we are manually wrapping in quotes. What confuses me is that search seems to be working on the site...

@jodoglevy
Copy link
Member

@jep37 are you still getting this a lot?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants