Unterschiede zwischen den Revisionen 1 und 2
Revision 1 vom 2008-04-17 21:24:52
Größe: 1596
Autor: lars
Kommentar: init
Revision 2 vom 2008-04-18 00:55:34
Größe: 1845
Autor: lars
Kommentar: compiling jcc finished
Gelöschter Text ist auf diese Art markiert. Hinzugefügter Text ist auf diese Art markiert.
Zeile 35: Zeile 35:
}}}
# ''fix'' the pre-settings in ''jcc/setup.py'' - a little bit dirty, but it works (alternative: fix the INCLUDE, CFLAGS and LFLAGS for linux in ''jcc/setup.py''): {{{
ln -s java-1.5.0-sun /usr/lib/jvm/java-6-sun
}}}
# compile JCC: {{{
Zeile 37: Zeile 42:
}}}

InhaltTableOfContents

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:

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

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

# fix the pre-settings in jcc/setup.py - a little bit dirty, but it works (alternative: fix the INCLUDE, CFLAGS and LFLAGS for linux in jcc/setup.py):

ln -s java-1.5.0-sun /usr/lib/jvm/java-6-sun

# compile JCC:

cd jcc
python setup.py build

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