RE: Newbie Question acts_as_solr

2006-12-19 Thread Mike Beccaria
: solr-user@lucene.apache.org Subject: Re: Newbie Question acts_as_solr On Dec 18, 2006, at 8:36 PM, Mike Beccaria wrote: > Another question... > The controller: > @query= Movie.find_by_solr(params[:squery]) > Then in the view: > <%= @query %> Debugging tip: use <%= debu

Re: Newbie Question acts_as_solr

2006-12-19 Thread Erik Hatcher
On Dec 18, 2006, at 8:36 PM, Mike Beccaria wrote: Another question... The controller: @query= Movie.find_by_solr(params[:squery]) Then in the view: <%= @query %> Debugging tip: use <%= debug @query %> to see exactly what you got. Produces 2 hits (as per count_by_solr) that look like this : "

RE: Newbie Question acts_as_solr

2006-12-18 Thread Mike Beccaria
Thanks, Mike -Original Message- From: Erik Hatcher [mailto:[EMAIL PROTECTED] Sent: Monday, December 18, 2006 4:06 PM To: solr-user@lucene.apache.org Subject: Re: Newbie Question acts_as_solr Mike, Yes, Solr needs to be running within a Java web application server to operate. Like a databas

Re: Newbie Question acts_as_solr

2006-12-18 Thread Erik Hatcher
Mike, Yes, Solr needs to be running within a Java web application server to operate. Like a database server, for example. Try Movie.find_by_solr, not lowercase "movie". find_by_solr is a class-level method, not an instance method. Erik On Dec 18, 2006, at 4:01 PM, Mike Beccari

Newbie Question acts_as_solr

2006-12-18 Thread Mike Beccaria
Hi all, Forgive me for the newbie questions (the questions rolling in here seem to be way over my current level of competence). I'm learning ruby on rails to implement a searchable catalog of items and want to use the acts_as_solr plugin to eventually create a faceted search design. I feel awkwar