Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a pure Python Lucene?

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.

like image 582
PEZ Avatar asked Jan 13 '09 08:01

PEZ


People also ask

What is PyLucene?

PyLucene is a Python extension for accessing Java Lucene™. Its goal is to allow you to use Lucene's text indexing and searching capabilities from Python. It is API compatible with Java Lucene version 9.1. 0 as of April 27th, 2022. PyLucene is not a Lucene port but a Python wrapper around Java Lucene.


2 Answers

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

like image 72
A. Coady Avatar answered Sep 28 '22 01:09

A. Coady


The only one pure-python (not involving even C extension) search solution I know of is Nucular. It's slow (much slower than PyLucene) and unstable yet.

We moved from PyLucene-based home baked search and indexing to Solr but YMMV.

like image 39
zgoda Avatar answered Sep 28 '22 01:09

zgoda