Is there a pure Python Lucene?

后端 未结 8 923
我在风中等你
我在风中等你 2021-01-30 16:51

The ruby folks have Ferret. Someone know of any similar initiative for Python? We\'re using PyLucene at current, but I\'d like to investigate moving to pure Python searching.

相关标签:
8条回答
  • 2021-01-30 17:03

    I recently found pyndexter. It provides abstract interface to various different backend full-text search engines/indexers. And it ships with a default pure-python implementation.

    These things can be disastrously slow though in Python.

    0 讨论(0)
  • 2021-01-30 17:03

    After weeks of searching for this, I found a nice Python solution: repoze.catalog. It's not strictly Python-only because it uses ZODB for storage, but it seems a better dependency to me than something like SOLR.

    0 讨论(0)
  • 2021-01-30 17:09

    Whoosh is a new project which is similar to lucene, but is pure python.

    0 讨论(0)
  • 2021-01-30 17:09

    lupy was a lucene port to pure python.The lupy people suggest that you use PyLucene. Sorry. Maybe you can use the Java sources in combination with Jython.

    0 讨论(0)
  • 2021-01-30 17:21

    +1 to the Xapian and Pyndexter answers.

    Ferret is actually written in C with Ruby bindings on top. A pure Ruby search engine would be even slower than a pure Python one. I would love to see "someone else" write a Cython/Pyrex layer for Python interface to Ferret, but won't do it myself because why bother when there are Python bindings for Xapian.

    0 讨论(0)
  • 2021-01-30 17:23

    For some applications pure Python is overrated. Take a look at Xapian.

    0 讨论(0)
提交回复
热议问题