For reference this is the diff. I am not gonna apply it as is, as it'll
require a reindex in order to take effect:

=== modified file 'fts/'
--- fts/  2011-09-07 08:42:40 +0000
+++ fts/  2011-09-27 08:15:08 +0000
@@ -607,7 +607,7 @@
                # usually web URIs, are indexed in another way because there may
                # be domain name etc. in there we want to rank differently
                scheme, host, path = self._split_uri (url_unescape (uri))
-               if scheme == "file://" or not scheme:
+               if scheme == "file" or not scheme:
                        path, name = os.path.split(path)
                        self._tokenizer.index_text(name, 5)
                        self._tokenizer.index_text(name, 5, "N")
@@ -619,7 +619,7 @@
                                path, name = os.path.split(path)
                                self._tokenizer.index_text(name, weight)
-               elif scheme == "mailto:":
+               elif scheme == "mailto":
                        tokens = host.split("@")
                        name = tokens[0]
                        self._tokenizer.index_text(name, 6)

** Changed in: zeitgeist-extensions
   Importance: Undecided => High

** Changed in: zeitgeist-extensions
       Status: New => Triaged

You received this bug notification because you are a member of Zeitgeist
Extensions, which is the registrant for Zeitgeist Extensions.

  FTS doesn't index paths correctly

Status in Zeitgeist Extensions:

Bug description:
  There's a bug in scheme branching in fts (~line 610) which cause
  file:// uris to truncate and index the same way as http and other

To manage notifications about this bug go to:

Mailing list:
Post to     :
Unsubscribe :
More help   :

Reply via email to