zeitgeist team mailing list archive
-
zeitgeist team
-
Mailing list archive
-
Message #05040
[Branch ~zeitgeist/zeitgeist/bluebird] Rev 413: Don't index ubuntuone's uids
------------------------------------------------------------
revno: 413
committer: Michal Hruby <michal.mhr@xxxxxxxxx>
branch nick: zeitgeist
timestamp: Tue 2012-03-06 23:03:17 +0100
message:
Don't index ubuntuone's uids
modified:
extensions/fts++/indexer.cpp
--
lp:zeitgeist
https://code.launchpad.net/~zeitgeist/zeitgeist/bluebird
Your team Zeitgeist Framework Team is subscribed to branch lp:zeitgeist.
To unsubscribe from this branch go to https://code.launchpad.net/~zeitgeist/zeitgeist/bluebird/+edit-subscription
=== modified file 'extensions/fts++/indexer.cpp'
--- extensions/fts++/indexer.cpp 2012-02-14 16:56:04 +0000
+++ extensions/fts++/indexer.cpp 2012-03-06 22:03:17 +0000
@@ -1002,6 +1002,11 @@
if (!IndexActor (uri, true))
IndexUri (uri, origin);
}
+ else if (uri.compare (0, 10, "ubuntuone:") == 0)
+ {
+ // U1 logs its uids, we don't want to index those
+ return;
+ }
else
{
IndexUri (uri, origin);