Re: IntervalQuery replacement for SpanFirstQuery? Closest replacement for slops?

2021-10-10 Thread Alan Woodward
<mailto:u...@thetaphi.de> > >> -Original Message- >> From: Alan Woodward > <mailto:alan.woodw...@romseysoftware.co.uk>> >> Sent: Monday, September 21, 2020 7:56 PM >> To: Dawid Weiss mailto:dawid.we...@gmail.com>> >> Cc: Lucene Users >

RE: IntervalQuery replacement for SpanFirstQuery? Closest replacement for slops?

2021-10-08 Thread Uwe Schindler
> Subject: Re: IntervalQuery replacement for SpanFirstQuery? Closest > replacement for slops? > > Your filtered query should work the same as a SpanFirst, yes. I didn’t add a > shortcut just because you can do it this way, but feel free to add it if you > think > it’s useful!

Re: IntervalQuery replacement for SpanFirstQuery? Closest replacement for slops?

2020-09-21 Thread Alan Woodward
Your filtered query should work the same as a SpanFirst, yes. I didn’t add a shortcut just because you can do it this way, but feel free to add it if you think it’s useful! Re sloppy phrases, this one is trickier. The closest you can get at the moment is an unordered near, but that’s not the

Re: IntervalQuery replacement for SpanFirstQuery? Closest replacement for slops?

2020-09-21 Thread Dawid Weiss
For what it is worth, I would be also interested in answers to these questions. ;) On Mon, Sep 21, 2020, 19:08 Uwe Schindler wrote: > Hi all, hi Alan, > > I am currently rewriting some SpanQuery code to use IntervalQuery. Most of > the transformations can be done quite easily and it is also bett

IntervalQuery replacement for SpanFirstQuery? Closest replacement for slops?

2020-09-21 Thread Uwe Schindler
Hi all, hi Alan, I am currently rewriting some SpanQuery code to use IntervalQuery. Most of the transformations can be done quite easily and it is also better to read after transformation. What I am missing a bit is some document to compare the different query types and a guide how to convert t