Portal Engine Questions on portal engine and web parts.
Version 6.x > Portal Engine > Unable to access SmartSearch View modes: 
User avatar
Member
Member
beau.cowan-rrpartners - 8/6/2013 5:12:01 PM
   
Unable to access SmartSearch
We are getting ready to get our systems ready for an upgrade, and in the process, we found that our SmartSearch feature is breaking.

When trying to access the Smart Search through CMSSiteManager -> Administration, the frame just hangs, and tries to load forever. There is never an error message or anything, it just gets hung up in a loop or something.

When trying to do general searches on the site, that too hangs up. Now this is just on our production server, our staging and failover servers work fine.

We are currently using v6.0.23(SP1).
When looking through some of the error logs, there are a few messages that say a .fnm file is missing from the \App_Data\CMSModules\SmartSearch\SiteName\_3wg4.fnm

If anyone has a solution to where I can get back into the Smart Search to reindex the sites, that would be greatly appreciated.

User avatar
Kentico Customer Success
Kentico Customer Success
kentico_martind2 - 8/6/2013 5:45:13 PM
   
RE:Unable to access SmartSearch
Hello,

Could you please post the exact error message you are getting? It's pretty strange because I'm not aware about any '.fnm' used with our SmartSearch, our search indexes are using a different extension.

Which version of .NET are you actually running with this instance of Kentico?

Best Regards,
Martin danko

User avatar
Member
Member
beau.cowan-rrpartners - 8/6/2013 5:50:53 PM
   
RE:Unable to access SmartSearch
We are running .NET v4.0 for all of our Kentico instances.

This is the message that we are getting from the Dashboard:
Message: Could not find file 'C:\Web\Sites\SiteDirectory\App_Data\CMSModules\SmartSearch\SiteName\_3wg4.fnm'.
Stack Trace:
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at Lucene.Net.Store.FSIndexInput.Descriptor..ctor(FSIndexInput enclosingInstance, FileInfo file, FileAccess mode)
at Lucene.Net.Store.FSIndexInput..ctor(FileInfo path)
at Lucene.Net.Store.FSDirectory.OpenInput(String name)
at Lucene.Net.Index.FieldInfos..ctor(Directory d, String name)
at Lucene.Net.Index.SegmentReader.Initialize(SegmentInfo si)
at Lucene.Net.Index.SegmentReader.Get(Directory dir, SegmentInfo si, SegmentInfos sis, Boolean closeDir, Boolean ownDir)
at Lucene.Net.Index.SegmentReader.Get(SegmentInfo si)
at Lucene.Net.Index.IndexWriter.MergeSegments(SegmentInfos sourceSegments, Int32 minSegment, Int32 end)
at Lucene.Net.Index.IndexWriter.MaybeMergeSegments(Int32 startUpperBound)
at Lucene.Net.Index.IndexWriter.FlushRamSegments()
at Lucene.Net.Index.IndexWriter.Close()
at CMS.SiteProvider.SearchHelper.Update(Document iDoc, SearchIndexInfo srchInfo)
at CMS.SiteProvider.SearchTaskInfoProvider.TaskIndexer()
at CMS.SiteProvider.SearchTaskInfoProvider.Run()

This is only what I've seen in the dashboard. As a reminder, we are unable to access the SmartSearch, so we are unable to reindex the different site's searches.

User avatar
Kentico Customer Success
Kentico Customer Success
kentico_martind2 - 8/9/2013 3:11:33 PM
   
RE:Unable to access SmartSearch
Hello,

It looks like the Lucene file may have been corrupted, hence the mentioned error occured. Kentico is using Lucene.net library for indexing, could you please try to check if the file exists in that folder? Another thing you can try is to backup somewhere a whole SmartSearch folder, then completely delete it, after that you should be able to access the SmartSearch in Site Manager.

Best Regards,
Martin Danko

User avatar
Member
Member
beau.cowan-rrpartners - 8/9/2013 4:13:21 PM
   
RE:Unable to access SmartSearch
Thank you, we were able to remove the files from that site's Smart Search folder and were able to recreate the SmartSearch from the CMSSiteManager. Thank you again for your help.

-Beau Cowan