Every connector begins execution by creating an instance of this class and calling its
start() method. This starts processing, triggering the SDK to begin making connector
calls as configured in the configuration file.
Sample usage:
public static void main(String[] args) throws IOException, InterruptedException {
IndexingApplication application = new IndexingApplication.Builder(
new MyConnector(new MyRepository()), args).build();
application.start();
}
Optional configuration parameter(s):
structuredData.localSchema - Specifies the local structured data schema name.
It is read from the data source and used for repository structured data.
schedule.incrementalTraversalIntervalSecs - Specifies the interval between
scheduled incremental traversals (in seconds).
schedule.performTraversalOnStart - Specifies whether to run the traversal
immediately at start up rather than waiting for the first interval to expire.
schedule.pollQueueIntervalSecs - Specifies the interval between scheduled poll
queue intervals (in seconds).
schedule.traversalIntervalSecs - Specifies the interval between scheduled
traversals (in seconds).
connector.runOnce - Specifies whether the connector should exit after a single
traversal.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-03 UTC."],[[["`IndexingApplication` is the main entry point for the Google Cloud Search SDK, initiating connector execution and data processing."],["Developers use the `start()` method to begin connector interactions with the SDK, based on the configuration settings."],["Optional configuration parameters allow customization of traversal schedules, data schema sources, and connector behavior."],["`LOCAL_SCHEMA` constant is deprecated and developers should refer to updated documentation for structured data schema configuration."]]],[]]