Enterprise Search support for Apache Lucene and Solr by Lucid Imagination

Secondary links

  • Contact Us
  • Log in
  • Downloads
  • Solutions
    • Software |
    • Services |
    • Training |
    • White Papers & Case Studies |
    • Webinars & Events |
  • Developers
    • Blog |
    • Tech Articles |
    • Community |
    • Documentation |
    • Downloads |
    • Webcasts & Podcasts |
  • About
    • Market Overview |
    • Management |
    • Company News |
    • In the Media |
    • Contact |

beta

Start new search

Back to search results

  1. FromDate
  2. javaxmlsoapdev2010-02-08 18:15
  3. javaxmlsoapdev2010-02-08 18:42
  4. "Shah, Nirmal"2010-02-08 22:12

[solr-user] DataImportHandler can't understand query

Subject:
DataImportHandler can't understand query
From:
javaxmlsoapdev <vikasdp@...>
Date:
2010-02-08 18:15
I have a complex query (runs fine in database), which I am trying to include
in DataImportHandler query. Query has case statements with < > in it 

e.g.
....
case when (ASSIGNED_TO < > '' and TRANSLATE(ASSIGNED_TO, '',
'0123456789')='')
....
DataImportHandler failes to understand query with following error and
complaining about "<" symbol. How to go about this? Note; query is valid and
runs fine in database.

[Fatal Error] :26:26: The value of attribute "query" associated with an
element type "entity" must not contain the '<' character.
Feb 8, 2010 6:02:09 PM org.apache.solr.handler.dataimport.DataImportHandler
inform
SEVERE: Exception while loading DataImporter
org.apache.solr.handler.dataimport.DataImportHandlerException: Exception
occurred while initializing context
	at
org.apache.solr.handler.dataimport.DataImporter.loadDataConfig(DataImporter.java:190)

Thansk,
-- 
View this message in context: http://old.nabble.com/DataImportHandler-can%27t-understand-query-tp27507918p27507918.html
Sent from the Solr - User mailing list archive at Nabble.com.

Solr Powered

Give us your feedback

  • Lucene
  • Solr
  • Nutch
  • Tika
  • Mahout
  • Droids
  • PyLucene
  • Lucene.Net
  • Lucy
  • Lucene4c
  • Open Relevance Project
  • How We Can Help:
    • Getting Started |
    • Support Subscriptions |
    • White Papers |
    • Training |
    • Consulting |
    • Contact Us |
  • Developers:
    • Blog |
    • Documentation |
    • Tech Articles |
    • Podcasts and Videos |
    • Community |
  • Downloads:
    • LucidWorks for Solr |
    • LucidWorks for Lucene |
    • LucidGaze for Solr |
    • LucidGaze for Lucene |
  • Products:
  • Services:

Contact | Privacy Policy | Legal Terms of Use | Copyrights and Disclaimers | Admin

Apache Solr, Apache Lucene, ApacheCon and their logos are trademarks of the Apache Software Foundation.

© 2010 Lucid Imagination. All Right reserved.