Re: Definitive version of acts_as_solr

2009-12-12 Thread Andrea Campi
Hi all, On Dec 11, 2009, at 7:52 PM, Jacob Elder wrote: What versions of acts_as_solr are you all using? There appears to be about a dozen forks on GitHub, including my own. http://acts-as-solr.rubyforge.org/ has a notice that the official site is now http://acts_as_solr.railsfreaks.com/, but

Re: Definitive version of acts_as_solr

2009-12-11 Thread Erik Hatcher
Jacob, Yeah, it really is a big mess with acts_as_solr. I blame a few things: 1) me - for not wrangling this thing into Solr's client/ruby area from the start, 2) Rubyists! (Apache's svn isn't an appealing home) and 3) the git craze promoting fork-mania. And take

Definitive version of acts_as_solr

2009-12-11 Thread Jacob Elder
What versions of acts_as_solr are you all using? There appears to be about a dozen forks on GitHub, including my own. http://acts-as-solr.rubyforge.org/ has a notice that the official site is now http://acts_as_solr.railsfreaks.com/, but *don't click that link*because it's just a mess

Re: acts_as_solr integeration with solr separately

2009-09-21 Thread abhay kumar
Thanks Erik for your knd response. I am using acts_as_solr stable release v0.9 . I downloaded it from http://github.com/mattmatt/acts_as_solr/tree/master Regards Abhay On Mon, Sep 21, 2009 at 3:41 PM, Erik Hatcher wrote: > acts_as_solr accesses the Solr server listed in the config solr.

Re: acts_as_solr integeration with solr separately

2009-09-21 Thread Erik Hatcher
acts_as_solr accesses the Solr server listed in the config solr.yml file. You don't have to use the start/stop Rake actions, they are really just conveniences for development/testing (I personally would launch Solr separately in production though). Out of curiosity, what acts_as

Re: acts_as_solr integeration with solr separately

2009-09-20 Thread abhay kumar
uby on rails . > > I know ruby on rails has inbuilt plugin acts_as_solr which helps in > integerating(talking) with solr. > > acts_as_solr comes bundled with solr web application with jetty server. > > But i don't wanna use this inbuilt solr web application . > > e.g

acts_as_solr integeration with solr separately

2009-09-18 Thread abhay kumar
Hi, I have setup solr search server in tomcat. I am able to fire queries(of any knid) & get results in xml format. Now i want to Integerate it(solr) with ruby on rails . I know ruby on rails has inbuilt plugin acts_as_solr which helps in integerating(talking) with solr. acts_as_solr c

Re: acts_as_solr patch support for Solr Cell style requests

2009-05-13 Thread Thanh Doan
I created Ruby class SolrCellRequest and saved it to /path/to/resume/vendor/plugins/acts_as_solr/lib directory. Here is code original from the tutorial. module ActsAsSolr class SolrCellRequest < Solr::Request::Select def initialize(doc,file_name) . . def hand

acts_as_solr patch support for Solr Cell style requests

2009-05-13 Thread Thanh Doan
Hi Erik et all, I am following this tutorial link http://www.lucidimagination.com/blog/tag/acts_as_solr/ to play with acts_as_solr and see if we can invoke solr cell right from our Rails app. following he tutorial i created classSolrCellRequest but dont know where to save the

[ANN] acts_as_solr v.0.9 has been released

2007-06-18 Thread Thiago Jackiw
It's with great pleasure that I announce this great milestone for the acts_as_solr plugin. Thanks to all who contributed with ideas, patches, etc. = About = This plugin adds full text search capabilities and many other nifty features from Apache's Solr to any R

Re: [ANN] acts_as_solr has a new home, please update

2007-05-17 Thread Otis Gospodnetic
Hi, Thiago, would it make sense to bring acts_as_solr under Solr at ASF/Lucene? I imagine you've already talked to Erik about this, but I'm curious... Thanks, Otis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Simpy -- http://www.simpy.com/ - Tag - Search

[ANN] acts_as_solr v.0.8.5 has been released

2007-05-16 Thread Thiago Jackiw
The acts_as_solr plugin v.0.8.5 has been released and this short release includes: FIX: There's no need to specify the :field_types anymore when doing a search in a model that specifies a field type for a field. The field types are automatically traced back when they're included #Inde

[ANN] acts_as_solr has a new home, please update

2007-05-13 Thread Thiago Jackiw
The acts_as_solr plugin has a new home, so please make sure you update your bookmarks: web: http://acts_as_solr.railsfreaks.com trac: http://trac.railsfreaks.com/projects/acts_as_solr svn: svn://svn.railsfreaks.com/projects/acts_as_solr api: http://api.railsfreaks.com/projects/acts_as_solr

[acts_as_solr] Release v.0.8 is out

2007-05-11 Thread Thiago Jackiw
The new release v.0.8 of acts_as_solr is out and includes: NEW - New video tutorial NEW - Faceted search has been implemented and its possible to 'drill-down' on the facets NEW - New rake tasks you can use to start/stop the solr server in test, development and production environment

Re: [acts_as_solr] Few question on usage

2007-04-23 Thread solruser
Hi Erik Thanks for detailed information. With your detailed information I understand that acts_as_solr is presently the best available solution to connect to Solr from rails application for database. And you look forward to bring this under Solr Ruby development going forward. Which I assume

Re: [acts_as_solr] Few question on usage

2007-04-21 Thread Erik Hatcher
On Apr 21, 2007, at 9:42 PM, Erik Hatcher wrote: source = DataSource.new mapping = { :id => :isbn, :name => :author, :source => "BOOKS", :year => Proc.new {|record| record.date[0,4] }, } Solr::Indexer.index(source, mapper) do |orig_data, solr_document| solr_document[:timestamp] = Tim

Re: [acts_as_solr] Few question on usage

2007-04-21 Thread Erik Hatcher
ils application. Whats the ideal approach?. "rails application" is a pretty broad category of applications at this point. If we're talking about a database-backed application being searchable by Solr, I'd go for the RubyForge acts_as_solr first. However, I sus

Re: [acts_as_solr] Few question on usage

2007-04-20 Thread solruser
Hi Erik, Please find my comments under ">>>" to your queries. > : 1. What are other alternatives are available for ruby integration > with solr > : other than acts-as_solr plugin. acts_as_solr is purely for ActiveRecord (database O/R mapping) integration w

Re: [acts_as_solr] Few question on usage

2007-04-19 Thread Erik Hatcher
Sorry, I missed the original mail. Hoss has got it right. Personally I'd love to see acts_as_solr definitively come into the solr-ruby fold. Regarding your questions: : 1. What are other alternatives are available for ruby integration with solr : other than acts-as_solr p

Re: [acts_as_solr] Few question on usage

2007-04-19 Thread Chris Hostetter
I don't really know alot about Ruby, but as i understand it there are more then a few versions of something called "acts_as_solr" floating arround ... the first written by Erik as a proof of concept, and then pickedu pand polished a bit by someone else (whose name escapes me) all

Re: acts_as_solr

2007-04-19 Thread solruser
Hi, Does the acts_as_solr supports now fancier results such as highlight? Although I see options to use facets but have not yet explored with the plugin. TIA -amit Erik Hatcher wrote: > > > On Aug 28, 2006, at 10:25 PM, Erik Hatcher wrote: >> I'd like to commit this to

Re: [acts_as_solr] Few question on usage

2007-04-17 Thread amit rohatgi
ct and was not terribly impressed with it. -Nathan On 4/17/07, amit rohatgi <[EMAIL PROTECTED]> wrote: > Hi > > Here are few question for solr integrating with ruby > > 1. What are other alternatives are available for ruby integration with solr > other than acts-as_solr pl

Re: [acts_as_solr] Few question on usage

2007-04-17 Thread Nathan Woodhull
other alternatives are available for ruby integration with solr other than acts-as_solr plugin. 2. acts_as_solr plugin - does it support highlighting feature 3. performance benchmark for acts_as_solr plugin available if any -thanks dev -- Nathan Woodhull blog: http://techfordemocracy.co

[acts_as_solr] Is this correct way to change solr_configuration

2007-04-17 Thread amit rohatgi
Hi I am new acts_as_solr plug in and exploring the plug in potential. I tried to experiment the plug in with existing table having primary key as string. Earlier it failed to get me correct results and complain for primary not to be integer. Thereafter I modified model solr_configuration

[acts_as_solr] Few question on usage

2007-04-17 Thread amit rohatgi
Hi Here are few question for solr integrating with ruby 1. What are other alternatives are available for ruby integration with solr other than acts-as_solr plugin. 2. acts_as_solr plugin - does it support highlighting feature 3. performance benchmark for acts_as_solr plugin available if any

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
1 PM, Mike Beccaria wrote: 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

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

Re: acts_as_solr

2006-09-18 Thread Simon Peter Nicholls
Additionally, we should mock out for testing reasons, e.g. in file test/mocks/test/acts_as_solr.rb: require "#{File.dirname(__FILE__)}/../../../vendor/plugins/ acts_as_solr/lib/acts_as_solr.rb" module SolrMixin #:nodoc: module Acts #:nodoc: module ARSo

Re: acts_as_solr

2006-09-17 Thread Simon Peter Nicholls
I had a play around with acts_as_solr today (thanks Yonik for the pointer). Had to fiddle around for a while to set up the schema.xml, (I'm totally new to Solr), but it worked well. Well, I'm far from RoR savvy (new to Ruby/Rails also), but concerning the commit question, probabl

Re: acts_as_solr

2006-08-30 Thread Erik Hatcher
On Aug 30, 2006, at 1:36 PM, Yonik Seeley wrote: I think Ruby is very fertile ground for Solr to pick up users/developers right now. I fully agree. Ferret is coming along very nicely as well, which is wonderful for pure Rubyists that don't need the additional dependency, skill set to mana

Re: acts_as_solr

2006-08-30 Thread Erik Hatcher
On Aug 28, 2006, at 10:25 PM, Erik Hatcher wrote: I'd like to commit this to the Solr repository. Any objections? Once committed, folks will be able to use "script/plugin install ..." to install the Ruby side of things, and using a binary distribution of Solr's example application and a c

RE: acts_as_solr

2006-08-30 Thread Brian Lucas
Either Chris or Erik has been in contact with the author of this project, IIRC. -Original Message- From: Kevin Lewandowski [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 30, 2006 1:42 PM To: solr-user@lucene.apache.org Subject: Re: acts_as_solr You might want to look at

Re: acts_as_solr

2006-08-30 Thread Kevin Lewandowski
You might want to look at acts_as_searchable for Ruby: http://rubyforge.org/projects/ar-searchable That's a similar plugin for the Hyperestraier search engine using its REST interface. On 8/28/06, Erik Hatcher <[EMAIL PROTECTED]> wrote: I've spent a few hours tinkering with an Ruby ActiveRecord

Re: acts_as_solr

2006-08-30 Thread Yonik Seeley
Cool stuff Erik! I think Ruby is very fertile ground for Solr to pick up users/developers right now. Getting into some little details, it looks like a commit (which actualy does an optimize) is done on every .save, right? I also notice that the commit is asynchronous... so one could do a save, t

Re: acts_as_solr

2006-08-30 Thread Bill Au
.apache.org Subject: Re: acts_as_solr On 8/29/06, Chris Hostetter <[EMAIL PROTECTED]> wrote: > Maybe ... "contrib" in the "Java Lucene" project sense however is all java > code, i would imagine that if someone wrote a perl utility to deal with > index file

RE: acts_as_solr

2006-08-29 Thread Brian Lucas
ginal Message- From: Mike Klaas [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 29, 2006 3:26 PM To: solr-user@lucene.apache.org Subject: Re: acts_as_solr On 8/29/06, Chris Hostetter <[EMAIL PROTECTED]> wrote: > Maybe ... "contrib" in the "Java Lucene" project sense h

Re: acts_as_solr

2006-08-29 Thread Mike Klaas
On 8/29/06, Chris Hostetter <[EMAIL PROTECTED]> wrote: Maybe ... "contrib" in the "Java Lucene" project sense however is all java code, i would imagine that if someone wrote a perl utility to deal with index files it would not make sense to but in the Lucene "contrib" directory for that reason .

Re: acts_as_solr

2006-08-29 Thread Chris Hostetter
: > > perhaps a top level "clients" directory with this going in clients/ : > > ruby ? : > Pardon me for chiming in, but this is a very good idea. I would also : > suggest that Java clients should also go in here. : Might this fit better under a contrib/ umbrella? This would more : closely mod

Re: acts_as_solr

2006-08-29 Thread Mike Klaas
On 8/29/06, WHIRLYCOTT <[EMAIL PROTECTED]> wrote: On Aug 29, 2006, at 4:12 PM, Chris Hostetter wrote: > perhaps a top level "clients" directory with this going in clients/ > ruby ? Pardon me for chiming in, but this is a very good idea. I would also suggest that Java clients should also go in

Re: acts_as_solr

2006-08-29 Thread WHIRLYCOTT
On Aug 29, 2006, at 4:12 PM, Chris Hostetter wrote: perhaps a top level "clients" directory with this going in clients/ ruby ? Pardon me for chiming in, but this is a very good idea. I would also suggest that Java clients should also go in here. phil. --

Re: acts_as_solr

2006-08-29 Thread Chris Hostetter
: I've spent a few hours tinkering with an Ruby ActiveRecord plugin to : index, delete, and search models fronted by a database into Solr. I don't know crap about Ruby, but that looks pretty cool. : I'd like to commit this to the Solr repository. Any objections? : commit, what directory should

acts_as_solr

2006-08-28 Thread Erik Hatcher
thor"=>"Yonik & Hoss", "id"=>"21"}>, #{"title"=>"Lucene in Action", "author"=>"Otis & Erik", "id"=>"22"}>] >> Book.find_by_solr("yonik OR otis") # to show Qu