[ https://issues.apache.org/jira/browse/LUCENE-1559?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12681468#action_12681468 ]
Amin Mohammed-Coleman edited comment on LUCENE-1559 at 3/12/09 1:22 PM: ------------------------------------------------------------------------ Hi Mark Thanks for looking into this, your help is much appreciated. I compared the body of the file (value to be indexed) against the doc.get("body") and they are both the same. assertEquals(bodyToBeStored, bodyText); Also tokenText = text.substring(startOffset, endOffset); line 240 of Highlighter doesn't return "document" all i get is "documentation" Cheers was (Author: amin): Hi Mark Thanks for looking into this, your help is much appreciated. I compared the body of the file (value to be indexed) against the doc.get("body") and they are both the same. assertEquals(bodyToBeStored, bodyText); Cheers > Highlighting not working in some instances even though indexsearcher returns > result. > ------------------------------------------------------------------------------------ > > Key: LUCENE-1559 > URL: https://issues.apache.org/jira/browse/LUCENE-1559 > Project: Lucene - Java > Issue Type: Bug > Affects Versions: 2.4 > Environment: Mac OS 1.5 > Eclipse 3.4 > Reporter: Amin Mohammed-Coleman > Attachments: AJiA CH 02.doc, fileToSearch.txt, > HighLightingSummaryTest(2).java, HighLightingSummaryTest.java, > HighLightingSummaryTestV3.java > > > In some instances highlighting does not return a result. However when you > use a different term for teh same document you get results. > Please see attach testcase and template file. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscr...@lucene.apache.org For additional commands, e-mail: java-dev-h...@lucene.apache.org