An ad-free and cookie-free website.
Currently we offer the following sections, and will add to it over time.
Below is a list of commands, tools, settings and terms used with Apache Solr for setting up website search and enterprise search. In general, this text analysis reference is for Solr Version 7.
Optimized for html5, web pages open in the current browser window.
The Solr script is used to manage Solr cores and collections from the command line. It is also used to start and stop Solr instances. In SolrCloud mode is can be used to set up shards and replicas and link to Apache ZooKeeper to manage search in a distributed environment.
Help and syntax for the commands within the Solr script can be
found using either
help generally or
-help for each command.
||Find help and syntax on the bin/solr script at the command line|
The solr script has 12 commands entered at the command line. It is
where $SOLR_HOME is the directory where Solr was
installed. In the case of Solr 7, the whole path would be
||Start Solr with settings such as foreground or background, cloud or standalone mode, ports, directories, example data sets and memory allocation.|
||Stop solr instances by key, port or all.|
||Restart solr with settings similar to the start command.|
||Report status of running Solr instances.|
||Report health measures on collections or hosts.|
||Create a core in standalone mode or a collection in SolrCloud mode with settings for name, directory, configurations, shards, replication and ports.|
||Create a core in standalone mode with settings for naming the core, configurations and ports.|
||Create a collection in SolrCloud mode with settings for naming the collection and setting the configurations, shards, replicas and ports.|
||Delete a core or collection with settings for configurations and ports.|
||Print the Solr version number.|
||Manage the Apache ZooKeeper with options for copying, removing, moving, listing and creating directories and managing nodes.|
||Set the authentication type to use basic authentication or Kerberos including configurations and prompts.|
The solr post script is used to post or put documents into a core
or collection. It is also located in the
~/solr-7.0.0/bin directory in a test
||Post documents to a core or collection to be indexed.|
As you head towards building a Solr search application in production you will need to become intimately familiar with Solr Fields, Types, Classes and Properties.
|Solr Field Types||A list of 21 field type classes provided in Apache Solr.|
|Solr Field Type General Properties||The 7 general properties that apply to all field types.|
|Solr Field Properties||A list of 19 field properties and their defaults.|
The Solr schema (
schema.xml) is used for both
indexing and at a query time to analyze incoming streams of text. The
field analysis process is broken into 3 steps: analyzers, tokenizers
|Analyzers||Common analyzers and their functionality.|
|Tokenizers||Common tokenizers including syntax and examples.|
|Filters||Common filters with syntax, examples and rationale.|
Customized index structures and search applications require
modifications to the
solrconfig.xml. Importing data to
the customized structures and parsing documents is an important step
in building the customized index as you move beyond the "Schemless"
|Solr Cell for Apache Tika Document Parsing||Review Apache Tika functionality for document parsing.|
Q: How often do we post new Solr content?
A: As with everything here new content depends on demand and whether we are working on projects for clients. If you want something pushed to the front of the queue let us know. Engage with us on YouTube or elsewhere on social media. Let us know what you want more of.
Consider subscribing to our YouTube Channel here, for more free learning about Apache Solr and Apache Lucene.
A newly-updated free resource. Connect and refer a friend today.