LUCENE-4994: Fix PatternKeywordMarkerFilter to have public constructor

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1480829 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Uwe Schindler 2013-05-09 22:55:56 +00:00
parent fa5752b7f5
commit f8ee486b21
2 changed files with 4 additions and 1 deletions

View File

@ -121,6 +121,9 @@ Bug Fixes
fails to reflect a delete from IndexWriter.tryDeleteDocument (Reg,
Mike McCandless)
* LUCENE-4994: Fix PatternKeywordMarkerFilter to have public constructor.
(Uwe Schindler)
Optimizations
* LUCENE-4938: Don't use an unnecessarily large priority queue in IndexSearcher

View File

@ -42,7 +42,7 @@ public final class PatternKeywordMarkerFilter extends KeywordMarkerFilter {
* @param pattern
* the pattern to apply to the incoming term buffer
**/
protected PatternKeywordMarkerFilter(TokenStream in, Pattern pattern) {
public PatternKeywordMarkerFilter(TokenStream in, Pattern pattern) {
super(in);
this.matcher = pattern.matcher("");
}