Microsoft Search Server 2008: binding results to ASP.NET controls and/or data structures

K

Ken Fine

I have set up Microsoft Search Server 2008 Express.

I want to know how I can query against it and return results in a form that
can be bound to ASP.NET controls like ListViews. If there's simply a way to
return results as an ArrayList or other data structure I can figure out the
rest of this problem myself.

What I don't want:
* I don't want to deal with XSLT
* I don't want to work with prebuilt controls from SharePoint or somesuch. I
want to create fairly customized presentations and behaviors.

I have looked at this:
http://www.codeplex.com/sctsc

It does not seem to be what I want -- at least in the examples it is relying
on XSLT, and the control exposes XSLT-related properties. I just want the
data that's being returned from Search Server to be accessible in some
standard structured form.

Any other examples or articles I should be looking at?

Thanks,
-KF
 
S

Steven Cheng [MSFT]

Hi KF,

Based on my research, the search server's search is still depend on the
sharepoint search.asmx webservice. Therefore, this is the main entry point
of client programmability. I've had a look at the search control you
refered, yes, it seems it directly query the webservice and process the
result as plain xml so that you can apply XSLT to produce the output html.

I've also found the following reference, it call the webservice via
standard .net webservice proxy and return the result as a dataset. The
dataset is able to be bound to ASP.NET DataSource control or directly to
databound controls.

#Creating Search Queries Programmatically by Using the Search Web Service
in SharePoint Server 2007
http://msdn.microsoft.com/en-us/library/bb625950.aspx

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead


Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
(e-mail address removed).

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.


--------------------
From: "Ken Fine" <[email protected]>
Subject: Microsoft Search Server 2008: binding results to ASP.NET controls and/or data structures
Date: Mon, 7 Jul 2008 13:28:47 -0700
I have set up Microsoft Search Server 2008 Express.

I want to know how I can query against it and return results in a form that
can be bound to ASP.NET controls like ListViews. If there's simply a way to
return results as an ArrayList or other data structure I can figure out the
rest of this problem myself.

What I don't want:
* I don't want to deal with XSLT
* I don't want to work with prebuilt controls from SharePoint or somesuch.
I
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,228
Members
46,818
Latest member
SapanaCarpetStudio

Latest Threads

Top