Virtual Tag Detection — Examples & Tips
Learn how Indexly detects virtual tags from documents using customizable regex rules. Includes practical examples, editable fields in fts_core.py, and tips for refining OCR-based tag extraction.
Categories:
Indexly supports virtual tag detection using regex. This page shows practical examples.
Example Document
Customer: Customer Name
Seiral No.: 8721391
Created By: Max Mustermann
Category: Einkauf
Version Customer: V3.2
Batch: 12
Date Created: yyyy-mm-dd
CLI Preview
indexly search "search_term"
Customize Tag Detection
In fts_core.py, extend the tag_fields dictionary:
"Projektleiter": r"Projektleiter: (.+?)\n"
Run indexing again to apply new rules.
Notes
- First match per tag is used if multiple occur
- Test regex using
preview-tags - Works best with
.docxand quality OCR
See Usage Guide or Developer Notes for advanced usage.
