/ factorpad.com / tech / solr / reference / solr-reference.html
An ad-free and cookie-free website.
Beginner
Currently we offer the following sections, and will add to it over time.
If a more linear approach better suits you, tutorials can be accessed from our Apache Solr Search Tutorials on YouTube and all code examples are provided in text on this website at Solr Tutorial.
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
with -help
for each command.
Command | Link | Purpose |
---|---|---|
solr help |
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
accessed using ~/$SOLR_HOME/bin/solr
where $SOLR_HOME is the directory where Solr was
installed. In the case of Solr 7, the whole path would be
~/solr-7.0.0/bin/solr
.
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
environment.
Command | Link | Purpose |
---|---|---|
solr post |
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.
The Solr schema (managed-schema
or
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
and filters.
Topic | Link | Purpose |
---|---|---|
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 schema.xml
and
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"
configruation.
Topic | Link | Purpose |
---|---|---|
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.
/ factorpad.com / tech / solr / reference / solr-reference.html
A newly-updated free resource. Connect and refer a friend today.