Skip to main content Skip to complementary content

tSolrInput Standard properties

These properties are used to configure tSolrInput running in the Standard Job framework.

The Standard tSolrInput component belongs to the Business Intelligence family.

The component in this framework is available in all subscription-based Talend products.

Information noteNote: This component is available only when you have installed the 8.0.1-R2024-09 Talend Studio monthly update or a later one delivered by Talend. For more information, check with your administrator.

Basic settings

Property type Either Built-in or Repository .
  • Built-in: No property data stored centrally.
  • Repository: Select the repository file in which the properties are stored. The fields that follow are completed automatically using the data retrieved.
URL Type in the URL address of the Solr server you want to access, for example, http://localhost:8983/solr/.
Required authentication Select this check box if an authentication is required to access the Solr server. If so, enter the username and password in the corresponding Login and Password fields.
Information noteNote: To enter a password, a token, or a client secret key, click the [...] button next to the corresponding field to bring out the Enter a new password dialog box, enter the password, the token, or the secret key in the text field, and click OK. Note that you can enter either a JSON string in the pure password mode or a Java expression in the Java mode. You can toggle between the two modes by clicking switch to Java mode or switch to pure password mode on the top of the text field.
Mode Select one of the modes of operating the cluster of Solr modes:
  • SolrCloud: If you select this automatic centralized management mode, enter the Collection name (that contains all cores) in the corresponding field.
  • User-Managed mode: If you select this manual management mode, enter the Core name in the corresponding field.
    • The Collection and Core field values impact the schema of this component. It is recommended to update the schema by clicking the Guess schema button after setting these fields.
    • When retrieving collections, some of them might be displayed with a ._designer prefix: it means you must configure this collection and publish it on Solr side in order for it to be correctly displayed as a collection.

For more information on Solr clusters and their modes of operating, see Solr Cluster Types.

Schema and Edit Schema A schema is a row description, it defines the number of fields to be processed and passed on to the next component. The schema is either Built-in or stored remotely in the Repository.
  • Built-in: You create and store the schema locally for this component only. For more information about a component schema in its Basic settings tab, see Basic settings tab.

  • Repository: You have already created the schema and stored it in the Repository. You can reuse it in various projects and Job designs. For more information about a component schema in its Basic settings tab, see Basic settings tab.

Click Edit schema to make changes to the schema. If the current schema is of the Repository type, three options are available:

  • View schema: choose this option to view the schema only.

  • Change to built-in property: choose this option to change the schema to Built-in for local changes.

  • Update repository connection: choose this option to change the schema stored in the repository and decide whether to propagate the changes to all the Jobs upon completion.

    If you just want to propagate the changes to the current Job, you can select No upon completion and choose this schema metadata again in the Repository Content window.

Guess schema Click this button to retrieve the schema according to your settings.
Query Enter a query statement to select the data to be retrieved. If you leave this field empty, all records in the collection or core will be retrieved.

Example: In a collection/core named movies, enter name:"Grapes" AND release_date:1940 to return all movies with the word Grapes in their titles that have been released in 1940, such as Grapes of Wrath.

Filter query Enter query statements in the form of table rows to select the data to be filtered. If you leave this table empty, all records in the collection or core will be retrieved.

Example: In a collection/core named movies, enter name:"Kid" in the Value cell to filter on movies with the word Kid in their titles, such as The Kid or Karate Kid.

Advanced settings

tStatCatcher Statistics Select this check box to gather the Job processing metadata at a Job level and at each component level.
Connection timeout (ms) Set the timeout period (in milliseconds) for the connector to establish a connection to the server. An error occurs if an attempt to establish a connection fails.
Receive timeout (ms) Set the timeout period (in milliseconds) for receiving response data. An error occurs if no data is received when the read timeout period expires.
Retrieve all records using pagination Select this option to use pagination when retrieving records.

If selected, enter the maximum number of records that can be returned in one page in the Max records per page field.

If unselected, only a limited number of records will be retrieved. Specify the record number from where to start retrieving records in the Start field. To start from the first record, set it to 0. To retrieve only the first 10 records, enter 0 in the Start field, and 10 in the Max records per page field.

Global Variables

Global Variables

ERROR_MESSAGE: the error message generated by the component when an error occurs. This is an After variable and it returns a string. This variable functions only if the Die on error check box is cleared, if the component has this check box.

NB_LINE: the number of rows read by an input component or transferred to an output component. This is an After variable and it returns an integer.

Usage

Usage rule

This component is start component of a data flow in your Job. It sends data to other components via a Row link.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!