[
https://issues.apache.org/jira/browse/LUCENE-1796?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12741416#action_12741416
]
Uwe Schindler commented on LUCENE-1796:
---------------------------------------
Mark: The only hotspot could be initTokenWrapper(), which does some checks, but
normally shortcuts in filters to the input TokenStream's TokenWrapper instance.
Using incrementToken() would not help here, only if you switch of using the old
API complete using TokenStream.setOnlyUseNewAPI(true), which can only be done
globally, so all Solr TokenStreams must implement incrementToken().
> Speed up repeated TokenStream init
> ----------------------------------
>
> Key: LUCENE-1796
> URL: https://issues.apache.org/jira/browse/LUCENE-1796
> Project: Lucene - Java
> Issue Type: Improvement
> Reporter: Mark Miller
> Assignee: Uwe Schindler
> Fix For: 2.9
>
> Attachments: LUCENE-1796.patch, LUCENE-1796.patch
>
>
> by caching isMethodOverridden results
--
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: [email protected]
For additional commands, e-mail: [email protected]