YAFLogo

KatjaAusFrankfurt
3 years ago
Hallo,

I installed pre release version of the forum and created directory App_Data\search_index manually because it didn't exists. In the first error was "folder not found", because of that I created the folder. But at the moment I have other error in YafSearch.js, in public IndexSearcher GetSearcher():

Lucene.Net.Index.IndexNotFoundException
HResult=0x80070002
Message=no segments* file found in SimpleFSDirectory@C:\YAFNET-2.3.0.0-rc.3\yafsrc\YetAnotherForum.NET\App_Data\search_index lockFactory=NativeFSLockFactory@C:\YAFNET-2.3.0.0-rc.3\yafsrc\YetAnotherForum.NET\App_Data\search_index: files:
Source=Lucene.Net
StackTrace:
at Lucene.Net.Index.SegmentInfos.FindSegmentsFile.Run(IndexCommit commit)
at Lucene.Net.Index.StandardDirectoryReader.Open(Directory directory, IndexCommit commit, Int32 termInfosIndexDivisor)
at Lucene.Net.Index.DirectoryReader.Open(Directory directory)
at Lucene.Net.Search.SearcherManager..ctor(Directory dir, SearcherFactory searcherFactory)
at YAF.Core.Services.YafSearch.GetSearcher() in C:\YAFNET-2.3.0.0-rc.3\yafsrc\YAF.Core\Services\YafSearch.cs:line 440
at YAF.Core.Services.YafSearch.SearchIndex(Int32& totalHits, Int32 forumId, Int32 userId, String searchQuery, String searchField, Int32 pageIndex, Int32 pageSize) in C:\YAFNET-2.3.0.0-rc.3\yafsrc\YAF.Core\Services\YafSearch.cs:line 701
at YAF.Core.Services.YafSearch.SearchPaged(Int32& totalHits, Int32 forumId, Int32 userId, String input, Int32 pageIndex, Int32 pageSize, String fieldName) in C:\YAFNET-2.3.0.0-rc.3\yafsrc\YAF.Core\Services\YafSearch.cs:line 398
at YAF.Core.Controllers.SearchController.GetSearchResults(SearchTopic searchTopic) in C:\YAFNET-2.3.0.0-rc.3\yafsrc\YAF.Core\Controllers\SearchController.cs:line 82
at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass6_2.b__2(Object instance, Object[] methodParameters)
at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.Execute(Object instance, Object[] arguments)
at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ExecuteAsync(HttpControllerContext controllerContext, IDictionary`2 arguments, CancellationToken cancellationToken)

Do you have an idea what should I do? I have attached a screenshot.

Greetins
Katja

 Fehler.PNG You have insufficient rights to see the content.
Sponsor

KatjaAusFrankfurt
3 years ago
sorry, I posted this question in a wrong place. Correct place ware
http://yetanotherforum.net/forum/posts/m72214-YAF-2-3-with-Bootstrap#post72214 
YAF Logo Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved
About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button