[Nepomuk] index archive contents for metadata

Sebastian Trüg sebastian at trueg.de
Mon Dec 5 13:20:02 UTC 2011


Does your indexer depend on the zip indexer? Because the only thing
Nepomuk disables is indexing of files with depth>1, ie. files in
archives. If your analyzer does the extraction and then creates values
with depth=1 then there should not be a problem.
Try running "nepomukindexer" manually on one of the files. It reports
anything that it throws away.

Cheers,
Sebastian

On 12/05/2011 01:05 PM, nihui wrote:
> hi all
> I have written strigi analyzers for some theme package types.[1]
> These theme packages are just zip archives, but have own type suffix,
> not .zip but .ssf.
> xmlindexer from strigi can successfully extract the specific metadata
> from .ssf files.
> however, dolphin only show the metadata for a few ones among all my .ssf
> files.
> I found that KFileMetaInfo class first trys to get metadata from
> nepomuk, if failed, then index file directly, but only read 65536 bytes,
> which is not enough for some big .ssf archive files.
> So I enabled nepomuk file indexer service, but dolphin still could not
> show those missing metadata.
> Finally, I found that nepomuk file indexer disabled the archive contents
> indexing ( see
> kde-runtime/nepomuk/services/fileindexer/indexer/indexer.cpp )
> 
> I wonder if it is possible to enable ind exing of .ssf files.
> 
> [1]
> https://projects.kde.org/projects/playground/utils/kimtoy/repository/revisions/master/show/strigi-analyzer
> 
> regards
> nihui
> 
> 
> 
> 
> 
> _______________________________________________
> Nepomuk mailing list
> Nepomuk at kde.org
> https://mail.kde.org/mailman/listinfo/nepomuk


More information about the Nepomuk mailing list