Apache Solr
- 20 Dcoins / hour
- standard machine
- ready in about 10 seconds
- database
- development
About Apache Solr
Apache Solr is a mature open-source search engine built on Lucene. This lab runs Solr 9.10 with its admin UI, where you can create a core, index documents and query them, all from the browser.
Learn what makes search different from a database query. Index a set of documents, then see how analysers break text into terms, how relevance is scored, and how facets count results by category for the filters on a shopping site. Query parameters let you boost fields, highlight matches and correct spelling, and the analysis screen shows exactly how a piece of text is tokenised.
Solr is lighter to run than Elasticsearch and teaches the same core ideas, which makes it a good choice for information retrieval courses. The project gallery's handbook search template covers vector search, the newer approach, for comparison.
What is installed
- Cores & collections
- Schema & analyzers
- Query browser
- Faceting & highlighting
What it is good for
- Search fundamentals
- Full-text indexing
- Relevance tuning
- Lighter Elasticsearch alternative
What it costs
20 Dcoins an hour while it runs (a standard machine), billed by the minute. Included on Pro and Power. Every new account starts with free Dcoins.
From Start to a working Apache Solr takes about 10 seconds, measured on our lab server. If the server is asleep, waking it first adds a minute or two.
Courses that practise this
- Design schemas that enforce their own rules, write joins and aggregations that answer real questions, and make slow queries fast with indexes, transactions and EXPLAIN — on a live PostgreSQL server.4 labs
Databases & SQL Engineering - Bash that fails loudly instead of lying, text pipelines that answer real questions from a log, a script with options and exit codes others can rely on, and a scheduled job proven under cron's own conditions.4 labs
Shell Scripting & Automation