org.apache.solr.handler.dataimport.DataImportHandlerException

org.apache.solr.common.SolrException: Error parsing Lucene query

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web35

  • via Unknown by Fergus McMenemie,
  • Stack trace

    • org.apache.solr.handler.dataimport.DataImportHandlerException: org.apache.solr.common.SolrException: Error parsing Lucene query at org.apache.solr.handler.dataimport.DocBuilder.buildDocument(DocBuilder.java:400) at org.apache.solr.handler.dataimport.DocBuilder.doFullDump(DocBuilder.java:221) at org.apache.solr.handler.dataimport.DocBuilder.execute(DocBuilder.java:163) at org.apache.solr.handler.dataimport.DataImporter.doFullImport(DataImporter.java:309) at org.apache.solr.handler.dataimport.DataImporter.runCmd(DataImporter.java:367) at org.apache.solr.handler.dataimport.DataImporter$1.run(DataImporter.java:348) Caused by: org.apache.solr.common.SolrException: Error parsing Lucene query at org.apache.solr.search.QueryParsing.parseQuery(QueryParsing.java:84) at org.apache.solr.search.QueryParsing.parseQuery(QueryParsing.java:63) at org.apache.solr.update.DirectUpdateHandler2.deleteByQuery(DirectUpdateHandler2.java:314) at org.apache.solr.update.processor.RunUpdateProcessor.processDelete(RunUpdateProcessorFactory.java:70) at org.apache.solr.handler.dataimport.SolrWriter.deleteByQuery(SolrWriter.java:153) at org.apache.solr.handler.dataimport.DocBuilder.addFields(DocBuilder.java:449) at org.apache.solr.handler.dataimport.DocBuilder.buildDocument(DocBuilder.java:358) ... 5 more Caused by: org.apache.lucene.queryParser.ParseException: Cannot parse 'fileAbsolutePath:file:///Volumes/spare/ts/janes/schema/janesxml/data
    • ews/jdw/jdw2008/jni71796.xml': Encountered " ":" ": "" at line 1, column 21. Was expecting one of: <EOF> <AND> ... <OR> ... <NOT> ... "+" ... "-" ... "(" ... "*" ... "^" ... <QUOTED> ... <TERM> ... <FUZZY_SLOP> ... <PREFIXTERM> ... <WILDTERM> ... "[" ... "{" ... <NUMBER> ... at org.apache.lucene.queryParser.QueryParser.parse(QueryParser.java:177) at org.apache.solr.search.QueryParsing.parseQuery(QueryParsing.java:74) ... 11 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    We couldn't find other users who have seen this exception.