You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Uwe Schindler (JIRA)" <ji...@apache.org> on 2010/08/18 14:29:16 UTC
[jira] Commented: (LUCENE-2606) optimize contrib/regex for flex
[ https://issues.apache.org/jira/browse/LUCENE-2606?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12899822#action_12899822 ]
Uwe Schindler commented on LUCENE-2606:
---------------------------------------
Looks good! The thing was broken in 3.x and 3.0, too as it was not threadsafe, if the same capabilities object was used in multiple threads.
> optimize contrib/regex for flex
> -------------------------------
>
> Key: LUCENE-2606
> URL: https://issues.apache.org/jira/browse/LUCENE-2606
> Project: Lucene - Java
> Issue Type: Improvement
> Components: contrib/*
> Reporter: Robert Muir
> Fix For: 4.0
>
> Attachments: LUCENE-2606.patch, LUCENE-2606.patch
>
>
> * changes RegexCapabilities match(String) to match(BytesRef)
> * the jakarta and jdk impls uses CharacterIterator/CharSequence matching against the utf16result instead.
> * i also reuse the matcher for jdk, i don't see why we didnt do this before but it makes sense esp since we reuse the CSQ
--
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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org