You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Mark Miller (JIRA)" <ji...@apache.org> on 2009/06/16 15:17:07 UTC

[jira] Updated: (LUCENE-1695) Update the Highlighter to use the new TokenStream API

     [ https://issues.apache.org/jira/browse/LUCENE-1695?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Miller updated LUCENE-1695:
--------------------------------

    Attachment: LUCENE-1695.patch

Rough, non backward compat patch.

There is still an issue with testUnRewrittenQuery() - it passes in isolation, but not when run with the other tests:

java.io.IOException: Stream closed
	at java.io.StringReader.ensureOpen(StringReader.java:56)
	at java.io.StringReader.read(StringReader.java:90)
	at org.apache.lucene.analysis.standard.StandardTokenizerImpl.zzRefill(StandardTokenizerImpl.java:451)
	at org.apache.lucene.analysis.standard.StandardTokenizerImpl.getNextToken(StandardTokenizerImpl.java:637)
	at org.apache.lucene.analysis.standard.StandardTokenizer.incrementToken(StandardTokenizer.java:153)
	at org.apache.lucene.analysis.standard.StandardFilter.incrementToken(StandardFilter.java:50)
	at org.apache.lucene.analysis.LowerCaseFilter.incrementToken(LowerCaseFilter.java:38)
	at org.apache.lucene.analysis.StopFilter.incrementToken(StopFilter.java:222)
	at org.apache.lucene.search.highlight.Highlighter.getBestTextFragments(Highlighter.java:242)




> Update the Highlighter to use the new TokenStream API
> -----------------------------------------------------
>
>                 Key: LUCENE-1695
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1695
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: contrib/highlighter
>            Reporter: Mark Miller
>            Assignee: Mark Miller
>             Fix For: 2.9
>
>         Attachments: LUCENE-1695.patch
>
>


-- 
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-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org