Actually there's no problem with that statement. I just overlooked the 
fact that a parameter needs to get passed to it.

Eggman Eggman wrote:
> I'm just getting started with rdig and rails as well. I'm working off 
> Windows and when I do a crawl, I get 3 files - segments, segments_1 and 
> _0.cfs. The cfs file appears to contain the actual crawl.
> 
> After the crawl, you can do a query with rdig -c CONFIGFILE -q 'your 
> query' if you haven't tried that already.
> 
> I'm having trouble getting the crawl into a variable. There seems to be 
> a problem with this statement:
> search_results = RDig.searcher.search(params[:query])
> 
> Perhaps you can PM me and we can work together.

-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk

Reply via email to