More in this section

Forums / General Discussions / Database searching

Database searching

2 posts, 0 answered
  1. Bryan
    Bryan avatar
    1 posts
    01 Apr 2011
    01 Apr 2011
    Link to this post
    Is there any easy way in Sitefinity to have a search that will search not the site, but a specified database?

    For example, If I wanted my site to have a way to search through a database of hotels, based on different values like location, rating, etc., can I do that with Sitefinity?

  2. Victor Velev
    Victor Velev avatar
    1345 posts
    06 Jul 2015
    04 Apr 2011
    Link to this post
    Hi Bryan,

    We do not have a sample that shows how to create a custom index. The index is based on pipes, so you can check this post.

    You should create a custom pipe ( we will have an example with the Q1 release). You need to inherit from SitefinityContentPipe and override  ReadInboundData where you can get all items with a certain parent or get them from specific database tables ( ex. hotels, restaurants etc.)

    You can also check this article which might be very useful.

    All the best,
    Victor Velev
    the Telerik team

2 posts, 0 answered