Giter Site home page Giter Site logo

Plans? about org-sql HOT 4 CLOSED

ndwarshuis avatar ndwarshuis commented on July 19, 2024
Plans?

from org-sql.

Comments (4)

ndwarshuis avatar ndwarshuis commented on July 19, 2024

Thank you for the interest :) I haven't worked on this in a while mostly because I've been working on om.el. Indeed, making this was one of the inspirations for om.el, since alot of the functions I needed to use I had to make from scratch but would be useful elsewhere, hence library.

As far as plans, I don't see a huge need to add additional features unless there are other suggestions. The data this collects I think is fairly complete as far as representing org files in tabular format. Some current ideas which I see as incremental:

  • add support for more than just SQLite
  • refactor in terms of om.el (once that stabilizes) and other libraries that I can find
  • add the usual development tools like unit/integration tests and CI

I still haven't gotten around to making a front end for this (the original vision using R/python per the README) but that's also going to be a priority moving forward. Indirectly that may call for additional changes here.

Did you have any features in mind that are missing?

from org-sql.

alphapapa avatar alphapapa commented on July 19, 2024

Cool. My idea for an org-rifle indexer was to do the indexing in another process which would receive commands to index files from the main Emacs process, or run in a batch mode from a script, and then have an Emacs UI for searching the database interactively.

Quick question: have you experimented with SQLite full-text search indexes? In another project I did some tests with different kinds of FTS indexes, with and without different kinds of database compression, which you might find interesting: https://github.com/alphapapa/sword-converter/blob/master/notes.org#conclusion FTS indexing would be a crucial feature, of course, and SQLite provides a few different options. Compression would probably not be useful here, of course.

from org-sql.

ndwarshuis avatar ndwarshuis commented on July 19, 2024

Cool. My idea for an org-rifle indexer was to do the indexing in another process which would receive commands to index files from the main Emacs process, or run in a batch mode from a script, and then have an Emacs UI for searching the database interactively.

Like another process within emacs? As of now the sql update doesn't run asynchronously, but that shouldn't be hard to add if needed.

Quick question: have you experimented with SQLite full-text search indexes? In another project I did some tests with different kinds of FTS indexes, with and without different kinds of database compression, which you might find interesting: https://github.com/alphapapa/sword-converter/blob/master/notes.org#conclusion FTS indexing would be a crucial feature, of course, and SQLite provides a few different options. Compression would probably not be useful here, of course.

Nope, I haven't really tried anything beyond SQLite 'defaults.' Off the top of my head FTS shouldn't be too hard to add given the tables and operations I use here. Please open a separate issue for this with additional details as needed.

from org-sql.

alphapapa avatar alphapapa commented on July 19, 2024

I'm just throwing some ideas out there. :)

BTW, when you're ready to do testing/CI, you may find this helpful: https://github.com/alphapapa/makem.sh

from org-sql.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.