lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Keegan" <peterlkee...@gmail.com>
Subject Re: Payloads and PhraseQuery
Date Thu, 12 Jul 2007 12:20:49 GMT
I'm looking for Spans.getPositions(), as shown in BoostingTermQuery, but
neither NearSpansOrdered nor NearSpansUnordered (which are the Spans
provided by SpanNearQuery) provide this method and it's not clear to me how
to add it.

Peter

On 7/11/07, Chris Hostetter <hossman_lucene@fucit.org> wrote:
>
>
> : I'm now looking at using payloads with SpanNearQuery but I don't see any
> : clear way of getting the payload(s) from the matching span terms. The
> term
> : positions for the payloads seem to be buried beneath SpanCells in the
>
> Isn't Spans.start() and Spans.end() what you are looking for?
>
>
>
>
>
> -Hoss
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message