Skip to content

[document-conversion] Adds index document API #277

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 7, 2016

Conversation

samir-patel
Copy link
Contributor

@samir-patel samir-patel commented Jul 5, 2016

Summary

This submission includes new API call for the Document Conversion Service that will allow you to access the index_document endpoint:

DocumentConversion.prototype.index

This is a synchronous call that will allow you to convert and index a document into a SOLR collection (via the Retrieve and Rank service) in one operation. A "dry run" of the indexing can be submitted to preview the indexed results prior to actual indexing.

This commit adds the index_document API for the document
conversion service.
@CLAassistant
Copy link

CLAassistant commented Jul 5, 2016

CLA assistant check
All committers have signed the CLA.

@germanattanasio
Copy link
Contributor

@nfriedly do we get lint to check that the jsdoc is valid ?

@germanattanasio
Copy link
Contributor

This looks OK for me

@nfriedly
Copy link
Contributor

nfriedly commented Jul 5, 2016

@germanattanasio we have the ESLlint rule disabled but we do run the doc build on travis as part of the tests and it looks like this one passed

@germanattanasio germanattanasio merged commit b80620b into watson-developer-cloud:master Jul 7, 2016
@nfriedly
Copy link
Contributor

nfriedly commented Jul 8, 2016

Hey @samir-patel, sorry it took me a couple of days to get to this; do you think you can add a basic "happy case" unit test?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants