Bug: Search only returns 1% of results

An instant messenger which can connect to AIM, GTalk, Jabber, ICQ, and more.
Post Reply
pianoman76
Harmless
Posts: 10
Joined: Tue Feb 01, 2005 4:09 am
Contact:

Bug: Search only returns 1% of results

Post by pianoman76 »

Whenever I do a search in my chat transcripts, I usually only get about 1% of the actual results that I should. I usually get no results, and every time I have to go to BBEdit and do a multi-file search and get 20 hits or whatever there. The queries are still findable in Adium if I click the user name and scroll through the conversation, but that defeats the purpose of the search. Any idea when that will be fixed?

-dan goodspeed
http://www.rkstar.com
User avatar
evands
Cocoaforge Admin
Posts: 3152
Joined: Thu Dec 02, 2004 10:55 pm
Location: Decatur, GA
Contact:

Post by evands »

Try deleting ~/Library/Caches/Adium/Default/Logs.index and ~/Library/Caches/Adium/Default/DirtyLogs.plist with the log viewer closed. Open it and let it index your logs from scratch. Does that fix the problem?
The duck still burns.
--
My company: Saltatory Software. Check it out :)
pianoman76
Harmless
Posts: 10
Joined: Tue Feb 01, 2005 4:09 am
Contact:

Post by pianoman76 »

Nope... it still does the same thing. Though it didn't really look like any indexing from scratch happened. I have thousands of saved IMs, and it pretty much started right up... definitely didn't take the time needed to go through all the past IMs.
User avatar
evands
Cocoaforge Admin
Posts: 3152
Joined: Thu Dec 02, 2004 10:55 pm
Location: Decatur, GA
Contact:

Post by evands »

Indexing thousands of logs should take a significant amount of time -- as much as half an hour. It should say "Indexing X of XXX" at the bottom, with a spinning progress indicator, while it happens.

Try deleting the entire ~/Library/Caches/Adium folder (the only adverse effect will be that buddy icons will need to be redownloaded from the server). Do it with Adium not running.

What version of OS X are you using? What version of Adium?
The duck still burns.
--
My company: Saltatory Software. Check it out :)
pianoman76
Harmless
Posts: 10
Joined: Tue Feb 01, 2005 4:09 am
Contact:

Post by pianoman76 »

So I quit adium, moved ~/Library/Caches/Adium to the trash, and restarted it.. Started right up and signed on. No buddy icons as you said... but no indexing either. I'm using Adium 1.01 final on 10.4.8 on a powerbook g4.
pianoman76
Harmless
Posts: 10
Joined: Tue Feb 01, 2005 4:09 am
Contact:

Post by pianoman76 »

So... any thoughts as to how to force the indexing to happen?
User avatar
evands
Cocoaforge Admin
Posts: 3152
Joined: Thu Dec 02, 2004 10:55 pm
Location: Decatur, GA
Contact:

Post by evands »

We'll need to have you run a build with some debug logging, as there's no condition I can think of in which indexing wouldn't occur after deleting the caches/adium/default/index file. I'll take a look a week and a half from now if nobody else has chimed in to help debug it.
The duck still burns.
--
My company: Saltatory Software. Check it out :)
jim841
Harmless
Posts: 12
Joined: Mon Feb 05, 2007 8:17 am

Post by jim841 »

nvm
pianoman76
Harmless
Posts: 10
Joined: Tue Feb 01, 2005 4:09 am
Contact:

Post by pianoman76 »

It's been over a week and a half. Any new ideas?
User avatar
evands
Cocoaforge Admin
Posts: 3152
Joined: Thu Dec 02, 2004 10:55 pm
Location: Decatur, GA
Contact:

Post by evands »

I'll have that build (in the form of a 1.0.2 beta) available soon - as early as later this evening, perhaps.
The duck still burns.
--
My company: Saltatory Software. Check it out :)
pianoman76
Harmless
Posts: 10
Joined: Tue Feb 01, 2005 4:09 am
Contact:

Post by pianoman76 »

So after upgrading to 1.02, it did re-index the logs. But a lot of my logs aren't showing up. They're still there as actual files in the finder... just not there under "View Chat Transcripts", including chats I just had today.
User avatar
evands
Cocoaforge Admin
Posts: 3152
Joined: Thu Dec 02, 2004 10:55 pm
Location: Decatur, GA
Contact:

Post by evands »

That... seems impossible, as the list in view chat transcripts literally lists the directory contents filtering on the appropriate extensions. Are you on a case sensitive file system?
The duck still burns.
--
My company: Saltatory Software. Check it out :)
APDG
Harmless
Posts: 1
Joined: Wed Apr 11, 2007 10:13 am

Post by APDG »

This is indeed a fun one. I'm a bit baffled by it myself. I can look through a conversation, see a word, then search for it and watch it disappear. I know it's there, I can see it, but when I enter a query into the search field it doesn't find it. All the indexing appears to be ticking along just fine. It informs me that it's indexing X of 4500 odd transcripts but I wonder if it's doing so properly because once it's done it still comes up empty. Even a search for "the" comes up with only a dozen or so hits (out of 4,500 conversations). I think I first noticed this when the log viewer was revamped several months back.

I'm currently using 1.0.2 on 10.4.9

cheers!
A
pianoman76
Harmless
Posts: 10
Joined: Tue Feb 01, 2005 4:09 am
Contact:

Post by pianoman76 »

Another thing I just noticed- when hitting Apple-L to view the past conversations I had with someone... a lot of the conversations are missing. If I select "This Week"... it correctly shows the ones from this week. Then I go back to "Any Date" and all the ones that were missing before then show up.
allimo
Harmless
Posts: 5
Joined: Fri Jul 13, 2007 11:04 pm
Location: Cambridge, MA
Contact:

Post by allimo »

Hi there, sorry to revisit an old topic but I'm having this problem too, only it seems to be more severe.

Searching for things like "the" and "an" bring up NO results, searching on all 3000 conversations I've had. Even when I locate a word in a transcript and then search for it, I get no results. Nothing at all, but the bottom status bar says "0 matching transcripts. Search for 'the' complete."

I'm quite frustrated, as I've spent hours trying to find some important flight information IMed to me a few weeks ago, and because I can't remember the exact date (or which of the four conversations logged each day it was in), I have about 60 conversations to read completely through if I can't get the search to work.

I'm using 1.0.4 on 10.4.9, and am hesitant to try updating to 1.0.5 because whenever I update, all my customizations disappear and I really don't want to have to mess with the preferences again. The version history makes no mention of fixing the transcript search function - is there an unmentioned fix? Will updating to 1.0.5 and gritting my teeth on the customizations fix it?

Thanks so much in advance for any help you folks can provide.
allimo
Harmless
Posts: 5
Joined: Fri Jul 13, 2007 11:04 pm
Location: Cambridge, MA
Contact:

Post by allimo »

Hmm, never mind me. Oddly enough, updating both solved the problem AND didn't make all my customizations disappear - hooray for 1.0.5! You guys rock.
Post Reply