Autonomous Multi-Check AI Code Review
A Python tool that runs Claude Code in an autonomous, multi-check review loop with four levels of review thoroughness, cross-check coherence validation, and convergence detection.
Recent content on Alexander Marquardt
A Python tool that runs Claude Code in an autonomous, multi-check review loop with four levels of review thoroughness, cross-check coherence validation, and convergence detection.
Turn messy open-source product data into clean, image-rich NDJSON for e-commerce demos and relevance work.
Moved to Elastic’s blog - https://www.elastic.co/search-labs/blog/function-score-query-boosting-profit-popularity-elasticsearch
Introduction Whether you’re looking for a product in an online store, an article in a news archive, or a file in a company knowledge base, the quality of the search experience determines how quickly you find what you need. Behind the scenes, many of these systems are powered by Elasticsearch , a popular open-source search engine designed to handle large volumes of data and return relevant results…
This article has now been published on Elastic’s website. Please check it out at: https://www.elastic.co/search-labs/blog/efficient-bitwise-matching-in-elasticsearch
Introduction Kibana is an open-source data visualization and exploration tool used for log and time-series analytics, application monitoring, and operational intelligence use cases. It offers powerful and easy-to-use features that allow users to visualize data from Elasticsearch in various formats such as charts, tables, and maps. While Kibana offers a robust user interface for managing many…
Motivation Originally from Canada, I have lived in Barcelona on and off since 2003. Over the years, many friends and acquaintances have asked for my recommendations on what to see and do in this beautiful city. To save time and ensure no detail is missed, I’ve compiled this comprehensive guide based on my personal experiences and research I’ve done over the years. Welcome to Barcelona!…
Introduction Elasticsearch Time Series Data Streams (TSDS) are designed to provide an efficient and scalable way to handle time-based data within the Elasticsearch ecosystem. This feature is specifically optimized for storing, searching, and managing time-series data such as metrics, and events, where data is continuously indexed in chronological order. However, if events arrive with timestamps…
Introduction In a recent article that I wrote for Airbyte it was necessary for me to copy and paste a table from Google Sheets into Webflow . Unfortunately, Webflow doesn’t currently support copy/paste of tables directly in its editor. In this blog, I present a workaround that can be used to convert a table from Google Sheets into HTML, which can then be written into a Webflow custom code block .…
Introduction Logstash is commonly used for transforming data before it is sent to another system for storage, and so it is often well positioned for finding and replacing sensitive text, as may be required for GDPR compliance. Therefore, in this blog I show how Logstash can make use of a ruby filter to scan through the contents of an event and to replace each occurrence of sensitive text with the…
Authors Ronald R. Marquardt Suzhen Li Alexander Marquardt In association with All Natural Nutritional Products (ANNP) Inc. Introduction This blog provides an overview of recent research in the field of ageing. A brief overview of the book: “Lifespan: Why we age — and why we don’t have to” David A. Sinclair and M. D. LaPlante have written a New York Times Bestseller called…
This is now published on Elastic’s official blog. Please check it out at: https://www.elastic.co/blog/improve-search-relevance-by-combining-elasticsearch-stemmers-and-synonyms
Introduction When driving data into Elasticsearch from Filebeat , the default behaviour is for all data to be sent into the same destination index regardless of the source of the data. This may not always be desirable since data from different sources may have different access requirements , different retention policies, or different ingest processing requirements. In this post, we’ll use…
Introduction In several previous blog posts I have shown how a Painless script can be used to process new documents as they are ingested into an Elasticsearch cluster. In each of these posts I have made use of the simulate pipeline API to test the Painless scripts. While developing such scripts, it may be helpful to use Painless Lab (Beta) in Kibana to debug Painless scripts. In this blog I will…
Authors Alexander Marquardt Honza Kral Introduction Painless is a simple, secure scripting language designed specifically for use with Elasticsearch. It is the default scripting language for Elasticsearch and can safely be used for inline and stored scripts. In one of its many use cases, Painless can modify documents as they are ingested into your Elasticsearch cluster. In this use case, you may…
Introduction When using Elasticsearch, in some rare instances you may see an error such as “Too many dynamic script compilations within X minutes”. Such an error may be caused by a poor script design where parameters are hard-coded . In other cases this may be due to the script cache being too small or the compilation limit being too low. In this article, I will show how to determine…
Introduction Elasticsearch allows you to unify your observability data in a powerful datastore so you can search and apply interactive analytics in real time to a huge number of use cases. In one such use case, you may be using Elasticsearch to monitor a system that is composed of multiple microservices that process a given transaction. For such a system, you may be collecting an event…
This article is available on Elastic’s blog as a 3-part series. Please check it out at the following URLs: https://www.elastic.co/blog/structuring-elasticsearch-data-with-grok-on-ingest-for-faster-analytics https://www.elastic.co/blog/slow-and-steady-how-to-build-custom-grok-patterns-incrementally…
This article is available on Elastic’s blog at: https://www.elastic.co/blog/calculating-ingest-lag-and-storing-ingest-time-in-elasticsearch-to-improve-observability
Page moved to https://alexmarquardt.com/using-boolean-queries-to-improve-search-relevancy-in-elasticsearch/
This article is available at: https://www.elastic.co/blog/how-to-improve-elasticsearch-search-relevance-with-boolean-queries
Authors Tom Schreiber Alex Marquardt Version This blog article is based on ECE 2.4.3. Introduction Elastic Cloud Enterprise (ECE) is a platform designed to ease the management, deployment, and configuration of multiple Elasticsearch clusters through a single administrative user interface. ECE, is the same product that powers the Elasticsearch Service hosted offering, and is available for…
Introduction In this blog, we use Elastic machine learning (ML) and derivative aggregations to detect sudden unexpected increases or decreases in the rate-of-change of CPU load on servers that are monitored by Metricbeat . In order to make this blog easier to follow and the results easy to recreate, we abstract away the requirement for driving data from Metricbeat, and instead generate…
This article is available at: https://www.elastic.co/blog/how-to-enrich-logs-and-metrics-using-an-elasticsearch-ingest-node
Introduction Many organisations use excel files for creating and storing important data. For various reasons it may be useful to import such data into Elasticsearch. For example, one may need to get Master Data that is created in a spreadsheet into Elasticsearch where it could be used for enriching Elasticsearch documents . Or one may wish to use Elasticsearch and Kibana for analysing a dataset…
Introduction Logstash is an open source, server-side data processing pipeline that ingests data from a multitude of sources, transforms it, and then sends it to one or more outputs. One use of Logstash is for enriching data before sending it to Elasticsearch. Logstash supports several different lookup plugin filters that can be used for enriching data. Many of these rely on components that are…
This article is available at: https://www.elastic.co/blog/how-to-create-maintainable-and-reusable-logstash-pipelines
Introduction Logstash is a tool that can be used to collect, process, and forward events to Elasticsearch. In order to demonstrate the power of Logstash when used in conjunction with Elasticsearch’s scripted upserts , I will show you how to create a near-real-time entity-centric index . Once data is transformed into an entity-centric index, many kinds of analysis become possible with simple…
Introduction Elasticsearch supports atomic create, update, and delete operations at the individual document level, but does not have built-in support for multi-document transactions . Although Elasticsearch does not position itself as a system of record for storing data, in some cases it may be necessary to modify multiple documents as a single cohesive unit. Therefore, in this blog post we…
This article is available at: https://www.elastic.co/blog/converting-local-time-to-iso-8601-time-in-elasticsearch
Moved to: https://alexmarquardt.com/es-local-indexer-desktop-search-built-with-elasticsearch/
Introduction Elasticsearch provides search functionality for some of the most important websites in the world including Wikimedia (i.e. Wikipedia) , eBay , Yelp , Tinder , and many others. Elasticsearch is super scalable, which means that just as easily as it can be scaled it up for use in huge complex systems, it can also be scaled down for use in smaller projects. ES Local Indexer is a small…
Introduction Many natural products exist that are purported to be able to prevent hangovers, but unfortunately when one talks about natural hangover remedies it is difficult to find many well funded scientific studies that validate or refute such claims. This is at least in part because few if any companies are willing to invest millions of dollars investigating and running clinical trials to…
Disclaimer I am not an accountant and this article should not be considered as financial or tax advice . I am providing analysis and calculations which may be used at your own peril. This article is written to demonstrate basic concepts, and does not account for country-specific tax laws or company-specific share option details. Your individual situation may invalidate some or all of the arguments…
Introduction When using Beats with Elasticsearch, it may be useful to keep track of how many unique agents are sending data into an Elasticsearch cluster, and how many documents each agent is submitting. Such information for example could be useful for detecting if beats agents are behaving as expected. In this blog post, I first discuss how to efficiently specify a filter for documents…
This article is available at: https://www.elastic.co/blog/using-parallel-logstash-pipelines-to-improve-persistent-queue-performance
This article can be found at: https://www.elastic.co/blog/how-to-debug-elasticsearch-source-code-in-intellij-idea
This article is available at: https://www.elastic.co/blog/elasticsearch-security-configure-tls-ssl-pki-authentication
Introduction By default, Elasticsearch is tuned for the best trade-off between write performance and query performance for the majority of use cases. In this blog posting we cover some parameters that can be configured to improve query-time aggregation performance, with some of these improvements coming at the expense of write performance. Note that this blog posting does not present anything that…
This article is available at: https://www.elastic.co/blog/using-logstash-to-split-data-and-send-it-to-multiple-outputs
Overview Logstash’s prune filter plugin can make use of whitelists to ensure that only specific desired fields are output from Logstash, and that all other fields are dropped. In this blog post we demonstrate the use of Logstash to whitelist desired fields and desired sub-documents before indexing into Elasticsearch. Example input file As an input to Logstash, we use a CSV file that contains…
This article is available at: https://www.elastic.co/blog/how-to-find-and-remove-duplicate-documents-in-elasticsearch
Introduction When using MongoDB there are several approaches that make it easy to store and retrieve binary data, but it is not always clear which approach is the most appropriate for a given application. Therefore, in this blog post I discuss several methods for storing binary data when using MongoDB and the trade-offs associated with each method. Many of the trade-offs discussed here would…
Now on MongoDB’s website This blog article has been published by MongoDB at https://www.mongodb.com/blog/post/generating-globally-unique-identifiers-for-use-with-mongodb Motivation By default, MongoDB generates a unique ObjectID identifier that is assigned to the _id field in a new document before writing that document to the database. In many cases the default unique identifiers assigned by…
Introduction While MongoDB provides high-availability and data durability through automatic replication of data to multiple servers, this replication does not protect the database against human or application errors. For example, if an administrator drops a database, the drop operation will be replicated across the MongoDB deployment, and data will be deleted. If such an event occurs through human…
Senior Principal Architect | GenAI & Search In my current role at Elastic, I work on GenAI and Search across real-world deployments where relevance, reliability, and performance requirements drive architectural decisions. I capture high-impact, one-off solutions and turn them into reusable assets, including patterns, middleware, tools, and delivery models. These assets reduce recurring escalations…
Public image assets intended for demos and testing.
My professional work spans semiconductor architecture, distributed search systems, and large-scale data platforms. This page provides supporting material for that work, including selected publications, patents, open-source projects, and formal education. External Profiles LinkedIn Profile Github Profile Recognition Author of three papers that were selected to be amongst the 25 most significant…