More Info

Revision 632647

(Back to digest)
 

Features in KDE Base

Jos van den Oever committed changes in /trunk/playground/base/strigi:

Add a framework for handling hierchies of field types. Each field type can have a field name, a parent type, a maximal occurrence count (not yet enforced) and a data type (currently string, binary, float or int). In addition to this, the field type system will have the possibility for the indexwriter to store arbitrary data. A potential use for this is the ablity to cache fieldnames in a way that can be written faster.

This is, for example, useful when using a mapping from one fieldname to another. By storing the name to be mapped to, expensive lookups can be avoided.

File Changes

Added 2 files
/trunk/playground/base/strigi/src/streamindexer
 
/fieldtypes.cpp
 
/fieldtypes.h
Modified 53 files
/trunk/playground/base/strigi
 
/CMakeLists.txt
 
/TODO
 
/src/dummyindexer/dummyindexwriter.h
 
/src/dummyindexer/grepindexwriter.cpp
 
/src/dummyindexer/grepindexwriter.h
 
/src/indexertests/indexmanagertests.cpp
 
/src/luceneindexer/cluceneindexwriter.cpp
 
/src/luceneindexer/cluceneindexwriter.h
 
/src/streamindexer/arendanalyzer.cpp
 
/src/streamindexer/arendanalyzer.h
 
/src/streamindexer/bmpendanalyzer.cpp
 
/src/streamindexer/bmpendanalyzer.h
 
/src/streamindexer/bz2endanalyzer.cpp
 
/src/streamindexer/bz2endanalyzer.h
 
/src/streamindexer/CMakeLists.txt
 
/src/streamindexer/cnstr.cpp
 
/src/streamindexer/cnstr.h
 
/src/streamindexer/digestthroughanalyzer.cpp
 
/src/streamindexer/digestthroughanalyzer.h
 
/src/streamindexer/expatsaxendanalyzer.cpp
 
/src/streamindexer/gzipendanalyzer.cpp
 
/src/streamindexer/gzipendanalyzer.h
 
/src/streamindexer/helperendanalyzer.cpp
 
/src/streamindexer/helperendanalyzer.h
 
/src/streamindexer/id3v2throughanalyzer.cpp
 
/src/streamindexer/id3v2throughanalyzer.h
 
/src/streamindexer/indexable.h
 
/src/streamindexer/indexerconfiguration.cpp
 
/src/streamindexer/indexerconfiguration.h
 
/src/streamindexer/indexwriter.cpp
 
/src/streamindexer/indexwriter.h
 
/src/streamindexer/mailendanalyzer.cpp
 
/src/streamindexer/mailendanalyzer.h
 
/src/streamindexer/oggthroughanalyzer.cpp
 
/src/streamindexer/oggthroughanalyzer.h
 
/src/streamindexer/pngendanalyzer.cpp
 
/src/streamindexer/pngendanalyzer.h
 
/src/streamindexer/rpmendanalyzer.cpp
 
/src/streamindexer/rpmendanalyzer.h
 
/src/streamindexer/saxendanalyzer.cpp
 
/src/streamindexer/saxendanalyzer.h
 
/src/streamindexer/streamendanalyzer.h
 
/src/streamindexer/streamindexer.cpp
 
/src/streamindexer/streamindexer.h
 
/src/streamindexer/tarendanalyzer.cpp
 
/src/streamindexer/tarendanalyzer.h
 
/src/streamindexer/textendanalyzer.cpp
 
/src/streamindexer/textendanalyzer.h
 
/src/streamindexer/zipendanalyzer.cpp
 
/src/streamindexer/zipendanalyzer.h
 
/src/xmlindexer/xmlindexwriter.h
 
/src/daemon/xsd/strigidaemonconfiguration.cpp
 
/src/daemon/xsd/strigidaemonconfiguration.h
55 files changed in total