The search results used to work on the development server. We moved it to our production server and pointed the production URL at it and now it no longer returns anything. I have a primary alias set. I recycled the app pool. I double-checked folder permissions. I tried hitting the "Re-Index Content" button and telling the Scheduler to "Run Now", but get these errors:
AssemblyVersion:7.1.2
PortalID:-1
PortalName:
UserID:-1
UserName:
ActiveTabID:-1
ActiveTabName:
RawURL:
AbsoluteURL:
AbsoluteURLReferrer:
UserAgent:
DefaultDataProvider:DotNetNuke.Data.SqlDataProvider, DotNetNuke
ExceptionGUID:5b8e92a7-548d-479f-af93-82b576e269e1
InnerException:Could not find file 'C:\inetpub\Public Websites\Saint Sebastian Parish\App_Data\Search\segments_oln'.
FileName:
FileLineNumber:0
FileColumnNumber:0
Method:Lucene.Net.Index.FindSegmentsFile.Run
StackTrace:
Message:
System.IO.FileNotFoundException: Could not find file 'C:\inetpub\Public Websites\Saint Sebastian Parish\App_Data\Search\segments_oln'.
File name: 'C:\inetpub\Public Websites\Saint Sebastian Parish\App_Data\Search\segments_oln'
at Lucene.Net.Index.SegmentInfos.FindSegmentsFile.Run(IndexCommit commit)
at Lucene.Net.Index.SegmentInfos.Read(Directory directory)
at Lucene.Net.Index.IndexWriter.Init(Directory d, Analyzer a, Boolean create, IndexDeletionPolicy deletionPolicy, Int32 maxFieldLength, IndexingChain indexingChain, IndexCommit commit)
at Lucene.Net.Index.IndexWriter.Init(Directory d, Analyzer a, IndexDeletionPolicy deletionPolicy, Int32 maxFieldLength, IndexingChain indexingChain, IndexCommit commit)
at Lucene.Net.Index.IndexWriter..ctor(Directory d, Analyzer a, MaxFieldLength mfl)
at DotNetNuke.Services.Search.Internals.LuceneControllerImpl.get_Writer()
at DotNetNuke.Services.Search.Internals.LuceneControllerImpl.Delete(Query query)
at DotNetNuke.Services.Search.Internals.InternalSearchControllerImpl.DeleteAllDocuments(Int32 portalId, Int32 searchTypeId)
at DotNetNuke.Services.Search.SearchEngine.DeleteOldDocsBeforeReindex(DateTime startDate)
at DotNetNuke.Services.Search.SearchEngineScheduler.DoWork()
Source:
I couldn't find this file on the old development server either.