lucenenet-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oliver Albrecht <o.albre...@oliver-albrecht.de>
Subject Stackoverflow exception
Date Mon, 07 Aug 2017 13:49:21 GMT
Hello,


i'm using a DocumentDictionary to feed an AnalyzingSuggester using the following code:


SnippetAnalyzingSuggester suggester = new AnalyzingSuggester(new GermanAnalyzer(Lucene.Net.Util.LuceneVersion.LUCENE_48));

Lucene.Net.Store.Directory dir = Lucene.Net.Store.FSDirectory.Open(indexDir);

IndexReader ir = DirectoryReader.Open(dir);

DocumentDictionary dict = new DocumentDictionary(ir, "Content", null, null);

suggester.Build(dict.GetEntryIterator());



I get a stackoverflow exception on suggester.Build. The exception throws in Lucene.Net.Util.Automaton.SpecialOperations.IsFinite.



The index contains 10.000 documents and has no payload and no weight.



Kind regards



Oliver

Mime
View raw message