@Immutable public class RepositoryConfiguration.QuerySystem extends Object
Modifier | Constructor and Description |
---|---|
protected |
RepositoryConfiguration.QuerySystem(Document query) |
Modifier and Type | Method and Description |
---|---|
boolean |
fullTextSearchEnabled()
Get whether full-text searching is enabled for this repository.
|
Properties |
getIndexingBackendProperties()
Get the configuration properties for the indexing backend.
|
Properties |
getIndexingProperties()
Get the configuration properties for the indexing section.
|
RepositoryConfiguration.IndexRebuildOptions |
getIndexRebuildOptions()
Returns the options that should be used for rebuilding indexes when the repository starts up.
|
Properties |
getIndexStorageProperties()
Get the configuration properties for the storage of indexes.
|
RepositoryConfiguration.TextExtracting |
getTextExtracting() |
String |
getThreadPoolName()
Get the name of the thread pool that should be used for indexing work.
|
boolean |
indexingClustered()
Reads the indexing configuration, checking if the indexing is configured in clustered mode or not.
|
boolean |
queriesEnabled()
Determine whether queries and searches are enabled.
|
protected void |
setDefProp(Properties props,
String name,
String defaultValue) |
protected RepositoryConfiguration.QuerySystem(Document query)
public boolean queriesEnabled()
fullTextSearchEnabled()
public boolean fullTextSearchEnabled()
queries are enabled
, so this method returns false if queries are disabled.queriesEnabled()
public String getThreadPoolName()
public boolean indexingClustered()
true
if the indexing is configured in clustered mode, false
otherwisepublic RepositoryConfiguration.IndexRebuildOptions getIndexRebuildOptions()
non-null
RepositoryConfiguration.IndexRebuildOptions
instance.public Properties getIndexStorageProperties()
public Properties getIndexingProperties()
public Properties getIndexingBackendProperties()
public RepositoryConfiguration.TextExtracting getTextExtracting()
protected void setDefProp(Properties props, String name, String defaultValue)
Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.