[Nepomuk] [PATCH] Strigi Service
Sebastian Trüg
trueg at kde.org
Sun May 9 16:16:06 CEST 2010
Forget my last email. I did not read the patch properly. Sorry.
Yes, this patch does indeed make sense. The only problem with it is the
spelling of the word "invalid". ;)
And yes, please delete the indexing graph rather than the resource
itself. The other possibility would be to do that in the filewatch
service. Maybe that does make even more sense. And then you could use a
query like so:
select ?g where { ?r nie:url ?url . filter(regex(str(?url),'^file://'))
. graph ?g { ?r ?p ?o . } . }
and then remove all those graphs. While that count be more complex it
would also remove all metadata graphs. Just a detail though.
Cheers,
Sebastian
On 05/09/2010 03:57 PM, Vishesh Handa wrote:
> This removes Resources which do not have a valid nie:uri. I've added it
> as a separate function, but I could couple it with the
> *IndexScheduler::removeOldAndUnwantedEntries()* if you want. I've used
> Nepomuk::Resouce::remove to remove them. Should I have just directly
> deleted the entire context/graph ?
>
> Please let me know.
>
> - Vishesh Handa
>
>
>
> _______________________________________________
> Nepomuk mailing list
> Nepomuk at kde.org
> https://mail.kde.org/mailman/listinfo/nepomuk
More information about the Nepomuk
mailing list