Posts

Showing posts from June, 2025

solr attribute values

Feature stored="true" indexed="true" docValues="true" Purpose Fetch actual field in results Enables search/filtering Enables sorting, faceting, grouping Access style Row-based Inverted index (term → docs) Columnar (doc → value) Memory efficient? No (for many fields) Moderate Yes (when used correctly) Fast filtering? ❌ ✅ ✅ (especially for large sets) Fast faceting? ❌ ❌ (classic facet is slow) ✅ (modern JSON Facets) Tree DB Example ogr_geometry_wkt : yes (needed in query results) species : yes (to show in search hits) species : yes (to allow text search) meanht : yes (to filter trees by height) ...

Solr worked example with National Trees, from "Ground up" :)

This is minimum to get Solr 9.8 started:   <schema name="national_trees_MAY_2025" version="1.6">   <uniqueKey>ogr_fid</uniqueKey> <!-- Reserved/Required --> <field name="_version_" type="long" indexed="true" stored="true"/> <!-- Bools -->   <fieldType name="boolean" class="solr.BoolField"/>   <fieldType name="booleans" class="solr.BoolField" multiValued="true"/> <!-- Numerics --> <fieldType name="pint" class="solr.IntPointField"/> <fieldType name="pints" class="solr.IntPointField" multiValued="true"/> <fieldType name="plong" class="solr.LongPointField"/> <fieldType name="plongs" class="solr.LongPointField" multiValued="true"/> <fieldType name="pfloat" class="solr.FloatPointField"/...

Certbot

 sudo certbot renew --dry-run very good.

Bash

 CTRL - U clears any junk on line