------- Additional Comments From [hidden email] 2005-06-28 21:03 -------
(In reply to comment #5)
> Do you know if it is possible to rewrite a Phrase query as a SpanQuery and
> preserve all the behaviour eg slop factor? For the purposes of simplifying
> highlighter code it may be easier to rewrite PhraseQuerys to Spans and then
> getSpans as you suggest.
I'd expect a one to one mapping of PhraseQuery to an ordered SpanNearQuery over
SpanTermQueries, but I've never done this myself.