I upgraded to 4.5. Same results, unfortunately. Most docs in the
result set will have a Passage where numMatches() > 0, but some do
not. In these cases, the Passage array's length is greater than zero.


Jon


On Mon, Oct 14, 2013 at 5:24 PM, Robert Muir <rcm...@gmail.com> wrote:
> did you try the latest release? There are some bugs fixed...
>
> On Mon, Oct 14, 2013 at 2:11 PM, Jon Stewart
> <j...@lightboxtechnologies.com> wrote:
>> Hello,
>>
>> I've observed that when using PostingsHighlighter in Lucene 4.4 that
>> some of the responsive documents in TopDocs will have zero matches in
>> the associated array of Passage objects. I.e., in the call of
>> PassageFormatter.format(), there will be some calls where none of the
>> Passage objects in the array will have matches. I've seen this on a
>> simple one-word query, where the word clearly exists in the Document's
>> text for the field (and the Document is included in the TopDocs result
>> set).
>>
>> Any ideas?
>>
>> Thanks,
>>
>> Jon
>> --
>> Jon Stewart, Principal
>> (646) 719-0317 | j...@lightboxtechnologies.com | Arlington, VA
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
>> For additional commands, e-mail: java-user-h...@lucene.apache.org
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
> For additional commands, e-mail: java-user-h...@lucene.apache.org
>



-- 
Jon Stewart, Principal
(646) 719-0317 | j...@lightboxtechnologies.com | Arlington, VA

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to