Database searching

Posted by Community Admin on 03-Aug-2018 21:28

Database searching

All Replies

Posted by Community Admin on 01-Apr-2011 00:00

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?

Thanks,
Bryan

Posted by Community Admin on 04-Apr-2011 00:00

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


This thread is closed