These are the steps to install and configure the MarkLogic 4.2 Server. I’ve had to opt for reduced size images but you may click on them to see their full content in a readable size and format.
- After completing the installation, you need to open Services and start the MarkLogic Service.
- Once the service is started, you can navigate to the following URL and
- Click the Forests element in the Configure tree, and then the click the Create tab. You’ll see the following screen. Enter
Deliveryin the forest name field and click the ok button.
- After you click the ok button in the prior step, you’ll see the following screen. It contains three new tabs: Configure, Status, and Backup/Restore.
- Click the Database element in the Configure tree, and then the click the Create tab. You’ll see the following screen. You would enter
Deliveryin the database name field, but it won’t exist until after Step #7. You need to skip it here and make any other necessary changes consistent with the table below, and click the ok button. After Step #7, return and complete the
Deliveryas the database name field.
|fast phrase searches||true|
|fast reverse searches||false|
|fast case sensitive searches||true|
|fast diacritic sensitive searches||true|
|fast element word searches||true|
|element word positions||false|
|fast element phrase searches||true|
|element value positions||false|
|attribute value positions||false|
|three character searches||true|
|three character word positions||true|
|fast element character searches||false|
|trailing wildcard searches||false|
|trailing wildcard word positions||false|
|fast element trailing wildcard searches||false|
|two character searches||false|
|one character searches||false|
|maintain last modified||true|
|maintain directory last modified||false|
|in memory limit||65536|
|in memory list size||128|
|in memory tree size||32|
|in memory range index size||4|
|in memory reverse index size||4|
|preload mapped data||true|
|range index optimize||facet-time|
|position list max size||256|
- After you click the ok button in the prior step, you’ll see the following screen. It contains three new tabs: Configure, Status, Backup/Restore and Load.
- Click the Databases element, inside of that list click on the Delivery database element, and then click the Forest element. In the Configure tab, verify that the attached checkbox is enabled for the Delivery database. After this step, you should revisit Step #5 and choose
Deliveryin the database name field.
- Click the Forests element in the Configure tree. In the Summary tab, you should see that you have of that list click on the Delivery database assigned to the Delivery forest, as shown below.
- Click the Groups element in the Configure tree. Click the App Servers element. In the right-side panel, click the Create HTTP panel if you’ve created a working directory for your HTTP Server root directory and proceed to Step #10. If you’ve not created a root directory for your HTTP Server, do Step #9 before Step #10.
- Open the Windows Explorer and create a new root directory under the
C:\MarkLogicdirectory. You may want to use
C:\MarkLogic\XQueryas the root directory, which you configure in the next step.
- After working through the Create HTTP tab, click the Create HTTP button. After clicking the Create HTTP tab, you need to change five of the settings. This creates a testing environment on your file system.
After you’ve created the first HTTP server, you need to create another where you can run modules stored in the database against data in the database.
- After changing the five settings, you click the OK button.You should see the following configure screen.
- Click the Create WebDAV tab. Enter port 8901 and select the Delivery database from the drop down box, as shown below in the screen shot. You also must check/change several other parameters that are listed in the table below the screen shot. This WebDAV lets you test your code positioned in the file system against the data in the Delivery database.
|default user||admin (admin)|
After you’ve created the first WebDAV server, you need to create another where you can point toward your stored modules. They’re stored in the pre-configured Modules database.
|default user||admin (admin)|
After you’ve created the first two WebDAV servers, you need to create another where you can point toward your stored schemas. They’re stored in the pre-configured Schema database.
|default user||admin (admin)|
- When you’ve made all changes, click the OK button. You should see the following WebDAV dialog box.
- At this point, you need to configure a shared network drive. Open Windows Exporer, and click on the
C:\drive. You should see a screen like the one below in Windows 7. In the options bar, at the top of the window, click the Map network drive option.
- As shown below, you should see the first screen of the Add Network Location Wizard. Click the Next button to begin creating the network location.
- Click the Choose a custom network location option, and then click the Next button in the following screen shot.
- Enter in the Internet or network address: field the URL
http://localhost:8901, as shown in the screen shot below. Then, click the Next button.
adminin both the User naem and Password fields, and check the Remember my credentials check box. If you fail to check the check box you’ll have problems working with the mapped network drive because it must authenticate against the MarkLogic WebDAV running on Port 8901.
- If it looks like the following, click the OK button when you’ve done those three things.
- The next dialog has a default value entered for your new network location. Replace the value in the Type a name for this network location: text box with
- When you have the following network location value of
local-delivery, click the Next button.
- The following is the last screen of the wizard. You confirm that you’ve set the new network location to a value of
local-delivery. If your screen looks like the following, click the Finish button.
- You confirm the network mapping by opening Windows Explorer. You should see the
Local Disk (C:)followed by
local-deliverynetwork mapping. It should look like the following screen shot.
You’ve completed the configuration of the MarkLogic Server. When you drag content into the WebDAV network, MarkLogic will index it. You can also query and interact with it through MarkLogic’s CQ web-based interactive client tool or through your own API. Next, you’ll want to configure the CQ client development tool.