0%

Using simple Solr syntax in your browser

Here is an example of a simple Solr request that you can paste in a browser:

https://www.ebi.ac.uk/mi/impc/solr/statistical-result/select?q=*:*&fl=marker_symbol,effect_size,p_value&rows=3

In this example, we query the statistical-result core and select the first three documents and three fields:

  • marker_symbol
  • effect_size
  • p-value
Solr request in browser consists of the following parts:
Base URL: https://www.ebi.ac.uk/mi/impc/solr
Core name:
statistical-result
Command: selec
Parameter 1: q=*:*
Parameter 2: fl=marker_symbol,effect_size,p_value
Parameter 3: rows=3

Figure 3. Solr request in browser.

Let’s break down the example:

  • Base URL: The necessary part of the link that allows us to access the database
  • Core name: We need to specify the collection of data. Currently, we have five cores available: experiment, impc_images, statistical-result, genotype-phenotype, and phenodigm. More information about the data in these cores is provided in this section
  • Command: select is the only available command for the IMPC data. It instructs Solr to execute a search query and return documents matching the specified parameters
  • Solr Parameters: In this example, we have three parameters: q, fl, and rows, separated by ampersands (&)

We will look at the output in the next section.