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 SummaryFieldsModifier 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 SummaryModifier 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_FOLLOWName 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:
 
- 
TYPETechnical type of an agent specialized for changing settings of the search indexer.- Since:
- 5.2.1503
 
 
- 
- 
Method Details- 
resetPathLengthToFollowResets 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
 
- 
getPathLengthToFollowint getPathLengthToFollow()Returns the currently set path length to follow on indexing relationships.- Returns:
- the maximum path length to follow
- Since:
- 5.2.1503
 
- 
setPathLengthToFollowSets 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
 
 
-