Skip to content

Commit 2915332

Browse files
committed
Fix inappropriate reference to RRFRankPlugin.NAME
1 parent 1ce5a9a commit 2915332

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

x-pack/plugin/rank-rrf/src/test/java/org/elasticsearch/xpack/rank/rrf/RRFRetrieverBuilderTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,15 +145,15 @@ protected NamedXContentRegistry xContentRegistry() {
145145
entries.add(
146146
new NamedXContentRegistry.Entry(
147147
RetrieverBuilder.class,
148-
new ParseField(RRFRankPlugin.NAME),
148+
new ParseField(RRFRetrieverBuilder.NAME),
149149
(p, c) -> RRFRetrieverBuilder.fromXContent(p, (RetrieverParserContext) c)
150150
)
151151
);
152152
// Add an entry with no license requirement for unit testing
153153
entries.add(
154154
new NamedXContentRegistry.Entry(
155155
RetrieverBuilder.class,
156-
new ParseField(RRFRankPlugin.NAME + "_nl"),
156+
new ParseField(RRFRetrieverBuilder.NAME + "_nl"),
157157
(p, c) -> RRFRetrieverBuilder.PARSER.apply(p, (RetrieverParserContext) c)
158158
)
159159
);

0 commit comments

Comments
 (0)