[MarkLogic Dev General] Marklogic libsearch

Mariano Grau Calín mgrau at grupojoly.com
Tue May 13 04:39:42 PDT 2008


Hello,

Tell me in which step you have problems (from document Getting started Guide.doc)

Get started with lib-search in 20 minutes or less
Step 1. Start a project folder (1 min)
Yep, just create a folder.
Step 2. Add lib-search (2 min)
Based on the version of MarkLogic that you will be using, drop the contents of the "release" directory for that version into your project folder.
Step 3. Create an XDMP site (5 min)
1.	Point it to your project folder
2.	Point it to any database you want to search in
Step 4. Fire up CQ (2 min)
Point it to your XDMP site.
Step 5. Test your installation (1 min)
Run this query in CQ:

import module namespace search="http://www.marklogic.com/ps/lib/lib-search" at "lib-search.xqy"
import module "http://www.marklogic.com/ps/lib/lib-search" at "lib-search-custom.xqy"
"Hello World"

Step 6. Perform your first search (1 min)
Run this query in CQ:

import module namespace search="http://www.marklogic.com/ps/lib/lib-search" at "lib-search.xqy"
import module "http://www.marklogic.com/ps/lib/lib-search" at "lib-search-custom.xqy"

search:search-summary(
<search:search-criteria>
<search:term><search:text>smith</search:text></search:term>
</search:search-criteria>
, 1, 5)

-----Mensaje original-----
De: general-bounces at developer.marklogic.com [mailto:general-bounces at developer.marklogic.com] En nombre de Vijayasekar Palaniswamy
Enviado el: martes, 13 de mayo de 2008 11:37
Para: General at developer.marklogic.com
Asunto: [MarkLogic Dev General] Marklogic libsearch

Hi,

Anyone is having any idea of how to configure LibSearch in Marklogic given in,

http://xqzone.marklogic.com/code/

I am not able to understand the things given in the documents.

-- 
Regards,

Vijayasekar. P
+919731187000 


More information about the General mailing list