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 ...Search not indexing all portalsSearch not indexing all portals
Previous
 
Next
New Post
3/11/2012 5:49 PM
 

Hi

I've been running 6.1.0 for a few months and have upgraded to 6.1.4 today to see whether it would resolve a problem that I've been experiencing.

I noticed that the What's New module was not returning the latest results, looking at the code, I realised this was connected with Search Results. Having tested Search, it became clear that no new items were being added to the index, however the scheduler appeared to be running. 

I therefore cleared the SearchIndex data tables as detailed on http://www.deutschnetnuke.de/AboutDotnetNuke/V3V4TippsTricks/Suchindexlöschen.aspx. This certainly cleared the indexes and kicking off a reindex has only caused 13 rows in the SearchItem table which would appear to come from 1 of the 2 portals (websites) that DNN is hosting. The portal it is indexing is the second of the two portals and I use it for training purposes to allow content editors to learn how to update pages etc.

Can anyone advise why it's missing or skipping the main portal? 

I'm not sure whether it's connected by I notice that in the Host Dashboard under Portals only the training portal is shown in the list, however the Portals table does have two portals (ID 0 and 1) and the training portal is ID 1.

I'd be grateful for any suggestions.

Cheers

Kevin

 
New Post
3/13/2012 9:01 PM
 

I've discovered that the issue seems to be caused by Portal Localization. The second portal that was being indexed had two languages (cultures) both en-US and en-GB. The primary portal that was not being indexed was configured to only have a single language en-GB. Therefore when the SearchEngineScheduler runs it calls GetPortals which then appears to set the culturecode to en-US which appears to be hard coded. 

The following is an extract of PortalController.cs from the GetPortals function ...

string cultureCode = Localization.SystemLocale;

Which returns en-US

Adding en-US to the primary portal allows the re-indexing of the site. However currently I have two languages enabled (US and GB) which seems a little excessive considering there is little difference in language!

Is this a bug?

Kevin

 
New Post
3/13/2012 9:23 PM
 
Further to this, I have noticed that changing the default language to en-US seems to resolve the problem. If en-US is then disabled and the default language is set back to en-GB the indexing still operates correctly and the Portals list contains both portals. This would appear to have been an upgrade issue which did not create the default Localizations if en-US is not enabled.  

Kevin

 
New Post
3/20/2012 8:53 AM
 
Kevin, are you using built in "Content Localization" or a 3rd party solution?

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Search not indexing all portalsSearch not indexing all portals


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