[ 
https://issues.apache.org/jira/browse/LUCENE-3690?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13185771#comment-13185771
 ] 

Steven Rowe commented on LUCENE-3690:
-------------------------------------

Forgot to mention two more change in the latest patch from the previous 
version: 

7. The generated scanner's parse method now returns the next available 
character if one is available; this simplifies/clarifies the processing flow. 
(Previously the parse method returned an enum indicating whether to copy a char 
directly from the input buffer -- {{OutputSource.DIRECT}} -- or from another 
location -- {{OutputSource.INDIRECT}} -- the {{read()}} method would then have 
to go fetch the next character from the given source.)
8. Renamed the generated scanner's parse method from the default {{yylex()}} to 
{{nextChar()}}.
                
> JFlex-based HTMLStripCharFilter replacement
> -------------------------------------------
>
>                 Key: LUCENE-3690
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3690
>             Project: Lucene - Java
>          Issue Type: New Feature
>          Components: modules/analysis
>    Affects Versions: 3.5, 4.0
>            Reporter: Steven Rowe
>            Assignee: Steven Rowe
>             Fix For: 3.6, 4.0
>
>         Attachments: LUCENE-3690.patch, LUCENE-3690.patch, LUCENE-3690.patch
>
>
> A JFlex-based HTMLStripCharFilter replacement would be more performant and 
> easier to understand and maintain.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to