lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bharath Kumar <>
Subject Unique key field type in solr 6.1 schema
Date Sun, 07 Aug 2016 23:21:09 GMT
Hi All,

I have an issue with cross data center replication, when we delete the
document by id from the main site. The target site document is not deleted.
I have the id field which is a unique field for my schema which is
configured as "long".

If i change the type to "string" it works fine. Is there any issue using
long. Because we migrated from 4.4 to 6.1, and we had the id field as long.
Can you please help me with this. Really appreciate your help.

*I see the below error on the target site:-*

 o.a.s.h.RequestHandlerBase org.apache.solr.common.SolrException: Invalid
  at org.apache.solr.schema.TrieField.readableToIndexed(
        at org.apache.solr.update.DeleteUpdateCommand.getIndexedId(
        at org.apache.solr.update.processor.DistributedUpdateProcessor.
        at org.apache.solr.update.processor.CdcrUpdateProcessor.

Thanks & Regards,
Bharath MV Kumar

"Life is short, enjoy every moment of it"

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message