Thursday, September 22, 2005

Search added. Better or worse?

I've added a "true" search feature, or anyway a better one. Search is now available at all times, from a "search' tab. You can search for books (pretty much all data is indexed), for just tags or for users.

For now it works well—searching is much faster—but I'm concerned it slows down adding records. Basically, every time it adds a book it needs to also update the index. As I'm currently indexing pretty much every field, this takes a little longer than I'd like it to. Let me know if you see the difference. And if you're a MySQL guru, drop me a note and give me your take on all-RAM index and other options.

I'd like to add the standard bells and whistles (+/-/quotes, etc.), but I need to upgrade my database first. For now it just works work with what you give it.

10 Comments:

Anonymous Anonymous said...

One thing that seems to have happened is that typing tags in the Tags box (without selecting your autocomplete) used to give a list of all tags I had used before that started with the same letter(s) as in autocomplete in other functions. For example,typing f in the tag box would bring up Fiction, English; Fiction, USA, etc in alphabetical order. That has now gone (nothing happen when I type f). Why?

Using your autocomplete link only gives some of the previously used tags and runs together multiple tags, e.g. instead of fiction, usa I now have fictionusa.

9/22/2005 11:29 AM  
Anonymous Anonymous said...

To theraven -

That was probably your browser's own autocomplete feature, which would have been cleared if the form field name has changed in the HTML code on the page.


BoPeepSheep has created a LiveJournal community, and we found an LJ RSS feed - would it be possible to pimp them somewhere more "official"? There's likely to be a fair proliferation of LJ users given the nature of the beast, and the fact we're all raving about LT on our LJs ;)

LiveJournal community: http://www.livejournal.com/users/librarything

LT Blog feed: http://www.livejournal.com/users/library_thing

9/22/2005 11:51 AM  
Blogger Tim said...

I'm going to de-index some fields. It's adding too much time to the Add Books functionality—way too much.

I have to take it down for 30 mins to change the indices. I'll do it tonight after 3am EST. I think that's a good compromise. There's really no best time—you screw either the west coast or British either way.

9/22/2005 3:28 PM  
Anonymous Anonymous said...

Tangentially connected (I suppose): is there any way of having the "shared" feature kick in for different editions of the same book? I'm also not sure the "watchlist" feature does anything, given it doesn't update.

9/22/2005 3:37 PM  
Anonymous Anonymous said...

I like the search feature.

It's useful to find quickly people interested in same kind of books, via tags.

9/22/2005 4:01 PM  
Anonymous Anonymous said...

Rillaith, it's not my browser's autocomplete. It still does not work at all. Autocomplete has gone entirely. I remember when E-Bay did this a couple of years back and they got a lot of heat from users.

9/22/2005 4:35 PM  
Anonymous Anonymous said...

yeah, it has really slowed the adding process. It's taking me forever. :( Hope you can figure something out! :)

9/22/2005 4:43 PM  
Blogger Tim Challies said...

This is off-topic, but your blog widget is broken. There's a problem with the name of the files (click a book and you'll see).

9/22/2005 7:29 PM  
Anonymous Anonymous said...

I can't get the search to do anything other than a boolean "or," apparently. For example, searching for "Gene Wolfe" gives me 469 records - Nero Wolfe, Gene Roddenberry, etc etc. It's not very useful (although it is fast!) without the ability to restrict it or have it search for a specific phrase.

9/22/2005 8:16 PM  
Blogger AbleVaybel said...

I'm getting this kind of message:

Warning: mysql_connect(): Too many connections in /home/virtual/site8/fst/var/www/html/response.php on line 293
- fatal error (1)

Anyone else?

9/22/2005 10:38 PM  

Post a Comment

<< Home