Quantcast
Channel: SharePoint 2010 - Search forum
Viewing all articles
Browse latest Browse all 1578

Using FQL to Create a Scope for a Document Library

$
0
0

Hello,

I've a requirement to create a "Search Core Results" web part & "Refinement Panel" web part that has a scope of one Document Library. The business will then be able to search and filter this library using these web parts on a page in a different site than the library itself.

  1. I've created a "Content Source" using a "web address" as the folder of the Document Library; I've set the crawl settings to limit to 3 pages deep. I've run a full crawl on the content source.
  2. I've created a Search Scope, using the "property query" and setting it to be the Content Source.
  3. I've created my web parts & added my scope's name to the "Search Core Results" web part.

However, nothing is displayed. 

I've thought to use a FQL-based scope, using this:

filter(content-class:STS_List_DocumentLibrary)

But I'm unsure how to move forward with this: how do you limit it to just one Document Library?

I'm asking if someone could assess this approach, or comment on how to define the FQL statement.

Thank you!

Joe


Joe


Viewing all articles
Browse latest Browse all 1578

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>