11MarkLogic Java API Examples
2- October 2013
2+ October 2014
33
44== Cookbook =============
55
@@ -8,16 +8,9 @@ for common tasks using the MarkLogic Java API.
88
99Before using the examples, perform the following actions:
1010
11- 1. Install MarkLogic 7 for your chosen platform.
11+ 1. Install MarkLogic 8 for your chosen platform.
1212
13- 2. Set up a new REST API instance for your database. You can use Information
14- Studio at:
15-
16- http://YOUR_HOST:8000/appservices/
17-
18- to create a new RESTful Server for a database.
19-
20- 3. Edit Example.properties to specify the connection parameters for the
13+ 2. Edit Example.properties to specify the connection parameters for the
2114REST API instance.
2215
2316 You must identify users for the rest-writer and rest-admin roles. To
@@ -27,9 +20,7 @@ REST API instance.
2720
2821 If you make the user name the same as the role name and set the
2922 password to "x" you will not need to modify those values in the
30- properties file. Change the example.port property to
31- the port number of the REST Server you created in step 2 of these
32- instructions.
23+ properties file.
3324
3425The examples illustrate the following common tasks:
3526
@@ -44,7 +35,6 @@ The examples illustrate the following common tasks:
4435* DocumentFormats work with binary, JSON, text, and XML documents
4536* DocumentOutputStream supply content while writing to the database
4637* JAXBDocument write and read a POJO using JAXB
47- * KeyValueSearch search for documents based on values
4838* QueryOptions configure search with saved options
4939* StringSearch search with string criteria and saved options
5040* StructuredSearch search with a criteria structure and saved
0 commit comments