...
Shows the summary of node count for each category, type and formath
2.2
...
Shows node count at each level of the docstore for each category, type and format
...
Ingest
Allows storing of documents in the document store. The input should be a Request XML with a standard schema and returns the Response XML with a list of ingested UUIDs.
2.
...
2.1 Sending the request
URL: http://localhost:9080/oledocstore/document
...
stringContent=<request.xml as described in the next section>
2.
...
2.2 Request XML
Information about the ingest operation to be performed.
No Format |
---|
<request> <user>ole-khuntley</user> <operation>batchIngest</operation> <requestDocuments> <ingestDocument id="1" category="work" type="bibliographic" format="marc"> <content> See section "Sample Input XML for Ingest". </content> </ingestDocument> </requestDocuments> </request> |
2.
...
2.3 Receiving the response
HttpResponse should be read and interpreted as given in the next section below.
2.
...
2.4 Response XML
Information about the response from the service for the given request
...
Each document that is ingested will be given a UUID as specified in the response.
2.
...
User can get a sample of UUIDs of documents of any category, type, format.
already ingested.
It is useful mainly for demo purposes.
...
3 Check-in
Check-in functionality allows to modify the content and metadata (additional attributes) of a document identified by its UUID (Universally Unique Identifier).
2.
...
3.1 Sending the request
URL: http://localhost:9080/oledocstore/document
...
stringContent=<request.xml as described in the next section>
2.
...
3.2 Request XML
Information about the check in operation to be performed
No Format |
---|
<request> <user>ole-khuntley</user> <operation>checkIn</operation> <requestDocuments> <ingestDocument id="5325d77a-8221-4fda-a78f-6d2f96e0b059" category="work" type="bibliographic" format="marc"> <content> See section "Sample Input XML for Check in". </content> </ingestDocument> </requestDocuments> </request> |
2.
...
3.3 Receiving the response
HttpResponse should be read and interpreted as given in the next section below.
2.
...
3.4 Response XML
Information about the response from the service for the given request
No Format |
---|
<?xml version="1.0" encoding="UTF-8"?> <OLEDocstore-call> <request> <command>Check-in</command> <params/> </request> <response> <status>Success</status> <message>Successfully checked in </message> </response> </OLEDocstore-call> |
2.
...
4 Check-out
This operation retrieves the content of a document given its UUID.
2.
...
4.1 Sending the request
URL: http://localhost:9080/oledocstore/document
...
uuid=<uuid of the document to be retrieved>
2.
...
4.2 Receiving the response
HttpResponse should be read and interpreted as given in the next section below.
2.
...
4.3 Response XML
Content of the document with the given UUID.
2.
...
5 Delete
Deletes a record from DocumentStore based on the given UUID.
2.
...
5.1 Sending the request
URL: http://localhost:9080/oledocstore/document
...
requestContent=<request.xml as described in the next section>
2.
...
5.2 Request XML
Information about the delete operation to be performed. The "Id" attribute of <ingestDocument> should be a valid UUID of a previously ingested document.
No Format |
---|
<request> <user>ole-khuntley</user> <operation>delete</operation> <requestDocuments> <ingestDocument id="715e92f0-b3ab-4263-96d9-58183a23e6d5"><linkedIngestDocuments></linkedIngestDocuments></ingestDocument> </requestDocuments> </request> |
2.
...
5.3 Receiving the response
HttpResponse should be read and interpreted as given in the next section below.
2.
...
5.4 Response XML
Information about the response from the service for the given request.
No Format |
---|
<response> <documents> <document id="715e92f0-b3ab-4263-96d9-58183a23e6d5"></document> </documents> <user>ole-khuntley</user> <operation>delete</operation> <status>Success</status> </response> |
2.
...
6 Bulk Ingest (Admin function)
Bulk ingest process is used for loading the docstore repository with large amounts of document information.
...
Note the count for each DocType.
2.
...
7 Rebuild indexes (Admin function)
Sometimes the indexed data in Docstore may get corrupted. Or the data may need to be reindexed due to changes in indexing criteria and search/sort/facet rules.
...
Note the count for each DocType and verify with DocStore count.
2.
...
8 Ingest Binary data (BagIt Requests)
When the document content is of (non-text or binary) format PDF, DOC etc, (as in the case of License Agreement documents) it is difficult to send it to docstore through a web page.
...