DotNetNuke ® Portal and Module Development - www.schelian.com

 Search



Forum


 Forum update Minimize

Today: 09/12/2005 we have setup our new dedicated English forum.

From today on, please use this forum instead of the English forums on DNNPortal.DE.

I will lock the English forums on DNNPortal.DE.



 Forum Minimize
SearchForum Home
     
  DNNPortal-Download  Using the DNNPortal-Download  try in DNN 5, w...
 try in DNN 5, working fine, but not find in portal search
 
imgOfflinealek6
5 posts
Joined
12/15/2008

try in DNN 5, working fine, but not find in portal search
Posted: 10 Feb 09 5:54 AM (N/A)
I try module in DNN 5.0.0, is working very fine, but portal search not index file-name, and description. But module search work correct.
I need search in descriptions whith dnn site search, any idea to correct it ?
imgOfflineSchelianHP
118 posts
5th
Joined
12/3/2004





Re: try in DNN 5, working fine, but not find in portal search
Posted: 11 Feb 09 11:27 AM (Germany)
I will have a look for that problem after that I will post my results here in the forum.

regards
HP

Best regards
Hans-Peter Schelian
www.schelian.com (English)
www.schelian.de (Deutsch)
German DotNetNuke Community
imgOfflineSchelianHP
118 posts
5th
Joined
12/3/2004





Re: try in DNN 5, working fine, but not find in portal search
Posted: 12 Feb 09 9:53 AM (Germany)
I have done some test scenarios with DNNPortal-Download (4:00.05) and DotNetNuke (5.00.00)
I was not able to reproduce your problem.
I have no problems to use the portal wide search to find files in the download module.

Do you have further information how the problem is reproducible ?

regards
HP

Best regards
Hans-Peter Schelian
www.schelian.com (English)
www.schelian.de (Deutsch)
German DotNetNuke Community
imgOfflinealek6
5 posts
Joined
12/15/2008

Re: try in DNN 5, working fine, but not find in portal search
Posted: 13 Feb 09 4:24 AM (N/A)
Hello,

I think found exacly error ocour...

The procediment is:

1. Install module 4.00.05, ok
2. Create new page, edit perm to admins, and view to all users
3. insert module dnnportal-download, and name it
4. Upload a file fot testing, this is a .pdf
5. I put in title: filetesting testone
6. I write in description: descriptone fortestone
7.Set parameters of dates, check log, and no show email

8. I go to "host"-"Search admin"
(and the params are...
max long word: 50
min long word: 3
include common: not check
include numbers: checked)
And I press on "reindex content" icon

9. I try search (in site portal serach) the word: testone
and Yes ! found correctly
try search filetesting and found ok too.
try search descriptone and OK too.

But...

10. Return to page for testing module, and clik in pencil to edit file uploaded

11. In title, I adding testtwo. Result the new title is filetesting testone testtwo
and in description I adding some words, and new description is: descriptone descriptiontwo fortestone fortesttwo

12. I repeat step 8

13. I repeat step 9, and results are ok

14. But I try search words testtwo or descriptiontwo....

NOT FIND !
Search Results: Sorry, no results were found for testtwo

only find the original words when upload file, if edit the parameters title, and descriptions, new additions not indexed in host search admin

waiting for your response.
very thanks, and sorry for my very very bad english, I'm a catalan, near to spain.

regards
Alek




imgOfflineSchelianHP
118 posts
5th
Joined
12/3/2004





Re: try in DNN 5, working fine, but not find in portal search
Posted: 13 Feb 09 12:24 PM (Germany)
Alek,
Thank you for your detailed description.
Now I could reproduce the problem.

Here is the reason for this problem:
DotNetNuke compares, while indexing the value of the field last update with date field of the search table, and only if the value of this field is newer, the search is updated.

So far, so good, because DNNPortal Download did not update this field the search table is will not be updated.

The problem will be solved in the next official version.

If you could wait, I can either send you a new DLL file which fixes the problem, or you can even fix the error by adding the following code and recompile the module.

If you are an developer you can do this:
Open the file "DownloadEdit.ascx.cs" , search the line
"InputFile inputFile = new InputFile(PortalSettings, moduleSettings);"

and insert before this line:

downloadInfo.UpdatedDate = DateTime.Now; // Fixed Problem with DNN Search with updated Content

Save the file an recompile the module - that's it

regards
HP

BTW: Your English sounds perfect for me !


Best regards
Hans-Peter Schelian
www.schelian.com (English)
www.schelian.de (Deutsch)
German DotNetNuke Community
  DNNPortal-Download  Using the DNNPortal-Download  try in DNN 5, w...


Page generated in 0.1093729 seconds.