-
Notifications
You must be signed in to change notification settings - Fork 0
Solr
"Major features include full-text search, hit highlighting, faceted search, real-time indexing, dynamic clustering, database integration, NoSQL features and rich document handling." - Apache
Solr's index is called an "inverted index" because it inverts a page-centric data structure (page->words) to a keyword-centric data structure (word->pages). Solr stores this index in a directory called index in the data directory. See Basic Solr Concepts for a comprehensive definition and context.
In Solr, a Document is the unit of search and index. But in simple terms "In database terminology, a Document corresponds to a table row, and a Field corresponds to a table column."
...
Locate IP of solr server
docker inspect -f '{{range.NetworkSettings.Networks}}{{.IPAddress}}{{end}}' docker_solr_1
Get list of fields in core named "default".
curl http://$(docker inspect -f '{{range.NetworkSettings.Networks}}{{.IPAddress}}{{end}}' docker_solr_1):8983/solr/default/schema/fields
Solr's status
docker-compose exec solr bash -lc 'bin/solr status | grep running'