Subject: Search Results Module
Prev Next
You are not authorized to post a reply.

AuthorMessages
hosting.managerUser is Offline
New Poster
New Poster
Posts:19

11/02/2009 3:04 PM  

Hi,

I added this module to the main portal and it works fine.  I have about 22 child portals under the main portal and it uses the search feature and it works fine also.  But I would like to know is it possible to search for things on a child portal if I am in the main portal.  For example if I am in the main portal and try to do a search for something that is in a child portal it does not find it but if I go to the child portal and search for the same thing it finds it.  Is this the only way this feature works.  If not can you tell me what I am doing wrong so I can correct this.

Thanks

Mitchel SellersUser is Offline
Site Admin/Owner
Guru
Guru
Posts:6089

11/02/2009 3:09 PM  
No, there is not a way with the default DNN Search system to query a different portal.

-Mitchel Sellers
Microsoft C# MVP, MCITP
Director of Development
IowaComputerGurus Inc.

View Mitchel Sellers's profile on LinkedIn

For shared hosting I recommend PowerDNN

This site is hosted on a Dedicated Server from PowerDNN.com

To get Guaranteed DNN Support check out our affordable DNN Technical Support Programs
Tony FordUser is Offline
New Poster
New Poster
Posts:2

01/20/2010 12:00 PM  
Mitch:
I have used your expertise in DNN quite a few times; thank you.

The issue I am having is that the Search Results still show a link to a file that has been deleted. I am currently running Ver 4.09.01 and I have the Search Engine Scheduler running. I read some information that Chris Hammond put out stating that sometimes you need to purge the Search Tables, which I did using the SQL statements he provided.

I then uploaded the document and did a search and a link to the file showed up in the Search Results. I then deleted the document from the site and fired off Search Engine Scheduler. I then did a search for a word in the document [both in the document and in the title] and it still showed up in the Search Results. I am currently in a testing phase with a deployment scheduled for tomorrow. Any suggestions?

Thanks a lot
T.
Mitchel SellersUser is Offline
Site Admin/Owner
Guru
Guru
Posts:6089

01/20/2010 12:15 PM  
Tony,

More than likely it is an issue with the DNN search function. Also, be sure to remember, after deleting the content, you must wait for the Search Indexer to run again, to see if it removes it. By default that is going to be at least 30 minutes after you delete the file.

-Mitchel Sellers
Microsoft C# MVP, MCITP
Director of Development
IowaComputerGurus Inc.

View Mitchel Sellers's profile on LinkedIn

For shared hosting I recommend PowerDNN

This site is hosted on a Dedicated Server from PowerDNN.com

To get Guaranteed DNN Support check out our affordable DNN Technical Support Programs
Tony FordUser is Offline
New Poster
New Poster
Posts:2

01/20/2010 12:49 PM  

Mitch:

Thanks for getting back to me so soon.

I reset my Search Indexer to run every 2 minutes because my development web site [local computer] has very limited data on it.  I guess I will have to take a look at the code.  After I uploaded my test file [I am searching on the word "test"], I ran a search [prior to Indexer firing off] and I only received one hit and that was from an Introductory Page which is what I expected.  I then waited until Indexer fired off again.  I searched for the word "test" and received two hits; which is what I expected.  I then deleted the link and deleted the file [via File Manager].  I did my search again, and received two hits; which is what I expected because Indexer had not fired again.  I waited for Indexer to fire off and I still received two hits; not what I expected.  From what I read, when Indexer fires off, it scans the pages and modules [that implement ISearchable, if I remember correctly] and is supposed to delete non-existent occurances of different words found during its "scan" [I also read the DNN Manual: DotNetNuke Search Engine].  It appears that the the code that runs the delete statements is not working correctly.

When I open the Search Engine Scheduler [edit], the Object Dependencies field only contains "SearchEngine", so I was wondering if this is the right object and/or should there be other objects listed?

Again, I appreciate any further guidance, suggestions, or "magic".

T.

Mitchel SellersUser is Offline
Site Admin/Owner
Guru
Guru
Posts:6089

01/26/2010 9:50 AM  
In my experience, the indexer doesn't handle deleted data very well, that it is really add/update. If you update content it will find it, but deletion I am able to re-create the behavior that you get.

If you delete content on a "regular" basis, a workaround could be a scheduled job to truncate the search tables. Not elegant, but it would work.

-Mitchel Sellers
Microsoft C# MVP, MCITP
Director of Development
IowaComputerGurus Inc.

View Mitchel Sellers's profile on LinkedIn

For shared hosting I recommend PowerDNN

This site is hosted on a Dedicated Server from PowerDNN.com

To get Guaranteed DNN Support check out our affordable DNN Technical Support Programs
You are not authorized to post a reply.
Forums >Development Discussion >DotNetNuke > Search Results Module



ActiveForums 3.7