return ConfigurationParseHelper.getIntValue( properties, Environment.WORKER_WORKQUEUE_SIZE, Integer.MAX_VALUE );
}
public static LuceneWorkSerializer createSerializer(String indexName, Properties cfg, WorkerBuildContext buildContext) {
try {
return new PluggableSerializationLuceneWorkSerializer(
new AvroSerializationProvider(),
buildContext.getUninitializedSearchFactory()
);
}
catch ( RuntimeException e ) {