Note I already tried to escape < character with \< but still it throws same
error.
Any idea?
Thanks,
javaxmlsoapdev wrote:
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-tp27507918p27508214.html
Sent from the Solr - User mailing list archive at Nabble.com.