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

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsBlogBlogDNNSearch with blogs - unexpected resultsDNNSearch with blogs - unexpected results
Previous
 
Next
New Post
1/15/2009 3:18 PM
 

My goal is to have the DNNSearch actually search the entire site which is primarily made up of:

 

Text/HTML Modules

Personal Blogs

Report Modules

Link Modules

 

Lets start with the blog problem.

 

There is a main blog, but nothing is ever written to it. All blog entries are written to personal blogs. I did this because I wanted a page on “x” and only wanted blog entries about “x” to appear.  The personal blog was the recommended way to go.

 

At some point in the past, I swear if I DNNsearched for a word in a personal blog, I would see it in the search results. When testing everything recently, that was no longer working. The entries had been out there plenty long enough for the scheduler to pick them up. The scheduler is on.

 

In looking at the Blog_Settings table, I noticed there were many entries where for tabs had “EnableDNNSearch” set to false. I set these entries to true. The good news is after doing this, I see all my personal blog entries in the results. The bad new is I see them multiple times. What is weird is that if I run the search one more time, I see one more result in the search results.

 

Example

Search result returns 3 entries

Run search again

Search result returns 4 entries

Run search again

Search result returns 5 entries

Click on a link in the search

Run search again

Search result returns 7 entries

 

When I leave those tabs with  “EnableDNNSearch” set to false, I only get a few rows in SearchWord, SearchItemWord, SearchItem and SearchItemWordPosition.

 

I have removed entries from the above tables several times and did the “Re-index content” several times. I also have the scheduler running ever two minutes until I get this figured out.

 

1) exactly does the search scheduler work in reference to populating SearchWord, SearchItemWord, SearchItem and SearchItemWordPosition?

 

2) Why would setting the “EnableDNNSearch” to true return such crazy results?

3) Why would setting the “EnableDNNSearch” to true return nothing?

 

4) the HTML pages are not picked up by search at all. How does one fix that?

 
New Post
1/15/2009 3:55 PM
 

Partially addressing a couple of your questions...

>> (3) Why would setting the “EnableDNNSearch” to true return nothing?

The returned search info will vary greatly module-by-module depending on what has been deliberately shared/exposed by the module creator via ISearchable (see this post:  http://www.adefwebserver.com/DotNetNukeHELP/ISearchable/).  Posted blog content is already exposed by isearchable (I don't know if blog comments are also included).
 

>> (4) the HTML pages are not picked up by search at all. How does one fix that?

Are you referring to content in a Text/HTML module?  A plain HTML page is outside of the scope of DNN Search. 

Regarding the Text/HTML module, my impression was that it already implements isearchable for any and all included content (and should therefore return results in DNN Search).  If you'd like to test a free alternative to the core Text/HTML module, take a look at this one:  http://www.iowacomputergurus.com/free-products/dotnetnuke-modules/dnn-expandable-text-html.aspx

 
Search Alternatives?
There are some good reasons to use DNN search (near-immediate indexing of added content, ability for module creators to expose "hidden" content to search, easy skin integration, etc).  If, however, you eventually decide to look at alternatives, check my post on adding free Google AJAX search with In-Page Results (I use this solution to handle searches for multiple blogs on the same site):  http://googleAJAXsearch.com 

 
-mamlin


esmamlin atxgeek.me
 
New Post
1/15/2009 4:06 PM
 

While I might consider using something else besides DNNSearch, I first need to figure out why it being flaky or discover how I am incorrectly using it.

Yes I am talking about the Text/HTML module. If both the Text/HTML module and blog contens are exposed to isearchable, why am I getting no results?

I do not believe it is anythign with the module and isearchable but how DNNsearch populates

SearchWord
SearchItemWord
SearchItem
SearchItemWordPosition
 

I either get too little data in these or a bunch of junk.

 
New Post
1/15/2009 7:03 PM
 

The answer is  - if one is goign to have the personal blogs, ther must be a page that has all blogs in it. Without this the search goes into complete disarray. I do not know why this is the case, but that is how it seems to work.

 
New Post
1/16/2009 3:06 AM
 

Hi David,

If you have multiple instances of the Blog module placed in different pages, make sure that only one of those instances have the "Enable DNN Search" serring checked. This is because the DNN search engine browses all the modules in the portal and indexes their content. Multiple instances of the same blog will look at the search engine as different modules, thus getting indexed separately. Once settings are corrected, make sure to erase the  search tables and re-index your content. Let me know if you need further help.

Best regards,
Dario Rossa

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsBlogBlogDNNSearch with blogs - unexpected resultsDNNSearch with blogs - unexpected results


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