Re: Problem with NGramAnalyzer, PhraseQuery and Highlighter

2016-04-19 Thread Eva Popenda
you open a JIRA ticket? > > Alan Woodward > www.flax.co.uk > > >> On 18 Apr 2016, at 16:27, Eva Popenda wrote: >> >> Hi, >> >> I have a problem when using the Highlighter with N-GramAnalyzer and >> PhraseQuery: >> Searching for a sub

Problem with NGramAnalyzer, PhraseQuery and Highlighter

2016-04-18 Thread Eva Popenda
Hi, I have a problem when using the Highlighter with N-GramAnalyzer and PhraseQuery: Searching for a substring with length = N (4 in my case) yields the following exception: java.lang.IllegalArgumentException: Less than 2 subSpans.size():1 at org.apache.lucene.search.spans.ConjunctionSpans.(Con