search for: find_or_create_by_word

Displaying 1 result from an estimated 1 matches for "find_or_create_by_word".

2006 Jun 12
2
ferret / hyperestraier indexing time
since i cant manage to get the accelerated ferret going (amd64 incompatible C code) and hyperestraier returns 0 results for everything after a reboot (despite claiming its index is every bit as big as before) i made a simple rails inverted index that essentially just does a find_or_create_by_word for each word, and then adds its id to a join table linking words and documents.. the only thing is it takes about 2 or 3 seconds to index a reasonably large article, so this slows down ''add'' operations, etc.. ezra''s backrounDRb sounds like it will hit the spot. but...