Page 1 of 1

Bug: Search only returns 1% of results

Posted: Wed Feb 21, 2007 5:48 am
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

Posted: Wed Feb 21, 2007 5:56 am
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?

Posted: Wed Feb 21, 2007 6:21 am
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.

Posted: Wed Feb 21, 2007 8:05 am
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?

Posted: Wed Feb 21, 2007 12:03 pm
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.

Posted: Thu Feb 22, 2007 9:09 am
by pianoman76
So... any thoughts as to how to force the indexing to happen?

Posted: Thu Feb 22, 2007 9:19 am
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.

Posted: Tue Feb 27, 2007 4:44 am
by jim841
nvm

Posted: Mon Mar 12, 2007 12:09 pm
by pianoman76
It's been over a week and a half. Any new ideas?

Posted: Mon Mar 12, 2007 10:55 pm
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.

Posted: Wed Mar 28, 2007 12:35 pm
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.

Posted: Wed Mar 28, 2007 4:43 pm
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?

Posted: Wed Apr 11, 2007 10:27 am
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

Posted: Sat Apr 14, 2007 7:40 am
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.

Posted: Fri Jul 13, 2007 11:13 pm
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.

Posted: Fri Jul 13, 2007 11:24 pm
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.