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...Building ExtensionsBuilding ExtensionsModulesModulesMaking a module searchableMaking a module searchable
Previous
 
Next
New Post
6/7/2012 11:03 AM
 

Hello,

I am using a 3rd party module isn't searchable, at least not in the way I would like.

The module simply displays content on a page formatted via a template and editable via a form.
So far so good.

The problem is with making the data on the page searchable.
Firstly, could anyone tell me why the information on the page for this module isn't indexed?
I thought the indexer would just run through the pages one by one and grab their content and index it.
But that isn't happening, on a given page the html module for example has it's data indexed but the 3rd party modules data isn't.

Is it possible to do anything to force the content displayed by the 3rd party module to be indexed?

The data for the module is held in a database table (which i defined), the primary key of which identifies the page for which the data is to be displayed. i.e. for a primary key value of 1, the page name would be something like 'mypage1.aspx'. I don't know if this helps.

I would be really grateful to hear from anyone who can shed light on this.

Steve

 
New Post
6/8/2012 12:15 PM
 

Hello,

I think my only option to index my pages for search is to update the relevant search tables in the database.

My pages comprise DNN modules (which are searchable) and 3rd party modules which are not.
I have the data for the 3rd party module in database tables which I have created which includes things like the module id.

Is there a tool that would allow me to update the dnn search tables with the data from my tables?

Otherwise does anyone know of any information that would explain how to use the DNN API to do this?
Or even something that would explain how to update the 6 tables in the database which contain the search data.

If about this request is unclear or if anyone needs any further information, please let me know.

Steve

 
New Post
6/9/2012 7:20 AM
 

Hello,

modules have to implement the ISearchable interface to let DotNetNuke know that they have indexable content (http://www.dotnetnuke.com/Resources/W...) , otherwise DotNetNuke would not know what data should be indexed or what user(s) can see - by using ISearchable a developer can ensure they dont expose private data (such as settings) and DotNetNuke can filter based on the user/security role.

 


Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
6/9/2012 10:04 AM
 
Hi Cathal,

Many thanks for your reply.

I know that's the normal scenario, but in this case I don't have a choice.

But it seems this product might be able to do what I want:
http://store.dotnetnuke.com/home/product-details/search-boost-26---document-search--fuzzy-search--web-spider--templates-and-more

It says:
"Index modules that are not otherwise searchable

ISearchable is the interface required by DotNetNuke in order to be able to index content. There are modules out there that don't implement this interface, so they can't be searched.

SearchBoost fixes this by allowing you to define rules for indexing tables in the database that are behind that module."

There is just the question of moduleid which I'm storing in a field in my table to identify which record belongs to which module, I need to check with dnn sharp that use the moduleid within the search.

Steve
 
Previous
 
Next
HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesMaking a module searchableMaking a module searchable


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