Ah yes, that was my rationale for looking at Whoosh. I figured it would be nice to have a self-contained solution which could run e.g. on a Raspberry Pi, with SQLite instead of PostgreSQL, and Whoosh instead of Solr. But I remember running into some interfacing problems (Whoosh and Solr don't look quite the same from the outside), and the work has been dormant for a couple of years.
Actually I'm not sure about the status of Whoosh - Just checked, the last PyPI release was in 2016, but the last Github commit was only 3 months ago. Le dim. 17 avr. 2022 à 17:11, Thierry Florac <[email protected]> a écrit : > > Hi Laurent, > > I'm actually using Elasticsearch, with a custom integration package to > include it in my framework! > It works very well, but I'm also looking for a default alternative, > "internal" and lighter, as Hypatia does, which doesn't rely on an external > service to handle objects cataloging, and which is really sufficient to > handle indexing of small to medium websites... > Maybe I'll try to fork and make a merge request; Python 3.10 is not my actual > target actually but it will probably be an option in the near future! > > Best regards, > Thierry > -- > https://www.ulthar.net -- http://pyams.readthedocs.io > > > Le dim. 17 avr. 2022 à 15:09, Laurent Daverio <[email protected]> a écrit : >> >> Hi Thierry, >> >> when I started using Pyramid (Pylons, actually), my first idea was to >> integrate the Xapian library, written in C++. Coming from the Zope >> world, I tried to adopt some ideas from the ZCatalog. Xapian worked >> great, except for one problem: it's a library, not a server, thus it >> doesn't handle concurrent updates gracefully (doesn't handle them at >> all, actually...). >> >> So, after a little while, I decided to switch to Solr, which is a >> great indexing engine written in Java. It takes a little while to get >> familiar with it, but it's worth the effort. I used `scorched` for >> interfacing with Python. Please note that the PyPI release doesn't >> work with Python 3.10, but the Github version does. Scorched doesn't >> seem to be actively maintained, unfortunately, but it works fine. I'm >> aware that ElasticSearch might be more popular than Solr these days >> (they're both based on the ame Apache Lucene libraries), but I haven't >> had the motivation to try it out. >> >> I you're looking for a pure Python solution, Whoosh could be a choice, >> but it doesn't seem to be actively maintained either. At some point, I >> tried to integrate it with Pyramid, but I didn't have enough >> motivation to finalise it (I'm happy with Solr, it's superfast, and if >> you're doing frontend programming, you can process its JSON responses >> directly). >> >> Please note that both Solr/ElasticSearch and Woosh offer faceting, a >> feature missing from the ZCatalog. >> >> Hope this helps, >> >> Laurent. >> >> Le dim. 17 avr. 2022 à 13:14, Thierry Florac <[email protected]> a écrit : >> > >> > Hi, >> > >> > I'm actually using the Hypatia package for content indexing and I'm very >> > happy with it, but this package doesn't seem to be updated for a very long >> > time (2 years since last commit). >> > Actually, my own packages unit tests are failing when using Python 3.10 >> > with Hypatia, so I was wondering if it is actually used and maintained, or >> > is there any alternative ? >> > >> > Best regards, >> > Thierry >> > -- >> > https://www.ulthar.net -- http://pyams.readthedocs.io >> > >> > -- >> > You received this message because you are subscribed to the Google Groups >> > "pylons-discuss" group. >> > To unsubscribe from this group and stop receiving emails from it, send an >> > email to [email protected]. >> > To view this discussion on the web visit >> > https://groups.google.com/d/msgid/pylons-discuss/CAPX_VWBOptsdANDDQZiZGEaXqVnWfv2Oa4aFty4YHD2%2BT-60_Q%40mail.gmail.com. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "pylons-discuss" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/pylons-discuss/CAB7cU6xX51RLsgetgTbWsgzJfzHaF_t0RcZVi2cPWVOTi0tEtQ%40mail.gmail.com. > > -- > You received this message because you are subscribed to the Google Groups > "pylons-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/pylons-discuss/CAPX_VWDcwOnubxoVA0ga6hGn9VFRT-z3eJ%2BWtqdq16r7RLBndQ%40mail.gmail.com. -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/pylons-discuss/CAB7cU6w22FWwtJ0NfGHKZ-y%2BpHZMTb_oiVjfhCu1zHuy30gY2Q%40mail.gmail.com.
