This seems to be a side effect of the exact query we do for pkgname matches. When we do this for items in the apt-xapian-database, we add a:
"""
# filter out docs of pkgs of which there exists a doc of the app enquire.set_query(xapian.Query(xapian.Query.OP_AND_NOT, q, xapian.Query("XD")))
"""
The apt-xapian-index adds a "XD" to all the documents that have a desktop file in app-install-data. This makes the de-duplication
for items in app-install-data-ubuntu working fine, but it does not work for data comming from the software-center-agent
as this does not have a desktop file on disk.
This seems to be a side effect of the exact query we do for pkgname matches. When we do this for items in the apt-xapian- database, we add a:
"""
enquire. set_query( xapian. Query(xapian. Query.OP_ AND_NOT,
q, xapian. Query(" XD")))
# filter out docs of pkgs of which there exists a doc of the app
"""
The apt-xapian-index adds a "XD" to all the documents that have a desktop file in app-install-data. This makes the de-duplication data-ubuntu working fine, but it does not work for data comming from the software- center- agent
for items in app-install-
as this does not have a desktop file on disk.