Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with indexing large responses #31

Open
cezarypiatekGC opened this issue Mar 1, 2024 · 0 comments
Open

Issue with indexing large responses #31

cezarypiatekGC opened this issue Mar 1, 2024 · 0 comments

Comments

@cezarypiatekGC
Copy link

System.ArgumentException: Document contains at least one immense term in field="response.body" (whose UTF8 encoding is longer than the max length 32766), all of which were skipped. Please correct the analyzer to not produce such terms. The prefix of the first immense term is: '[5b d a 20 20 7b d a 20 20 20 20 22 69 6e 74 65 72 6e 61 6c 69 64 22 3a 20 39 39 35 36]...'
at Lucene.Net.Index.DocInverterPerField.ProcessFields(IIndexableField[] fields, Int32 count)
at Lucene.Net.Index.DocFieldProcessor.ProcessDocument(Builder fieldInfos)
at Lucene.Net.Index.DocumentsWriterPerThread.UpdateDocument(IEnumerable1 doc, Analyzer analyzer, Term delTerm) at Lucene.Net.Index.DocumentsWriter.UpdateDocument(IEnumerable1 doc, Analyzer analyzer, Term delTerm)
at Lucene.Net.Index.IndexWriter.UpdateDocument(Term term, IEnumerable1 doc, Analyzer analyzer) at Lucene.Net.Index.IndexWriter.AddDocument(IEnumerable1 doc, Analyzer analyzer)
at Lucene.Net.Index.IndexWriter.AddDocument(IEnumerable1 doc) at WireMockInspector.ViewModels.SearchHelper.Load(IReadOnlyList1 requests) in C:\repos\WireMockInspector\src\WireMockInspector\ViewModels\SearchHelper.cs:line 93
at WireMockInspector.ViewModels.MainWindowViewModel.<.ctor>b__51_4(ValueTuple4 x) in C:\repos\WireMockInspector\src\WireMockInspector\ViewModels\MainWindowViewModel.cs:line 198 at System.Reactive.AnonymousSafeObserver1.OnNext(T value)
at System.Reactive.Sink1.ForwardOnNext(TTarget value) at System.Reactive.ObserveOnObserverNew1.DrainStep(ConcurrentQueue1 q) at System.Reactive.ObserveOnObserverNew1.DrainShortRunning(IScheduler recursiveScheduler)
at System.Reactive.ObserveOnObserverNew1.<>c.<.cctor>b__17_0(IScheduler scheduler, ObserveOnObserverNew1 self)
at Avalonia.ReactiveUI.AvaloniaScheduler.Schedule[TState](TState state, TimeSpan dueTime, Func3 action) at System.Reactive.Concurrency.LocalScheduler.Schedule[TState](TState state, Func3 action)
at System.Reactive.ObserveOnObserverNew1.Schedule() at System.Reactive.ObserveOnObserverNew1.OnNext(T value)
at System.Reactive.SafeObserver1.WrappingSafeObserver.OnNext(TSource value) at System.Reactive.Sink1.ForwardOnNext(TTarget value)
at System.Reactive.Linq.ObservableImpl.Select2.Selector._.OnNext(TSource value) at System.Reactive.Sink1.ForwardOnNext(TTarget value)
at System.Reactive.Linq.ObservableImpl.Where1.Predicate._.OnNext(TSource value) at System.Reactive.SafeObserver1.WrappingSafeObserver.OnNext(TSource value)
at System.Reactive.Sink1.ForwardOnNext(TTarget value) at System.Reactive.ObserveOnObserverNew1.DrainStep(ConcurrentQueue1 q) at System.Reactive.ObserveOnObserverNew1.DrainShortRunning(IScheduler recursiveScheduler)
at System.Reactive.ObserveOnObserverNew`1.<>c.<.cctor>b__17_0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant