lucenenet-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shad Storhaug <s...@shadstorhaug.com>
Subject RE: Stackoverflow exception
Date Mon, 07 Aug 2017 17:06:08 GMT
Hi Oliver,

In addition to providing the full stack trace that Itamar mentioned, could you confirm the
problem still exists if you use the latest CI build here: https://www.myget.org/gallery/lucene-net-ci?

Thanks,
Shad Storhaug (NightOwl888)

-----Original Message-----
From: itamar.synhershko@gmail.com [mailto:itamar.synhershko@gmail.com] On Behalf Of Itamar
Syn-Hershko
Sent: Monday, August 7, 2017 9:06 PM
To: user@lucenenet.apache.org
Subject: Re: Stackoverflow exception

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
View raw message