- Elasticsearch – The Search API and Query DSL
The read side, in the order you need it. The anatomy of a response, match versus term and the single most common beginner bug hiding in that difference, multi_match across fields, _source filtering, pagination and the 10,000-result wall that from + size hits, track_total_hits, and highlighting — including the setting that stops a highlighted fragment from being an XSS hole.
- Linux SSH
SSH stands for “Secure Shell”. It is a protocol used to securely connect to a remote server. ssh is secure in the sense that it transfers the data in encrypted form between the host and the client. It transfers inputs from the client to the host and relays back the output. ssh runs at TCP/IP […]
- Elasticsearch – Bulk Indexing and Keeping It in Sync
Indexing 200 documents one call at a time took 526ms; the same 200 in one bulk request took 47ms. The bulk API, its partial-failure model — a 200 response that contains failures — and helpers.bulk. Then the harder half: how a Postgres row and a search document stay in step. Index after the commit and never before, why a failed index must not fail the write, and the outbox that retries it.
- Git cherry-pick
The cherry-pick command is used to apply a commit from one branch to another branch. Let’s say you have a feature branch that you are working on that have two stories. You finished the two stories but only need to push the first story to master. You have one commit for story number one and […]
- Javascript Fundamentals Part 1
Javascript is case-sensitive Everything in JavaScript including variables , function names, class names, and operators are case-sensitive. It means that counter and Counter variables are different. Comments JavaScript supports both single-line (//) and block(/**/) comments. // This is a single line…