You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-user@jakarta.apache.org by Stefan Burkard <ne...@burknet.ch> on 2004/08/26 15:26:02 UTC

best way to implement searching

hello slide-users

i'm using slide as a document-repository - 'til now i implemented a 
small java-app to import and manage documents in the repository. i've 
done this with the webdav-client-api of slide and this works fine.

second part is to provide a search-engine on a website (runs on the same 
box).

1. visitors enter a search term in a html-form
2. get a list of all matching documents in the repository (the search 
term has to match in one of about three fields of metadata)
3. a click on a document-link downloads the file out of the repository

what's the best way to do something like this? should i use a 
http-client and searchmethod? or is it easier to use the slide-api 
serverside? i even see there is something named "projector" that 
provides web-access to the repository?

thanks and greetings
stefan


---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org


Re: best way to implement searching

Posted by Juan Andrés Bentancour <ja...@argentina.com>.
http-client and searchmethod it is the easiest way,  you only need to create
an XML query (DASL www.webdav.org/dasl) and send it to Slide. But I had many
problems when trying to search for Date or Integer metadata values.

Regards,

 ----- Original Message ----- 
From: "Stefan Burkard" <ne...@burknet.ch>
To: <sl...@jakarta.apache.org>
Sent: Thursday, August 26, 2004 10:26 AM
Subject: best way to implement searching


> hello slide-users
>
> i'm using slide as a document-repository - 'til now i implemented a
> small java-app to import and manage documents in the repository. i've
> done this with the webdav-client-api of slide and this works fine.
>
> second part is to provide a search-engine on a website (runs on the same
> box).
>
> 1. visitors enter a search term in a html-form
> 2. get a list of all matching documents in the repository (the search
> term has to match in one of about three fields of metadata)
> 3. a click on a document-link downloads the file out of the repository
>
> what's the best way to do something like this? should i use a
> http-client and searchmethod? or is it easier to use the slide-api
> serverside? i even see there is something named "projector" that
> provides web-access to the repository?
>
> thanks and greetings
> stefan
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: slide-user-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org