More in this section

Forums / General Discussions / Custom Search provider...where to start?

Custom Search provider...where to start?

2 posts, 0 answered
  1. Paolo
    Paolo avatar
    147 posts
    Registered:
    11 Jun 2009
    31 Mar 2011
    Link to this post
    Hello,
    I need to implement my own search provider that looks inside PDF, I just know how to read using PDFBox/iTextSharp,
    what I'm not aware is how SF 4.0 Search provider works.... I've read this : http://www.sitefinity.com/blogs/ivan/posts/08-11-06/in_the_mean_time_series_part_4_bonus_track_-_products_module_-_implementing_search_index.aspx that's related to 3.7, I've got some question :

    1) when setting up a search index it asks me for a scope : news/content/blog ... what should I inherit in there to specify I just want to look @ libraries?
    2) need I to override
    • Index provider
    • Index settings control
    • Index view control
     as for 3.7?
    3) How do I create in SF a backend editor as you show with your components? in a small usercontrol I wrote I had to select the library, but put a string property where I separate the categories with a ','
    Thanks
    Paolo
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    04 Apr 2011
    Link to this post
    Hello Paolo,

    1.There will be a custom pipe ( in Sitefinity 4.0 there is a search pipe) with the Q1 release similar to the blog post you saw.

    2. You need a custom control designer

    http://www.sitefinity.com/4.0/documentation/how-to-create-a-widget/advanced/creating-the-c-sharp-custom-designer-class.aspx

    Using the control designer you need to pass the selected values to a property of the control. You can pass an array from the client, but you should serialize (deserialize ) the object before sending you to the server

    Kind regards,
    Ivan Dimitrov
    the Telerik team

2 posts, 0 answered