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.yml fi

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_solr versi

Re: acts_as_solr integeration with solr separately

2009-09-20 Thread abhay kumar
Anybody with his bright ideas Regards Abhay On Fri, Sep 18, 2009 at 5:30 AM, abhay kumar wrote: > 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

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 handler '

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 wil

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
On Apr 20, 2007, at 2:30 PM, solruser wrote: For pure Ruby access to Solr without a database, use solr-ruby. The 0.01 gem is available as "gem install solr-ruby", but if you can I'd recommend you tinker with the trunk codebase too. Well I say, considering use of solr with rails application.

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 with Solr, such that when you cr

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 plugin. acts_a

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 of the "serious"

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 the Solr repository.

Re: [acts_as_solr] Few question on usage

2007-04-17 Thread amit rohatgi
Hi Nathan, Thanks for the quick reply. I am here using ferret but looking for advance features like search result highlight, facet search and strong analyzer, (synonym and stop word) capabilities. Which I believe solr server will be able to provide. Considering that I plan to move from ferret to

Re: [acts_as_solr] Few question on usage

2007-04-17 Thread Nathan Woodhull
I am using the Solr plugin to the Searchable module. I have made a large number of enhancements to the library to support the application that I am working on that I hope to contribute back to the community soon (multiple indexes, faceted browsing, etc) but for basic stuff, you should find what

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 ARSolr #:nodoc:

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, probably using an

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