Bug 248149

Summary: Beagle seems to miss some data
Product: [openSUSE] openSUSE 10.3 Reporter: James Ogley <riggwelter>
Component: GNOMEAssignee: E-mail List <gnome-bugs>
Status: RESOLVED INVALID QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: forgotten_CRPsQFwJ3b
Version: Alpha 1   
Target Milestone: ---   
Hardware: i686   
OS: SUSE Other   
Whiteboard: gnome-function-does-not-work
Found By: Beta-Customer Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on:    
Bug Blocks: 341832    
Attachments: Screenshot of beagle-search
Log as requested

Description James Ogley 2007-02-23 09:24:22 UTC
According to beagle-search, beagled has finished indexing my data (ie it doesn't give me the message saying it is still indexing) and yet there are some major discrepancies between what a search finds and what I know to be in my $HOME ...

I'll attach a screenshot of the search window, but on a search for 'suse' it found only 2 directories and 3 images ...

ogley@riggwelter2:~/Documents/images> find . -type f | grep -i suse | wc -l
358

ogley@riggwelter2:~/Documents> find . -type d | grep -i suse | wc -l
34

Interestingly when I saved the screenshot I'm about to attach, it detected it okay.
Comment 1 James Ogley 2007-02-23 09:24:53 UTC
Created attachment 120702 [details]
Screenshot of beagle-search
Comment 2 Forgotten User CRPsQFwJ3b 2007-02-25 18:54:15 UTC
I don't have such problems on my system. You can give newest beagle a try by using  this repository - http://software.opensuse.org/download/Beagle/openSUSE_10.2 and if the problem persists you can purge current indexes and record all output for errors when reindexing by running beagle in terminal (and forcing it to reindex everything at once):

$ beagle-shutdown
$ rm -rf ~/.beagle
$ export BEAGLE_EXERCISE_THE_DOG=1
$ beagled &> index_log

Attach the log if the error persists with newest beagle, also report mono version. Don't forget to give a shout if it works fine with latest beagle. :-)
Comment 3 Forgotten User CRPsQFwJ3b 2007-02-25 19:00:30 UTC
I am so sorry, I just saw that you are using 10.3. Can you please do the logging part and mono version.

Thanks.
Comment 4 James Ogley 2007-02-26 06:44:44 UTC
Created attachment 120967 [details]
Log as requested

Here's the log file.  I am using 10.3-alpha (Factory) with the packages from the Build Service project.

Mono version details:
ogley@riggwelter2:~> rpm -q mono-core
mono-core-1.2.2-14
Comment 5 Joe Shaw 2007-08-14 17:10:08 UTC
James: Are there specific results you are expecting to see, but don't?  Comparing beagle-search results with find | grep can be pretty misleading for a few reasons:

grep does substring searches by default, Beagle doesn't.  So if you have a directory which is "susestuff", a search for "suse" won't match it.  (But a search for "suse*" will.)

beagle normally only takes the newest 100 results from each backend and displays them.  The file system is one backend, emails another, etc.  Since there are roughly 100 documents being shown, this limit is probably being hit.  At the bottom you can see that there are additional matches, though: top 313 of 6751 total matches.
Comment 7 JP Rosevear 2008-01-17 13:36:21 UTC
#5 never got answered.
Comment 8 James Ogley 2008-01-18 10:52:02 UTC
Forgot about this - #5 answered my question, closing as INVALID.