mirror of
https://github.com/twitter/the-algorithm.git
synced 2025-01-03 08:01:53 +01:00
Merge 971d026d71
into 72eda9a24f
This commit is contained in:
commit
d6bbae949d
@ -27,7 +27,7 @@ public class EarlybirdSchemaBuilder extends SchemaBuilder {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Configure the specified field to be Out-of-order.
|
* 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) {
|
public final EarlybirdSchemaBuilder withOutOfOrderEnabledForField(String fieldName) {
|
||||||
if (!shouldIncludeField(fieldName)) {
|
if (!shouldIncludeField(fieldName)) {
|
||||||
|
@ -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<String> places) {
|
public EarlybirdThriftDocumentBuilder withPlacesField(List<String> places) {
|
||||||
if (isNotEmpty(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<String> entities) {
|
public EarlybirdThriftDocumentBuilder withAnnotationEntities(List<String> entities) {
|
||||||
if (isNotEmpty(entities)) {
|
if (isNotEmpty(entities)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user