
com.liferay.portal.search.elasticsearch.configuration.ElasticsearchConfiguration Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of com.liferay.portal.search.elasticsearch Show documentation
Show all versions of com.liferay.portal.search.elasticsearch Show documentation
Liferay Portal Search Elasticsearch
/**
* Copyright (c) 2000-present Liferay, Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any later version.
*
* This library is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
* details.
*/
package com.liferay.portal.search.elasticsearch.configuration;
import aQute.bnd.annotation.metatype.Meta;
import com.liferay.portal.configuration.metatype.annotations.ExtendedObjectClassDefinition;
import com.liferay.portal.search.elasticsearch.connection.OperationMode;
/**
* @author Michael C. Han
*/
@ExtendedObjectClassDefinition(category = "foundation")
@Meta.OCD(
id = "com.liferay.portal.search.elasticsearch.configuration.ElasticsearchConfiguration",
localization = "content/Language",
name = "elastic.search.configuration.name"
)
public interface ElasticsearchConfiguration {
@Meta.AD(deflt = "LiferayElasticsearchCluster", required = false)
public String clusterName();
@Meta.AD(deflt = "EMBEDDED", required = false)
public OperationMode operationMode();
@Meta.AD(
deflt = "liferay-", description = "index-name-prefix-help",
required = false
)
public String indexNamePrefix();
@Meta.AD(deflt = "false", required = false)
public boolean bootstrapMlockAll();
@Meta.AD(
deflt = "true", description = "log-exceptions-only-help",
required = false
)
public boolean logExceptionsOnly();
@Meta.AD(deflt = "5", required = false)
public int retryOnConflict();
@Meta.AD(deflt = "9300-9400", required = false)
public String discoveryZenPingUnicastHostsPort();
@Meta.AD(deflt = "", required = false)
public String networkHost();
@Meta.AD(deflt = "", required = false)
public String networkBindHost();
@Meta.AD(deflt = "", required = false)
public String networkPublishHost();
@Meta.AD(deflt = "", required = false)
public String transportTcpPort();
@Meta.AD(deflt = "localhost:9300", required = false)
public String[] transportAddresses();
@Meta.AD(deflt = "true", required = false)
public boolean clientTransportSniff();
@Meta.AD(deflt = "false", required = false)
public boolean clientTransportIgnoreClusterName();
@Meta.AD(deflt = "5s", required = false)
public String clientTransportNodesSamplerInterval();
@Meta.AD(deflt = "true", required = false)
public boolean httpEnabled();
@Meta.AD(deflt = "true", required = false)
public boolean httpCORSEnabled();
@Meta.AD(deflt = "/https?:\\/\\/localhost(:[0-9]+)?/", required = false)
public String httpCORSAllowOrigin();
@Meta.AD(description = "http-cors-configurations-help", required = false)
public String httpCORSConfigurations();
@Meta.AD(description = "additional-configurations-help", required = false)
public String additionalConfigurations();
@Meta.AD(
description = "additional-index-configurations-help", required = false
)
public String additionalIndexConfigurations();
@Meta.AD(description = "additional-type-mappings-help", required = false)
public String additionalTypeMappings();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy