O'Reilly logo

Professional DNN7: Open Source .NET CMS Platform by Ralph Williams, Jr., Scott Willhite, Erik van Ballegoij, Will Strohl, Dennis Shiao, Mitchel Sellers, Nathan Rover, Ashish Prasad, Clinton Bland, Chris Paterra, Charles Nurse, Israel Martinez, Peter Donker, Cathal Connolly, Bruce Chapman, Shaun Walker

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

images

Search

WHAT'S IN THIS CHAPTER?

  • Learning about Lucene
  • Discovering new features in search
  • Understanding search entities and APIs
  • Integrating with modules
  • Writing a new crawler

Search was built from the ground up in DNN 7.1. The main objective was to provide Google-type search capabilities in the DNN platform and the extensions that were built on top of that. Some of the key features of search were speed, relevance, and security.

HISTORY

The DNN Platform has had search functionality since the early versions. Search functionality was based on the ISearchable interface, where a scheduled task was present to periodically probe modules implementing this interface. The interface allowed the platform to extract information from modules and store it in a common store. Search storage happened to use SQL Server, which provided a good centralized location for storing and querying content. Although SQL Server provided decent search capabilities, it had many problems such as speed, accuracy, and result highlighting.

When the commercial editions were initially launched around DNN 5.x, they included the File Crawler and URL Crawler. These were also implemented as scheduled tasks. The File Crawler allowed indexing of Office and PDF documents. The URL Crawler was more like a typical web crawler and traversed from one link to another on the site, thereby parsing and indexing the content.

OBJECTIVES ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required