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

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Custom module not being search indexedCustom module not being search indexed
Previous
 
Next
New Post
5/21/2009 7:20 AM
 

Besides, I would suggest to strip HTML codes from the text before passing it to the search indexer.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
5/21/2009 10:08 AM
 

OK, well here's my latest function. I have even hard-coded some values out of testing frusteration.

       Public Function GetSearchItems(ByVal ModInfo As Entities.Modules.ModuleInfo) As DotNetNuke.Services.Search.SearchItemInfoCollection Implements DotNetNuke.Entities.Modules.ISearchable.GetSearchItems

            Dim SearchItemCollection As New SearchItemInfoCollection
            Dim colRidess As ArrayList = GetRides()
            Dim objRides As RidesInfo

            For Each objRides In colRidess

                Dim SearchItem As New SearchItemInfo
                SearchItem.Author = 1
                SearchItem.PubDate = Now
                SearchItem.ModuleId = ModInfo.ModuleID
                SearchItem.Title = ModInfo.ModuleTitle
                SearchItem.Description = "some description moo yup"
                SearchItem.Content = "moo hmm moo"
                SearchItem.SearchKey = "Ride_" & objRides.RideID
                SearchItem.GUID = System.Web.HttpUtility.HtmlDecode("Mid=" & ModInfo.ModuleID.ToString & "&RideID=" & objRides.RideID & "&ctl=View")
                SearchItem.ImageFileId = -1

                SearchItemCollection.Add(SearchItem)
            Next

            Return SearchItemCollection

        End Function

 

And here's the output from the test script (I only have 1 searchItem at the moment):

1 results found.

Title: Rides
GUID: Mid=413&RideID=3&ctl=View
Date: Thursday, May 21, 2009
Description: some description moo yup
Content: moo hmm moo

I see the entry for the searchItem in the SearchItem table, but the word "moo" is still not searchable.

Any more advice? Thanks for the input so far!

 
New Post
5/21/2009 11:00 AM
 

what is the minimum length of words to be indexed in Host :: search indexer?

please remove the moduleid and ctl specification from GUID


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
5/21/2009 11:34 AM
 

Sebastian Leupold wrote

what is the minimum length of words to be indexed in Host :: search indexer?

Not sure, is there an easy way to tell? I haven't adjusted the default settings.

Sebastian Leupold wrote

please remove the moduleid and ctl specification from GUID

Will do.

 
New Post
5/22/2009 12:01 PM
 

I removed the mid and ctl from the guid. I also made the content property much longer, but the words are still not being index.

I really have no other ideas. If someone out there is a professional DNN consultant, I am willing to pay for your time to help.

 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Custom module not being search indexedCustom module not being search indexed


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