I have a libzg query that searches for "v*" with an empty event as a template, 
this is the result:
DEBUG:zeitgeist.fts:Search '(v*) AND (())' gave 8 hits in 34.8780155182ms

The same query by using `./talis 'v*'`:
DEBUG:zeitgeist.fts:Search 'v*' gave 8845 hits in 12.4750137329ms

Now libzg search for "v" (again with empty event as a template)
DEBUG:zeitgeist.fts:Search '(v) AND (())' gave 8 hits in 0.739097595215ms

Result of `./talis 'v'`:
DEBUG:zeitgeist.fts:Search 'v' gave 70 hits in 0.261068344116ms

All of this was run on the same DB, why do the hits pairs differ?

-- 
fts extension is not expanding stuff correctly in queries
https://bugs.launchpad.net/bugs/614284
You received this bug notification because you are a member of Zeitgeist
Extensions, which is the registrant for Zeitgeist Smack-ins.

Status in Zeitgeist Smack-ins: New

Bug description:
Michal reported a bug in the fts extension on irc today:

11:06 < mhr3> second, once there's a bit more complex query, it no longer 
              expands stuff
11:07 < mhr3> ie searching for "v*" and "(v*) AND (())" returns different 
              results
11:08 < mhr3> i'm now not sure if "(v) AND (())" vs "v" also returns different 
              stuff
11:09 < mhr3> but it's possible



_______________________________________________
Mailing list: https://launchpad.net/~zeitgeist
Post to     : zeitgeist@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zeitgeist
More help   : https://help.launchpad.net/ListHelp

Reply via email to