[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdebase/runtime/nepomuk/services/strigi
From: Sebastian Trueg <sebastian () trueg ! de>
Date: 2010-10-29 13:22:06
Message-ID: 20101029132206.37ABFAC899 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1191037 by trueg:
Do only create nfo:FileDataObject and nfo:Folder entries for existing files and \
folder. This is important for indexing email attachments.
M +2 -0 nepomukindexwriter.cpp
--- trunk/KDE/kdebase/runtime/nepomuk/services/strigi/nepomukindexwriter.cpp \
#1191036:1191037 @@ -286,6 +286,7 @@
{
feeder->addStatement( resourceUri, Nepomuk::Vocabulary::NIE::url(), fileUrl \
);
+ if ( fileInfo.exists() ) {
// Strigi only indexes files and extractors mostly (if at all) store the \
nie:DataObject type (i.e. the contents)
// Thus, here we go the easy way and mark each indexed file as a \
nfo:FileDataObject. feeder->addStatement( resourceUri,
@@ -297,6 +298,7 @@
Nepomuk::Vocabulary::NFO::Folder() );
}
}
+ }
FileMetaData* fileDataForResult( const Strigi::AnalysisResult* idx )
{
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic