Query sample data

Run a query to verify that the sample data is successfully indexed and that you are able to search it.

  1. SSH into a cluster node.
  2. Open the Solr admin web interface in a browser.
    https://search01.example.com:8985/solr
    Replace search01.example.com with the name of any host running the Solr Server process. If you have security enabled on your cluster, enter the credentials for the Kerberos principal when prompted.
  3. Select Cloud from the left panel.
  4. From the Collection Selector drop-down menu in the left panel, select the test_collection collection.
  5. Select Query from the left panel and click Execute Query. If you see results such as the following, indexing was successful:
    "response":{"numFound":32,"start":0,"maxScore":1.0,"docs":[
          {
            "id":"SP2514N",
            "name":["Samsung SpinPoint P120 SP2514N - hard drive - 250 GB - ATA-133"],
            "manu":["Samsung Electronics Co. Ltd."],
            "manu_id_s":"samsung",
            "cat":["electronics",
              "hard drive"],
            "features":["7200RPM, 8MB cache, IDE Ultra ATA-133",
              "NoiseGuard, SilentSeek technology, Fluid Dynamic Bearing (FDB) motor"],
            "price":[92.0],
            "popularity":[6],
            "inStock":[true],
            "manufacturedate_dt":"2006-02-13T15:26:37Z",
            "store":["35.0752,-97.032"],
            "manu_str":["Samsung Electronics Co. Ltd."],
            "_version_":1650678864820568064,
            "cat_str":["electronics",
              "hard drive"],
            "name_str":["Samsung SpinPoint P120 SP2514N - hard drive - 250 GB - ATA-133"],
            "features_str":["7200RPM, 8MB cache, IDE Ultra ATA-133",
              "NoiseGuard, SilentSeek technology, Fluid Dynamic Bearing (FDB) motor"],
            "store_str":["35.0752,-97.032"]},