Hi all,
I'm using highlighter with TermQuery and RegexQuery and everything works
well.
As soon as I try to use IntervalQuery, the highlighter returns no fragment.
Does someone know if IntervalQuery is supported with Highlighter /
QueryScorer?
Thanks,
Jean
>
> Le dim. 25 avr. 2021 à 18:43, Jean Morissette
> a
> écrit :
>
> > Thank you for your answer.
> >
> > The problem with this solution is that it excludes documents which
> contain
> > both positive and negative positive matches.
> >
> > For e
ne?
Thanks,
Jean
On Thu, 15 Apr 2021 at 01:33, Aditya Varun Chadha wrote:
> maybe you want (abstractly):
>
> bool(must(term("f", "positive"), mustNot(phrase("f", "negative positive",
> slop=1)))
>
> On Thu, Apr 15, 2021 at 7:27 AM Jean M
Hi all,
Does someone know if it's possible to search documents containing a given
keyword only if this keyword is not followed or preceded or another given
keyword?
Thanks,
Jean
hin(Intervals.term(word2), 3, Intervals.term(word1)))
>
> to search for word2 that appears within 3 positions of word1
>
> Best
> Patrick
>
> Jean Morissette 于2021年3月31日周三 下午9:00写道:
>
> > Does someone know how to create a query for searching 2 words separated
> by
> > 0, 1, 2 or 3 gaps?
> >
> > Thanks
> >
>
Does someone know how to create a query for searching 2 words separated by
0, 1, 2 or 3 gaps?
Thanks