From 2c310787432539b47fbc19362c03190bfdcef610 Mon Sep 17 00:00:00 2001 From: AussieDev81 <95832527+AussieDev81@users.noreply.github.com> Date: Sat, 1 Apr 2023 22:10:57 +1000 Subject: [PATCH 1/2] Update EarlybirdSchemaBuilder.java Simple typo correction --- .../search/common/schema/earlybird/EarlybirdSchemaBuilder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/java/com/twitter/search/common/schema/earlybird/EarlybirdSchemaBuilder.java b/src/java/com/twitter/search/common/schema/earlybird/EarlybirdSchemaBuilder.java index 095e00fe5..a4501a56c 100644 --- a/src/java/com/twitter/search/common/schema/earlybird/EarlybirdSchemaBuilder.java +++ b/src/java/com/twitter/search/common/schema/earlybird/EarlybirdSchemaBuilder.java @@ -27,7 +27,7 @@ public class EarlybirdSchemaBuilder extends SchemaBuilder { /** * Configure the specified field to be Out-of-order. - * In the realtime cluster, this causes Earlybird to used the skip list posting format. + * In the realtime cluster, this causes Earlybird to use the skip list posting format. */ public final EarlybirdSchemaBuilder withOutOfOrderEnabledForField(String fieldName) { if (!shouldIncludeField(fieldName)) { From 971d026d711698325670d8c9277397e012ab4ea4 Mon Sep 17 00:00:00 2001 From: AussieDev81 <95832527+AussieDev81@users.noreply.github.com> Date: Sat, 1 Apr 2023 22:32:37 +1000 Subject: [PATCH 2/2] Update EarlybirdThriftDocumentBuilder.java A simple grammatical typo, and am not 100% but assume escherbird is meant to me earlybird? --- .../schema/earlybird/EarlybirdThriftDocumentBuilder.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/java/com/twitter/search/common/schema/earlybird/EarlybirdThriftDocumentBuilder.java b/src/java/com/twitter/search/common/schema/earlybird/EarlybirdThriftDocumentBuilder.java index 06666adc0..874cbda7e 100644 --- a/src/java/com/twitter/search/common/schema/earlybird/EarlybirdThriftDocumentBuilder.java +++ b/src/java/com/twitter/search/common/schema/earlybird/EarlybirdThriftDocumentBuilder.java @@ -320,7 +320,7 @@ public final class EarlybirdThriftDocumentBuilder extends ThriftDocumentBuilder } /** - * Add a list of places. The place are U64 encoded place IDs. + * Add a list of places. The places are U64 encoded place IDs. */ public EarlybirdThriftDocumentBuilder withPlacesField(List places) { if (isNotEmpty(places)) { @@ -509,7 +509,7 @@ public final class EarlybirdThriftDocumentBuilder extends ThriftDocumentBuilder } /** - * Add escherbird annotation fields. + * Add earlybird annotation fields. */ public EarlybirdThriftDocumentBuilder withAnnotationEntities(List entities) { if (isNotEmpty(entities)) {