Hi Meropi,

I recommend first learning more about the basics of searching, that will help 
to understand what searching is all about, and make it easier to understand all 
configuration options of lib-search. Michael Blakeley has written a short 
tutorial that contains snippets of example code that you should be able to 
execute using CQ. I understand you have that up and running? The tutorial can 
be found here:

http://developer.marklogic.com/howto/tutorials/2006-09-paginated-search.xqy

I recall that there were some typos in the snippets, but you may consider those 
for you to find as an exercise.. ;-)


I do have to agree that the installation steps make no sense. They might be 
based on an older version of MarkLogic Server, something like 3.2. I guess you 
are better off creating a HTTP server (using the MarkLogic Admin site of your 
MarkLogic host), setting the root of that server to the full path of your 
lib-search project folder, and setting Modules to (file-system). Then, don't 
use CQ, but put the example code in a test.xqy that you call through http.

You can also just drop the lib-search file in the CQ folder, and run them using 
CQ, but then you have a cluttered CQ..

Kind regards,
Geert

>


Drs. G.P.H. Josten
Consultant


http://www.daidalos.nl/
Daidalos BV
Source of Innovation
Hoekeindsehof 1-4
2665 JZ Bleiswijk
Tel.: +31 (0) 10 850 1200
Fax: +31 (0) 10 850 1199
http://www.daidalos.nl/
KvK 27164984
De informatie - verzonden in of met dit emailbericht - is afkomstig van 
Daidalos BV en is uitsluitend bestemd voor de geadresseerde. Indien u dit 
bericht onbedoeld hebt ontvangen, verzoeken wij u het te verwijderen. Aan dit 
bericht kunnen geen rechten worden ontleend.


> From: [email protected]
> [mailto:[email protected]] On Behalf Of
> Meropi Petraki
> Sent: woensdag 20 mei 2009 12:10
> To: [email protected]
> Subject: [MarkLogic Dev General] start using lib-search
>
> Hi,
>
>
>
> Sorry for the following question but I'm new to MarkLogic and
> have some difficulties with some basic stuff you mention in
> the lib-search.
>
> In the Get-started section some steps are mentioned, where
> some clarrification could help:
>
>
>
> Step 1: Create a project folder. Where should I create the
> project folder? Inside the installation directory of
> MarkLogic? Or anywhere on my computer?
>
>
>
> Step 3: Createn an XDMP site. What is an XDMP site? I know
> that xdmp is a namespace prefix that is used for invoking
> some build - in functions. But how I create a XDMP site? And
> how do I point to a project folder and to the database I want.
>
>
>
> Step 4: Fire up CQ. The CQ is the known Content Query
> Application I installed to start working with my uploaded
> data? If yes then its until there Okay. But how I point to
> the XDMP site using CQ?
>
>
>
> I suggest that understanding these 3 steps will make it
> easier to understand to make step 4 and step 5.
>
>
>
> Thank you.
>
>
>
> With Regards,
>
> Meropi
>
>

_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general

Reply via email to