Frank Greguska created SDAP-167:
-----------------------------------

             Summary: Make shard key configureable
                 Key: SDAP-167
                 URL: https://issues.apache.org/jira/browse/SDAP-167
             Project: Apache Science Data Analytics Platform
          Issue Type: Improvement
          Components: nexus
            Reporter: Frank Greguska
             Fix For: 1.1


Currently the dataset name is used as the prefix for the compositeId used for 
routing

[https://lucene.apache.org/solr/guide/7_4/shards-and-indexing-data-in-solrcloud.html#document-routing]

This is done in the SolrStore writer

[https://github.com/apache/incubator-sdap-ningester/blob/12e60f2c0f11be33026808d98623d5cbe136179d/src/main/java/org/apache/sdap/ningester/writer/SolrStore.java#L94]
 

 

This might not be appropriate for every case (for example, if only one dataset 
is ever going to be ingested). It would be nice to make this configureable.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to