...
asrch
is a command-line tool used to search an optional on-site installation of SOLR and extract data either in SOLR response format or complete CLAIMS Direct XML. It is installed as part of the CLAIMS Direct repository. Please see the Client Tools Installation Instructions for more information about how to install this tool.
...
Detailed Description of the Parameters
Connectivity
Parameter | Description |
---|---|
pgdbname | As configured in /etc/alexandria.xml , the database entry pointing to the on-site CLAIMS Direct PostgreSQL instance. The default value is alexandria as this value is pre-configured in /etc/alexandria.xml . |
url | This is the URL of the CLAIMS Direct SOLR instance. |
Output Options
The following parameters specify output possibilities.
Parameter | Description |
---|---|
output | Output results to named file. The default output goes to stdout . |
archive | Archive results in a predictable path structure. See aext. |
archiveroot | The root directory of the archive. See aext. |
wrapper | Default top-level XML element. The default is patent-document. |
pretty | Indent the output XML. |
count | Only output the count of documents. |
maxrows | Maximum number of documents to output. If using the --table option, this parameter is ignored. |
table | If specified, a table of UCIDs/publication_ids is created. |
raw | This parameter specifies SOLR response XML as format. |
SOLR Options
Parameter | Description |
---|---|
solropt | Raw SOLR query parameters. This parameter can be used multiple times, e.g.,
|
Examples
Search and Count Results
...