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.
Basic settings
Property type |
Either Built-in or
Repository
.
|
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:
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.
Click Edit schema to make changes to the schema. If the current schema is of the Repository type, three options are available:
|
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. |