After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 439178 - TST shows word hits instead of file hits
TST shows word hits instead of file hits
Status: RESOLVED OBSOLETE
Product: tracker
Classification: Core
Component: Search Tool
unspecified
Other All
: Normal normal
: ---
Assigned To: Jamie McCracken
Jamie McCracken
Depends on:
Blocks:
 
 
Reported: 2007-05-17 15:39 UTC by Tshepang Lekhonkhobe
Modified: 2009-01-14 13:28 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Wrong results display -- no files visible (26.21 KB, image/png)
2007-09-25 15:54 UTC, Maciej Katafiasz
Details
Wrong results display -- too few files visible (59.96 KB, image/png)
2007-09-25 15:55 UTC, Maciej Katafiasz
Details

Description Tshepang Lekhonkhobe 2007-05-17 15:39:35 UTC
Please describe the problem:
On its results display, TST shows word hits instead of file hits.

Steps to reproduce:
1. create some file
2. enter some word in that file and check number of hits with TST
3. enter same word again in that same file and search again with TST


Actual results:
TST will display an increased number of hits.

Expected results:
Number of hits should represent number of files in which a specific search term occurs in, NOT the number of occurences in each file. number of word hits should only be kept internally by the indexer, perhaps for ranking purposes.

Does this happen every time?
Yes

Other information:
A related problem:
On deleting that particular file (the one with repeated occurences of the search term), the number of hits shown on TST remains the same, only without files shown. It does not help running trackerd --reindex nor deleting .local/share/tracker because the problem remained easily reproducible once following the above 3 steps.
Comment 1 Maciej Katafiasz 2007-09-25 15:53:48 UTC
I believe it's the same bug that causes t-s-t to show broken results list. It says "Results 1-10 shown", but only three matches are shown, or sometimes nothing. Attaching a couple of screenshots to illustrate.

Additionally, it seems that once you go a couple of result pages further and leave it for some time, it will display results correctly once you revisit those pages, which would suggest some kind of miscommunication with tracker and stuff being fetched as you go. FWIW, the HD is constantly busy as I write this, and has been this way ever since I run a search in t-s-t.
Comment 2 Maciej Katafiasz 2007-09-25 15:54:46 UTC
Created attachment 96175 [details]
Wrong results display -- no files visible

Taken with t-s-t 0.6.2
Comment 3 Maciej Katafiasz 2007-09-25 15:55:21 UTC
Created attachment 96176 [details]
Wrong results display -- too few files visible

Taken with t-s-t 0.6.2
Comment 4 Mathieu Dimanche 2007-12-30 02:02:45 UTC
Heavily tested, and this behavior doesn't reproduce at all with current SVN (30 dec 07)

This bug should be closed.
Comment 5 Jean-François Fortin Tam 2008-06-01 21:27:28 UTC
no, this is present in 0.6.6, which is much more recent afaik.
Comment 6 Carlos Garnacho 2009-01-14 13:28:57 UTC
Trying with svn trunk, this problem doesn't appear anymore, so I think this bug is obsolete