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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Why the core DNN Search provider re-index process stops in the middle of nowhere ?Why the core DNN Search provider re-index process stops in the middle of nowhere ?
Previous
 
Next
New Post
11/19/2009 11:13 AM
 

Hi everyone

I'm resigned to post my problem here cause I'm a bit disappointed by the domain I'm dealing with. I will describe you the problem, which occurs on a recent powerfull DNN-dedicated webserver.

My website is not so huge, it has 230 pages, 4000 articles managed with NewsArticles, a few custom modules which produces something like 3000 other item to index. I'm using the default Dnn Search provider.

A few days ago I remarked that most of the scheduled re-index jobs were still running from Dnn point-of-view (their duration were still growing even after app_restart). I decided so to have a look, and stopped them mannually from the DB. I disabled the scheduled task, and emptied the index tables with a simple DELETE script. Then I went to the Host > Search tab, defined the max-word-lenght to 35, min-word-lenght to 6, without indexing the common words, and without indexing the numbers, then click on re-index the website.

In the same time, I've setup a few line of SQL script in order to see what's happening SQL side.

SELECT COUNT(*) as TotalIndexedItems FROM [dbo].[SearchItem]
SELECT COUNT(*) as IndexItemsWithoutArticles FROM [dbo].[SearchItem] WHERE [Guid] NOT LIKe '%article%'
SELECT COUNT(*) as IndexedArticles FROM [dbo].[SearchItem] WHERE [Guid] LIKe '%article%'
SELECT COUNT(*) as TotalArticles FROM [dbo].[DnnForge_NewsArticles_Article] WHERE IsApproved = 1 and IsDraft = 0
SELECT COUNT(*) as ItemWords FROM [dbo].[SearchItemWord]
SELECT COUNT(*) as ItemWordsPosition FROM [dbo].[SearchItemWordPosition]
SELECT COUNT(*) as Words FROM [dbo].[SearchWord]

The re-indexing task never finished from the web brower point of view, but ended after a few second SQL side (between 2 and 4 minutes).
I runned it several times, and it stops randomly while inserting the items to index or inserting the words to index, in the middle of the articles indexation.

I first thought that it could be related to NewsArticles ISearchable interface, but it's not, as GetsearchItems end successfully from the dnn library side when I am in debug on dnn library.

By the way, while in debug on the DNN library, the re-index task launched from Hosts ends-up successfully. The scheduled task ends successfully too. (15000 indexed items, 30967 words, 182926 ItemWords and 450000 itemWordPos.)

Why when I am in release (whatever the DLLs are debug or release compiled), why the re-index task stops in nowhere ?

Any help would be much appreciated, I'm running out of arguments.

Cheers,

S.F.

 

 


The French Language pack for fr-FR is available at www.dnn-fr.org
 
New Post
11/19/2009 11:56 AM
 

there is a significant issue in search indexer of DNN 5.1, adding unnecessary duplicates into SearchItemWordPosition table, which has bee fixed for DNN 5.2

Either disable search index or reduce frequency and clear search tables using a  nightly scheduled task.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
11/23/2009 5:55 AM
 

Thank you for your answer Sebastian. Is there is a way to correct the search indexer without waiting for 5.2 ? Do you know when the 5.2 should be released ? :)

Cheers,

Sébastien


The French Language pack for fr-FR is available at www.dnn-fr.org
 
New Post
11/23/2009 6:20 AM
 

According to the blog from Mitchel Sellers, DNN 5.2.0 should have been released last week, but I see till some issues being fixed.

Placing an appropriate unique key on the SearchItemWordPosition should at least reduce the growth of the table.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
11/26/2009 9:28 AM
 

5.2.0 does'nt solve my case, the indexing job never finish client side and stop after a few seconds sql side (not all my articles are inserted in Indexed-Items, and the indexing job stop in the middle of the article list).

Cheers,

S.F.


The French Language pack for fr-FR is available at www.dnn-fr.org
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Why the core DNN Search provider re-index process stops in the middle of nowhere ?Why the core DNN Search provider re-index process stops in the middle of nowhere ?


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