Package de.espirit.firstspirit.agency
Interface SearchIndexAgent
@NonExtendable
public interface SearchIndexAgent
Definition of an agent offering capabilities to modify the settings for the search indexer.
- Since:
- 5.2.1503
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringName of the server wide property to define the maximum path length to follow on indexing relationships.static final SpecialistType<SearchIndexAgent>Technical type of an agent specialized for changing settings of the search indexer. -
Method Summary
Modifier and TypeMethodDescriptionintReturns the currently set path length to follow on indexing relationships.voidResets the project specific override forindexing.relationshipPathLengthToFollow.voidsetPathLengthToFollow(int pathLengthToFollow) Sets the project specific value to override the server wide setting ofindexing.relationshipPathLengthToFollow.
-
Field Details
-
RELATIONSHIP_PATH_LENGTH_TO_FOLLOW
Name of the server wide property to define the maximum path length to follow on indexing relationships. Can be overwritten in the "fs-server.conf".- Since:
- 5.2.1503
- See Also:
-
TYPE
Technical type of an agent specialized for changing settings of the search indexer.- Since:
- 5.2.1503
-
-
Method Details
-
resetPathLengthToFollow
Resets the project specific override forindexing.relationshipPathLengthToFollow. Consequently, the server wide setting will be used.- Throws:
LockException- if the project could not be locked- Since:
- 5.2.1503
-
getPathLengthToFollow
int getPathLengthToFollow()Returns the currently set path length to follow on indexing relationships.- Returns:
- the maximum path length to follow
- Since:
- 5.2.1503
-
setPathLengthToFollow
Sets the project specific value to override the server wide setting ofindexing.relationshipPathLengthToFollow.- Parameters:
pathLengthToFollow- the maximum path length to follow- Throws:
LockException- if the project could not be locked- Since:
- 5.2.1503
-