Re: Question on highlighting of nested SpanQuery instances

2010-02-26 Thread Mark Miller
.org on behalf of Mark Miller Sent: Mon 2/22/2010 3:41 PM To: java-dev@lucene.apache.org Subject: Re: Question on highlighting of nested SpanQuery instances I played with it sometime back, but I don't have any code left from that exercise. Its fairly tricky. Take your example: > Span

RE: Question on highlighting of nested SpanQuery instances

2010-02-26 Thread Goddard, Michael J.
seful? Mike -Original Message- From: java-dev-return-46947-michael.j.goddard=saic@lucene.apache.org on behalf of Mark Miller Sent: Mon 2/22/2010 3:41 PM To: java-dev@lucene.apache.org Subject: Re: Question on highlighting of nested SpanQuery instances I played with it sometime b

Re: Question on highlighting of nested SpanQuery instances

2010-02-22 Thread Mark Miller
ent: Mon 2/22/2010 9:15 AM To: java-dev@lucene.apache.org Cc: Goddard, Michael J. Subject: Re: Question on highlighting of nested SpanQuery instances Hey Michael - this is currently just a limitation of the Span highlighter. It does a bit of fudging when determining what a good position is - if a

RE: Question on highlighting of nested SpanQuery instances

2010-02-22 Thread Goddard, Michael J.
n. Mike -Original Message- From: Mark Miller [mailto:markrmil...@gmail.com] Sent: Mon 2/22/2010 9:15 AM To: java-dev@lucene.apache.org Cc: Goddard, Michael J. Subject: Re: Question on highlighting of nested SpanQuery instances Hey Michael - this is currently just a limitation of the Span highlighte

Re: Question on highlighting of nested SpanQuery instances

2010-02-22 Thread Mark Miller
Hey Michael - this is currently just a limitation of the Span highlighter. It does a bit of fudging when determining what a good position is - if a term from the text is found within the span of a spanquery it is in (no matter how deeply nested), the highlighter makes a guess that the term should b