<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>208596</bug_id>
          
          <creation_ts>2009-09-26 13:53:08 +0000</creation_ts>
          <short_desc>keep a clean Nepomuk store (automatically purge redundant data)</short_desc>
          <delta_ts>2010-03-24 09:35:30 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>Unmaintained</classification>
          <product>nepomuk</product>
          <component>general</component>
          <version>unspecified</version>
          <rep_platform>unspecified</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>wishlist</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="uetsah">uetsah</reporter>
          <assigned_to name="Sebastian Trueg">sebastian</assigned_to>
          <cc>tassilo</cc>
    
    <cc>trueg</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>835891</commentid>
    <comment_count>0</comment_count>
    <who name="uetsah">uetsah</who>
    <bug_when>2009-09-26 13:53:08 +0000</bug_when>
    <thetext>Version:            (using KDE 4.3.1)
OS:                Linux
Installed from:    Unlisted Binary Package

I get the feeling my Nepomuk store size is only growing and growing...

When deleting previously indexed files, and when adding new Strigi index exclude filters in the Nepomuk configuration, the Nepomuk store should properly shrink to exactly the same state as if .kde/share/apps/nepomuk/repository were deleted and everything re-indexed from scratch.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>836829</commentid>
    <comment_count>1</comment_count>
    <who name="Sebastian Trueg">trueg</who>
    <bug_when>2009-09-28 12:03:02 +0000</bug_when>
    <thetext>Deleting previously indexed files should already be handled. The size of the db, however, is no good indicator. It ca fluctuate based on internal states.
It would be better to test like this:

sopranocmd --model main --dbus org.kde.NepomukStorage list &quot;&lt;file:///home/me/path/to/a/deleted/file&gt;

Also be aware that removed files are only picked up at the next big sweep, not immedeately.

Could you please test the above.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>836953</commentid>
    <comment_count>2</comment_count>
    <who name="uetsah">uetsah</who>
    <bug_when>2009-09-28 17:12:26 +0000</bug_when>
    <thetext>Okay, I can confirm that according to the sopranocmd command deleting previously indexed files does in fact remove the corresponding data in the index.

However, so far I can&apos;t see any effect of removing an entry from the exclude filters list. (Is there any way to manually force one of those &quot;big sweps&quot;?)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>837376</commentid>
    <comment_count>3</comment_count>
    <who name="Sebastian Trueg">trueg</who>
    <bug_when>2009-09-29 14:30:24 +0000</bug_when>
    <thetext>To update all folders call:

qdbus org.kde.nepomuk.services.nepomukstrigiservice /nepomukstrigiservice org.kde.nepomuk.Strigi.updateAllFolders</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>923396</commentid>
    <comment_count>4</comment_count>
    <who name="Sebastian Trueg">trueg</who>
    <bug_when>2010-02-24 12:26:27 +0000</bug_when>
    <thetext>This is done automatically on config change now.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>