lucenenet-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Itamar Syn-Hershko <ita...@code972.com>
Subject Re: Stackoverflow exception
Date Mon, 07 Aug 2017 14:05:55 GMT
What is the full stacktrace please?

--

Itamar Syn-Hershko
Freelance Developer & Consultant
Elasticsearch Partner
Microsoft MVP | Lucene.NET PMC
http://code972.com | @synhershko <https://twitter.com/synhershko>
http://BigDataBoutique.co.il/

On Mon, Aug 7, 2017 at 4:49 PM, Oliver Albrecht <
o.albrecht@oliver-albrecht.de> wrote:

> 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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message