How to use contains
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > IIS server support > IIS Index Server > How to use contains




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    How to use contains  
Jeab


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-26-04 03:18 PM

Any one have sample how to write query to return result set like option
Advanced query of Indexing service Query Form in MMC.

When I try the following query,

- Select title from scope() where CONTAINS("abd and def")

the result return nothing, on the other hand, MMC return adb AND def result
set (document contain both abd and def) when I put "abd and def" in the
search box of Indexing service Query Form with advanced query option.



Thanks,

Jeab







[ Post a follow-up to this message ]



    Re: How to use contains  
Franck Quintana


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-30-04 01:45 AM

WHERE (CONTAINS(programname,'test'))







[ Post a follow-up to this message ]



    RE: How to use contains  
Mahender


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-12-04 10:56 PM


You need to enclose the words abd & def in single quotes like:

CONTAINS("'abd' and 'def'")

"Jeab" wrote:

> Any one have sample how to write query to return result set like option
> Advanced query of Indexing service Query Form in MMC.
>
> When I try the following query,
>
>     - Select title from scope() where CONTAINS("abd and def")
>
> the result return nothing, on the other hand, MMC return adb AND def resul
t
> set (document contain both abd and def) when I put "abd and def" in the
> search box of Indexing service Query Form with advanced query option.
>
>
>
> Thanks,
>
> Jeab
>
>
>





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 08:31 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register