FAQ  •  Register  •  Login

Cannot instantiate search engine

<<

Mass8

Serviio newbie

Posts: 12

Joined: Thu Sep 29, 2016 4:24 pm

Post Sat Apr 15, 2017 5:21 pm

Cannot instantiate search engine

Serviio not share some video. The error in log is
  Code:
2017-04-15 19:19:09,482 WARN  [OnlineVideoSourcesMetadataExtractor] Online metadata search returned no results for file 1x03 - Episodio 3.mkv [VideoDescription [type=EPISODE, names=[, celebrity masterchef italia asadasd], year=null, season=1, episode=3, imdb_id=null]] using TheTVDBSourceAdaptor
2017-04-15 19:19:09,643 WARN  [OnlineVideoSourcesMetadataExtractor] Online metadata search returned no results for file 1x03 - Episodio 3.mkv [VideoDescription [type=EPISODE, names=[, celebrity masterchef italia asadasd], year=null, season=1, episode=3, imdb_id=null]] using TheMovieDBTvSourceAdaptor
2017-04-15 19:19:09,704 INFO  [SearchManager] Starting up search engine
2017-04-15 19:19:09,712 WARN  [MediaFileIndexer] Cannot add file 1x03 - Episodio 3.mkv because of an unexpected error. Message: Cannot instantiate search engine: Format version is not supported (resource: BufferedChecksumIndexInput(SimpleFSIndexInput(path="C:\Program Files\Serviio\library\search\segments.gen"))): 0 (needs to be between -2 and -3)
java.lang.RuntimeException: Cannot instantiate search engine: Format version is not supported (resource: BufferedChecksumIndexInput(SimpleFSIndexInput(path="C:\Program Files\Serviio\library\search\segments.gen"))): 0 (needs to be between -2 and -3)
   at org.serviio.library.search.SearchManager.<init>(SearchManager.java:61)
   at org.serviio.library.search.SearchManager.getInstance(SearchManager.java:74)
   at org.serviio.library.local.service.SearchService.makeSearchable(SearchService.java:87)
   at org.serviio.library.local.service.SearchService.makeVideoSearchable(SearchService.java:49)
   at org.serviio.library.local.service.VideoService.addVideoToLibrary(VideoService.java:137)
   at org.serviio.library.local.indexing.MediaFileIndexer.addNewMediaFile(MediaFileIndexer.java:91)
   at org.serviio.library.local.indexing.DefaultLibraryMonitor.fileAdded(DefaultLibraryMonitor.java:49)
   at org.serviio.library.local.indexing.pipe.PipeManager$PipeProcessingConsumer.lambda$run$27(PipeManager.java:174)
   at java.util.Optional.ifPresent(Optional.java:159)
   at org.serviio.library.local.indexing.pipe.PipeManager$PipeProcessingConsumer.run(PipeManager.java:169)
   at java.lang.Thread.run(Thread.java:745)
Caused by: org.apache.lucene.index.IndexFormatTooNewException: Format version is not supported (resource: BufferedChecksumIndexInput(SimpleFSIndexInput(path="C:\Program Files\Serviio\library\search\segments.gen"))): 0 (needs to be between -2 and -3)
   at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:862)
   at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:769)
   at org.apache.lucene.index.SegmentInfos.read(SegmentInfos.java:458)
   at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:794)
   at org.serviio.library.search.SearchIndexer.startIndexWriter(SearchIndexer.java:232)
   at org.serviio.library.search.SearchIndexer.<init>(SearchIndexer.java:81)
   at org.serviio.library.search.SearchManager.<init>(SearchManager.java:57)
   ... 10 more

What is the problem?
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 16511

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sun Apr 16, 2017 9:48 am

Re: Cannot instantiate search engine

Looks like the search DB got corrupted during upgrade. A clean install should fix it.
<<

Mass8

Serviio newbie

Posts: 12

Joined: Thu Sep 29, 2016 4:24 pm

Post Tue Apr 18, 2017 7:17 pm

Re: Cannot instantiate search engine

today without reinstall the video appear :shock:

Return to Serviio Support & Help

Who is online

Users browsing this forum: No registered users and 6 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.