Unterschiede zwischen den Revisionen 1 und 9 (über 8 Versionen hinweg)
Revision 1 vom 2008-04-17 21:24:52
Größe: 1596
Autor: lars
Kommentar: init
Revision 9 vom 2023-08-19 18:23:48
Größe: 0
Autor: phil
Kommentar: Veraltet
Gelöschter Text ist auf diese Art markiert. Hinzugefügter Text ist auf diese Art markiert.
Zeile 1: Zeile 1:
||<tablestyle="float:right;"> '''Inhalt'''[[TableOfContents]] ||
= What is it about? =

[http://pylucene.osafoundation.org/ PyLucene] is a [http://python.org/ python] interface for the [http://lucene.apache.org/ Lucene] indexing engine.

Indexing engines are used to parse data and store the content in way that is optimized for searching through it.

Another popular indexing engine is [http://xapian.org Xapian], but since its installation in Debian is more than trivial, there is no need for a howto :).

= Names and values =
||''Variable''||''Bedeutung''||''Beispiel''||

----

= Preparation =
== Which version of Lucene? ==
Currently there are two different releases of !PyLucene available:
 * to be built with [http://gcc.gnu.org/java/ GCJ] (the Java compiler from [http://gnu.org GNU]): for !PyLucene v2.2 and below
 * to be built with [http://svn.osafoundation.org/pylucene/trunk/jcc/jcc/README JCC] (an alternative implementation): for !PyLucene v2.2 and higher

The developer of !PyLucene dropped support for GCJ since version 2.3, thus it should be reasonable to use the JCC sources.


= Installation =

== Get the source ==
 * download the source from the !PyLucene download site: http://downloads.osafoundation.org/PyLucene/jcc/
 * unpack it in a directory of your choice (''tar xzf ...''')
 * change into the source directory

== Compile JCC ==
You may skip this step, if you already have a working JCC installation.
# install required packages: {{{
aptitude install sun-java5-jdk g++ java-gcj-compat-dev python-dev
cd jcc
python setup.py build

Creative Commons Lizenzvertrag
This page is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.