corb2 | MarkLogic tool for bulk loading | SQL Database library
kandi X-RAY | corb2 Summary
kandi X-RAY | corb2 Summary
CoRB is a Java tool designed for bulk content-reprocessing of documents stored in MarkLogic. CoRB stands for Content Reprocessing in Bulk and is a multi-threaded workhorse tool at your disposal. In a nutshell, CoRB works off a list of documents in a database and performs operations against those documents. CoRB operations can include generating a report across all documents, manipulating the individual documents, or a combination thereof.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Parse command line arguments
- Normalize properties
- Creates an instance of the Task class
- Parse the job server ports
- Opens the client
- Log the queue status
- Collect custom input options
- Populate a queue of URIs from the given resultSequence
- Entry point
- Main method for testing
- Initialize XCC connection strings
- Returns the next line
- Opens the loader
- Opens the XML file
- Returns the next content
- Initialize the decrypter
- Initialize options
- Log options
- Get the SSLContext for this keystore
- Initialize the private key
- Handle the http request
- Parse an XPath expression into a regex
- Handle a request
- Called after an execute method
- Removes the item at the given index
- Entry point for execution
corb2 Key Features
corb2 Examples and Code Snippets
Community Discussions
Trending Discussions on corb2
QUESTION
Like mlcp, I dont see any compatibility comments related to corb2 with latest MarkLogic versions. Is CoRB2 compatible with all ML versions? If not, is there a location I can refer to? I know I can test it out, but it is better to check documentation as I might miss some tests.
...ANSWER
Answered 2020-Oct-16 at 19:07CoRB2 should be compatible with all currently supported versions of MarkLogic.
Unlike MLCP, CoRB is a community driven open source effort and not an officially supported MarkLogic offering, so I would not expect to find compatibility information about CoRB versions in the MarkLogic documentation.
If there were to be a compatibility issue, it would likely be if there were a breaking change to the XCC library used to communicate with MarkLogic. Since the XCC library is a MarkLogic supported offering, you can expect that any breaking changes will be noted in the MarkLogic release notes. For instance:
CoRB is built and tested with the latest available XCC and MarkLogic versions. If there were to be a breaking change, it would be noted in the CoRB README.
QUESTION
I'm using ml-gradle with corb2 2.4.5 and Marklogic 9.0.5.
I'm trying to pass a parameter to corb when running the gradle task. I've passed the parameter in at
-DURIS-MODULE.id="sf"
In my xquery module, I have
declare variable $id as xs:string external;
The corb process runs, but it doesn't set the id variable. What do I need to change to make this work?
...ANSWER
Answered 2020-Mar-12 at 13:28All system properties should be set and passed to your CoRB job when executing the ml-gradle CoRB task.
I suspect that you might be running an old version of ml-gradle, or there may be something else that is off in your job.
I have verified that I can pass in an external URIS-MODULE variable to this simplified job by executing the following command:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install corb2
You can use corb2 like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the corb2 component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page