Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I'm experimenting with Core Results Web Part.

According to http://msdn.microsoft.com/en-us/library/ff394509.aspx http://msdn.microsoft.com/en-us/library/ee872310.aspx

I should be able to write something like Url:*community* AND Url:*Lists/Members* to bring up results where Url contains community word in it as well as (and only if) also it has Lists/Members in it.

It doesn't work at all. I also tried just simply putting url:*community* and it still shows me random results where it can find both URL and community somewhere in the title, description etc.

What am I missing?

share|improve this question
    
In what way is the "community" term used within the url? Is it a managed path or a site name? –  Mike Oryszak Aug 4 '12 at 0:18
    
It is part of the Url. eg. http://mysharepoint.com/community/Lists/Members . I pretty much only want results where Url contains those two terms. –  Luke Aug 5 '12 at 21:13
add comment

1 Answer

up vote 0 down vote accepted

Use the following query:

path:community AND path:lists/members
share|improve this answer
    
Can you elaborate? Why not Url:? or any tutorials and documentation that I might find useful? –  Luke Aug 9 '12 at 20:25
    
My answer is mostly based on the prior experience working with KQL. Using the "path" managed property works with both SharePoint Server Search and FAST Search but the "url" managed property is not searchable by default in FS4SP. Wildcard operator "*" only works for prefix matching - using it in front of the search term produces the unexpected results you get. –  Vassili Altynikov Aug 10 '12 at 14:25
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.