Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDevelopment and...Development and...DNN Platform (o...DNN Platform (o...Implementing module-specific search best practice?Implementing module-specific search best practice?
Previous
 
Next
New Post
2/21/2009 7:42 PM
 

Folks,

I need to implement a module-specific search function and I'm wondering what the DNN best practice is for this.  The application is a media library where users want to search for media based on keywords they provide.

My module will implement ISearchable, which will get its data into the site-wide search.  I'm wondering what DNN search facilities are available that will allow me to restrict the search results to the content I report over the ISearchable interface?  So far, I see 2 alternatives:

  1. Use whatever facilities DNN provides to help me.  So far, I haven't found any, but I'm assuming there must be a full text catalog somewhere for the DNN db.  Is there?
  2. Create my own full text catalog just for the tables I need.  Then I can use SQL to query the appropriate tables against my own full text catalog.  Is this the best practice?  It doesn't leverage DNN facilities at all, though.
  3. And I guess there is a 3rd alternative -- use Google.  But I haven't looked too deeply into this.  In this case, I would restrict Google results to my domain and tab ID (can I do this?  I know I can restrict to domain, but I would need to target specific pages that house my module), but if the admin moves the module around, the tab ID would not be fixed.  I'm assuming this would not be considered a DNN best practice, but it's worth throwing out there.

Which strategy best leverages the framework?  Or did I miss one altogether?

Thanks for your help!

AldenG

 
New Post
2/22/2009 4:10 AM
 
  1. Default DNN Search does not use SQL Server full text catalogues, but simple like search in searchword tables. AFAIR the search module does not allow to restrict search on a single module only. There are 3rd party modules (e.g. from InterApps) using full text catalogues instead.
  2. Most modules implement their own search, usually implemented as simple SQL like statements
  3. please be aware, that Google search will work for public content only - not intranets or modules visible to members only.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
2/22/2009 1:46 PM
 

Thanks Sebastian!  You know, for my module, a LIKE statement is probably sufficient.  Thanks for your response!

AldenG

 
Previous
 
Next
HomeHomeDevelopment and...Development and...DNN Platform (o...DNN Platform (o...Implementing module-specific search best practice?Implementing module-specific search best practice?


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out