mirror of https://github.com/apache/lucene.git
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:
parent
fa5752b7f5
commit
f8ee486b21
|
@ -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
|
||||
|
|
|
@ -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("");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue