Here's a question for you: Can the FixedQuery property only be enterprise
search keyword syntax, or can it contain an MSSQLFT query?

 

In MSSQLFT, you'd just use the CONTAINS() predicate.

 

I was digging around MSDN to see if I could find if you could use it with
the coreresultswebpart but couldn't find it - it's quite undocumented.

This might interest you at some stage though:

http://msdn.microsoft.com/en-us/library/ms561536.aspx

 

If you can't get around this issue, then you'll just need to write your own
web part which calls the Query web service, and constructs the MSSQLFT query
which houses your contains predicate.

TIP: You can copy the XSLT from the search web parts and apply them to your
query service results to format it the same.

 

HTH,

 

Matthew Cosier

 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Sharepoint Consultant
Sent: Tuesday, 28 October 2008 1:19 AM
To: [email protected]
Subject: [OzMOSS] Search Core Results Webpart Query

 

Hi,

 

I am using the Search Core Results Webpart. I have set a fixed query to
return all documents where column x = value y

 

However, I would like to return all documents where column x CONTAINS value
y

 

Does anyone know is this can be done?

 

Thanks heaps.

-------------------------------------------------------------------
OzMOSS.com - to unsubscribe from this list, send a message back to the list
with 'unsubscribe' as the subject.
Powered by mailenable.com 




------------------------------------------------------------------- OzMOSS.com 
- to unsubscribe from this list, send a message back to the list with 
'unsubscribe' as the subject.
Powered by mailenable.com

Reply via email to