Jens Kraemer wrote: > oh, what I wanted to say is that if *you* built such a feature into > RDig, I'd be happy to integrate it. Sorry if I've been unclear here. >
:-( OK, I'll have a look at the code and see what might be simplest. Seems to me that adding an extra optional directive to the configuration file is easiest. This could name a file containing a user-supplied hook which rdig/indexer.rb could try to include. Or just define the hook procedure in the config file? Then if the hook procedure existed the indexer could pass it the document and doc data structure and the hook procedure could augment the doc structure as required. I guess the only Ferret requirement here is that the hook must add the same set of extra fields to each document (even if values NULL) Ed -- Posted via http://www.ruby-forum.com/. _______________________________________________ Ferret-talk mailing list [email protected] http://rubyforge.org/mailman/listinfo/ferret-talk

