Indexing org-mode files
I keep most of my personal notes in the org-mode files (mark-up language/mode heavily integrated with emacs). The common strategy is to keep multiple notes in one file, i.e each note represents the stand-alone document.
My goal is to have the org-mode files indexed according this logic (find org-mode files -> split it by notes -> index individual notes). Currently I split the org-mode files outside of recoll and then they are indexed. This has several shortcomings - duplication of the original files, the search results point me to the duplicate file instead to the original one.
I thought I could write a filter solving this problem. I went through the doc and the filters code and tried to find some filter solving similar problem (split original and index splitted parts) but without success. Do you some idea or could you point me somewhere (or telling me this is just stupid idea is also perfectly fine)?
Example of my typical org-mode file with 3 notes
* plotting and charting libs for bash :2009cli:
:PROPERTIES:
:dated: [2020-11-28 Sat 12:10]
:type: summary
:subject: programming sysadmin visualization
:ID: 20201128T121122.046072
:END:
- doporuceni https://stackoverflow.com/questions/123378/command-line-unix-ascii-based-charting-plotting-tool co tam je zmineno ve vetsinou dole
https://github.com/kroitor/asciichart - tahle bohuzel nema cli interface, ma plno portu
- .....................
* wireless sensor networks :2006hardware:
:PROPERTIES:
:dated: [2020-11-27 Fri 22:58]
:type: system
:subject: electronics hardware
:ID: 20201127T230007.537416
:END:
- concepts
- https://en.wikipedia.org/wiki/Wireless_sensor_network a https://en.wikipedia.org/wiki/Template:Wireless_Sensor_Network
- ......................
* law and legal code versioned on github
:PROPERTIES:
:dated: [2020-11-27 Fri 22:40]
:type: synergy cross-application
:subject: law programming business
:ID: 20201127T224147.109961
:END:
- origin https://qz.com/373326/the-entire-french-legal-code-dating-back-to-napoleon-is-now-on-github/
- french https://github.com/steeve/france.code-civil
- ........