Apache Solr Quick Start Guide Mac High Sierra 10.13

Solr Quick Start Guide Mac High Sierra




Welcome Mac User! The Tutorial Shows You Step-by-Step How-to Quick Start with Apache Solr on Mac 10.13 High Sierra OS X.

And the Apache Solr Mac High Sierra Install is an industrial-strength, high performance, thread-safe search server based on Apache Lucene.

Furthermore Solr uses Lucene under the covers to provide the most powerful full text search capabilities available in any open source product.

Apache Solr Quick Start Guide Mac High Sierra 10.13 - Featured
  1. Open a Shell Terminal emulator window
    Finder > Applications > Utilities > Terminal
    (Press “Enter” to Execute Commands)

    Apache Solr Quick Start Guide Mac High Sierra 10.13 - Open Terminal
  2. See How to Install Apache Solr on Mac

    Mac Apache Solr Installation
  3. Then Make Solr First Configuration
    We’ll initialize a 2 nodes Solr Cluster!

    bin/solr start -e cloud

    And Follow the CLI Wizard…
    Press to Confirm 2 when prompted:

    how many Solr nodes would you like to run in your local cluster? (specify 1-4 nodes) [2]:

    Then simply Hit for First Node’s Port:

    Please Enter the port for node1 [8983]:

    And Again for the Second one:

    Please Enter the port for node2 [7574]:

    Then the 2 Nodes Cluster will be Initialized:

    Cluster at localhost:9983 ready
  4. Again when Prompted Start Making a Collection Data Index
    So Set Name as “techproducts” and Hit :

    Please provide a name for your new collection: [gettingstarted]
    techproducts

    Confirm for the 2 Shards -> (In SolrCloud, a logical partition of a single Collection):

    How many shards would you like to split techproducts into? [2]
    

    And again for the Replicas -> (Shards Replicas distributed across multiple Nodes for fault tolerance):

    How many replicas would you like to split techproducts into? [2]
    

    Finally Set the Config File’s Name to “sample_techproducts_configs”:

    Please choose a configuration for the techproducts collection, available options are:
    _default or sample_techproducts_configs [_default]
    
    sample_techproducts_configs

    And You’ll be Greated with a:

    SolrCloud example running, please visit: http://localhost:8983/solr

    Congratulations You are Riding a Solr Search Cloud!

  5. Access Solr Admin UI on Browser at
    http://localhost:8983/solr/

    Apache Solr Quick Start Guide Mac High Sierra 10.13 - Solr Admin Backend
  6. Load some Data to Start Making Queries
    Here we’ll Index the techproducts Directory’s Data with:

    bin/post -c techproducts example/exampledocs/*s

    Now we’re ready to Start Searching…
    Congratulations!

  7. Solr Searching
    There are severals Options to Make Queries to Solr Server:
    Admin UI, cUrl,wget, Chrome POSTMAN, …, as well as several programming Client APIs.
    To access the Browsers Query facility go to: http://localhost:8983/solr/#/techproducts/query

    Apache Solr Quick Start Guide Mac High Sierra 10.13 - Solr Searching on Browser Admin
    Or with cUrl you can try a query like:

    curl "http://localhost:8983/solr/techproducts/select?q=foundation"

    Here Looking for the Term “foundation”
    Find here below Further Docs to improve your Solr Searching Skill!

  8. Apache Solr Searching Extended Documentation

    Apache Solr Queries Online Docs