g_i writes

recoll-scope is a sub-scope of files scope (a sort of :) ). Recoll scope should not show files simply because their names contain the query string.

medoc writes

This is not possible: recoll does not know if a match occurred because of a file name or because of file contents. Fixing this would be a major undertaking.

g_i writes

Well. Possible fixs:

  1. IF Unity API have something to eliminate duplicates, you could use it

  2. IF NOT (as I presume) recoll can returns a simpe file name based search (with -l parameter). The recoll scope could use it to perform a diff. I remember that "use locate" is selected by default.

I know, it’s not easy! :)

g_i writes

I posted 2 possible solutions above.

fcastilloec writes

I for once think that the point of recoll is to show file names AND contents, and the fact that both are shown is great. Hence, I agree with the "wontfix" status

Morgan_L writes

I too vote for closing as wontfix.

medoc writes

putting back to wontfix because I genuinely dont know how to do it (else it could be an option), and people don’t seem to think it’s a good idea anyway.

g_i writes

@felipe: "I for once think that the point of recoll is to show file names AND contents"

Of course it is. The buf is only against the unity scope