Query a single shared document
Windows Server Forum Index Windows Server
Server discussion on Windows platform.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web winserverhelp.com
Query a single shared document

 
Post new topic   Reply to topic    Windows Server Forum Index -> Portal Server Development
Author Message
Ferdianp
Guest





Posted: Tue Jan 11, 2005 8:23 am    Post subject: Query a single shared document Reply with quote

Hi, is it possible to create an aspx page (outside of sps) to run a search
query against a specific shared documents list inside a wss site.
in other word, I want to limit the search scope in to a specific shared
document

thx
Back to top
Marco
Guest





Posted: Tue Jan 11, 2005 1:35 pm    Post subject: RE: Query a single shared document Reply with quote

There are two ways to do this(depending on your needs).

You can run a query against the SPS index using the Search webservice of
SPS. This will copy the search functionality in SPS.
As far as I know you can not specify a document library to search in as this
is not a property in the index.
You could create a custom property for the documents within the document
library that conatins the name of the library. This will then get indexed and
you can search for.

The other way is by going opening the list for the document library through
the splist object. You can the use SPQuery to search for items in the list.

The first option will give you more possibilities for searching as you can
define more fields to search on and fields that get returned.
The search hoevere does not always behave expected and can give more pain to
set up correct.

Marco

"Ferdianp" wrote:

Quote:
Hi, is it possible to create an aspx page (outside of sps) to run a search
query against a specific shared documents list inside a wss site.
in other word, I want to limit the search scope in to a specific shared
document

thx
Back to top
 
Post new topic   Reply to topic    Windows Server Forum Index -> Portal Server Development All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




New Topics Powered by phpBB