More in this section

Forums / General Discussions / Create A Search Index for a Document Library

Create A Search Index for a Document Library

3 posts, 0 answered
  1. Tom
    Tom avatar
    24 posts
    10 May 2013
    29 Oct 2015
    Link to this post

    I see where I can create a search index to search my "documents"   But how can I have it index only one of my libraries within my documents?  

    I have several libraries filled with PDFs under the Documents & Files file type.   I want to create a search index of only one library, not ALL my documents.

  2. Laurent Poulain
    Laurent Poulain avatar
    17 posts
    31 May 2017
    03 Nov 2015
    Link to this post

    The search index do not have the granularity to specify a particular library. That said, you can create a custom search results widget to filter the desired results. See's-blog/2015/10/12/troubleshooting-lucene-search-issues (Customized Search) for further details.

    Laurent Poulain
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
  3. Madona
    Madona avatar
    0 posts
    13 Apr 2015
    27 Jan
    Link to this post

    My way didn't include overriding any widget, you can create search indexes for each doc lib you are willing to index (unique names for indexes). then override the DocumentInboundPipe and in the CanProcessItem method check what's the publish point name (this.PipeSettings.PublishingPoint.Name) and if it's equal to your search index name then only allow the documents that belong to the library you want to index.


    Let me know ifthat makes sense.

3 posts, 0 answered