Class ConfigurationComponent

java.lang.Object
java.util.Dictionary<K,V>
java.util.Hashtable<Object,Object>
java.util.Properties
com.lucidworks.apollo.config.ConfigurationComponent
All Implemented Interfaces:
Serializable, Cloneable, Map<Object,Object>

@ConfigurationProperties public class ConfigurationComponent extends Properties
See Also:
  • Field Details

  • Constructor Details

    • ConfigurationComponent

      public ConfigurationComponent()
  • Method Details

    • getCollectionFromSignalsCollection

      public String getCollectionFromSignalsCollection(String signalsCollection)
    • getSolrSignalAggrCollection

      public String getSolrSignalAggrCollection(String collection)
      Return the name of the aggregated signals collection.
    • getProperty

      public String getProperty(String key)
      Overrides:
      getProperty in class Properties
    • getSolrSignalCollection

      public String getSolrSignalCollection(String collection)
      Return the name of the raw signals collection.
    • getSearchLogsCollectionName

      public String getSearchLogsCollectionName(String collection)
    • isManagedModeEnabled

      public boolean isManagedModeEnabled()
    • setManagedModeEnabled

      public void setManagedModeEnabled(boolean managedModeEnabled)
    • usageMonitorEnabled

      public boolean usageMonitorEnabled()
    • usageMonitorTestMode

      public boolean usageMonitorTestMode()
    • metricsIndexingEnabled

      public boolean metricsIndexingEnabled()
    • managedModeEnabled

      public boolean managedModeEnabled()
    • isJavascriptIsolatedMode

      public boolean isJavascriptIsolatedMode()
      Returns whether JavaScript isolated mode is enabled. This mode prevents scripts from accessing: - Network (HTTP, sockets, URLs) - Environment variables (including K8s environment) - File system - Process execution (Runtime, ProcessBuilder) - Reflection APIs Checked in order: 1. DynamicPropertyFactory (Archaius config) 2. getBoolean() which checks the Properties map and Spring Environment Can be set via: - application.yml: app.javascript.isolated: true - application.properties: app.javascript.isolated=true - Environment variable: APP_JAVASCRIPT_ISOLATED=true - System property: -Dapp.javascript.isolated=true - Archaius configuration
    • getSearchLogDocIdFieldName

      public String getSearchLogDocIdFieldName(String collection)
    • getSearchLogDocIdLimit

      public Integer getSearchLogDocIdLimit(String collection)
    • getBoolean

      public boolean getBoolean(String key, boolean defaultValue)
    • getInt

      public int getInt(String key, int defaultValue)
    • getSolrZKClientTimeout

      public int getSolrZKClientTimeout()
    • getSolrZkConnectTimeout

      public int getSolrZkConnectTimeout()
    • getSolrBufferSize

      public int getSolrBufferSize()
    • getSolrBufferFlushInterval

      public int getSolrBufferFlushInterval()
    • getSolrCommitWithin

      public int getSolrCommitWithin()
    • getSolrBufferConcurrency

      public int getSolrBufferConcurrency()
    • split

      public static List<String> split(String value)