summaryrefslogtreecommitdiffstats
path: root/application/src
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@gmail.com>2022-09-29 11:19:52 +0200
committerJon Bratseth <bratseth@gmail.com>2022-09-29 11:19:52 +0200
commitcf14979ed2766f05bd2f131b93d33996aa6662e3 (patch)
tree82d4e2f68d57c204da85e23f8a704a8d9e2ac2e8 /application/src
parentbebaada169361ab757dbc89126f5ac8d55f7f8bb (diff)
Use consistent terminology
Diffstat (limited to 'application/src')
-rw-r--r--application/src/main/java/com/yahoo/application/Application.java20
1 files changed, 10 insertions, 10 deletions
diff --git a/application/src/main/java/com/yahoo/application/Application.java b/application/src/main/java/com/yahoo/application/Application.java
index 5d8123de48f..b4857d18459 100644
--- a/application/src/main/java/com/yahoo/application/Application.java
+++ b/application/src/main/java/com/yahoo/application/Application.java
@@ -279,35 +279,35 @@ public final class Application implements AutoCloseable {
/**
* @param name name of document type (search definition)
- * @param searchDefinition add this search definition to the application
+ * @param schema add this search definition to the application
* @throws java.io.IOException e.g.if file not found
*/
- public Builder documentType(String name, String searchDefinition) throws IOException {
+ public Builder documentType(String name, String schema) throws IOException {
Path path = nestedResource(ApplicationPackage.SCHEMAS_DIR, name, ApplicationPackage.SD_NAME_SUFFIX);
- createFile(path, searchDefinition);
+ createFile(path, schema);
return this;
}
- public Builder expressionInclude(String name, String searchDefinition) throws IOException {
+ public Builder expressionInclude(String name, String schema) throws IOException {
Path path = nestedResource(ApplicationPackage.SCHEMAS_DIR, name, ApplicationPackage.RANKEXPRESSION_NAME_SUFFIX);
- createFile(path, searchDefinition);
+ createFile(path, schema);
return this;
}
/**
- * @param name name of rank expression
- * @param rankExpressionContent add this rank expression to the application
+ * @param name name of ranking expression
+ * @param rankingExpressionContent add this ranking expression to the application
* @throws java.io.IOException e.g.if file not found
*/
- public Builder rankExpression(String name, String rankExpressionContent) throws IOException {
+ public Builder rankExpression(String name, String rankingExpressionContent) throws IOException {
Path path = nestedResource(ApplicationPackage.SCHEMAS_DIR, name, ApplicationPackage.RANKEXPRESSION_NAME_SUFFIX);
- createFile(path, rankExpressionContent);
+ createFile(path, rankingExpressionContent);
return this;
}
/**
* @param name name of query profile
- * @param queryProfile add this queyr profile to the application
+ * @param queryProfile add this query profile to the application
* @return builder
* @throws java.io.IOException e.g.if file not found
*/