Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi Team,
I need to modify tRapidSolrInsert component. my requirement is, i need to add new parameters in component and need to add below code in component code.
I am able to add and display parameters but it's not working. Please help me with this issue. We are using this parameters to insert parameter values in solr.
Code to add:
UpdateRequest updateRequest = new UpdateRequest();
updateRequest.setParam("batchid",batchName + "_" + batchCount);
updateRequest.setParam("source",source);
updateRequest.setParam("jobid",jobid);
updateRequest.add(docsList);
//updateRequest.setCommitWithin(1000);
updateRequest.process(destSolrclient);
Thanks,
Bhushan Pande.
Attaching updated component related files code below. please look into this code and let me know how to update code as per my requirement.
Code of component with file name:
tRapidSolrInsert1_Test_java.xml:--
<?xml version="1.0" encoding="UTF-8"?>
<COMPONENT>
<HEADER AUTHOR="THE DIGITAL GROUP" COMPATIBILITY="ALL"
DATA_AUTO_PROPAGATE="false" PLATEFORM="ALL" RELEASE_DATE="20150903A"
SERIAL="" STARTABLE="false" STATUS="ALPHA" VERSION="1.0">
<SIGNATURE />
</HEADER>
<FAMILIES>
<FAMILY>RapidSolrComponent</FAMILY>
</FAMILIES>
<DOCUMENTATION>
<URL />
</DOCUMENTATION>
<CONNECTORS>
<CONNECTOR CTYPE="FLOW" MIN_INPUT="1" MAX_INPUT="1" MAX_OUTPUT="1" /><CONNECTOR CTYPE="ITERATE" MAX_OUTPUT="1" MAX_INPUT="1" /><CONNECTOR CTYPE="SUBJOB_OK" MAX_IN