Is this perhaps sort of pre-written response to the question on
SpanNearQuery I sent just a minute ago?
karl
22 maj 2008 kl. 15.00 skrev Grant Ingersoll:
Unfortunately, I haven't had time to work on
https://issues.apache.org/jira/browse/LUCENE-1001
There is a _HALF BAKED_ patch up there, but I got stuck on it at the
time due to not being sure how to handle NearSpans and haven't had a
chance to go back to it. I do believe it is possible to expose it
via the Spans, so if you are so inclined, it is definitely something
that needs to be implemented.
-Grant
On May 22, 2008, at 4:03 AM, Eran Sevi wrote:
Hi,
I'm running a SpanQuery and get the Spans result which tell me the
documents
and positions of what I searched for.
I would now like to get the payloads in those documents and positions
without having to iterate on TermPositions since I don't have a
term but I
do have the document and position.
Maybe Spans should be extended to also hold the payloads as well as
the
start and end positions of the span.
Another option might be to extend TermPositionVector and return an
array of
payloads.
Can anyone think on a way to do it ?
Thanks,
Eran.
--------------------------
Grant Ingersoll
http://www.lucidimagination.com
Lucene Helpful Hints:
http://wiki.apache.org/lucene-java/BasicsOfPerformance
http://wiki.apache.org/lucene-java/LuceneFAQ
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]