[jira] Commented: (SOLR-149) Make solr more embeddable
[ https://issues.apache.org/jira/browse/SOLR-149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12472056 ] Brian Whitman commented on SOLR-149: Using this in a Java / Cocoa bridge, it's gorgeous. Thanks Ryan. > Make solr more embeddable > - > > Key: SOLR-149 > URL: https://issues.apache.org/jira/browse/SOLR-149 > Project: Solr > Issue Type: Improvement >Reporter: Ryan McKinley >Priority: Minor > Attachments: SOLR-149-embeddable.patch > > > With a few simple changes, solr can be an easily embedded in a custom jetty > app. > With this patch, one can run solr from the jar file using: > server = new Server( port ); > > // Initalize home (without JNDI) > Config.setInstanceDir(home); > > // Initalize the servlets > Context root = new Context( server, "/", Context.SESSIONS ); > root.addServlet( SolrServlet.class, "/select" ); > root.addServlet( SolrUpdateServlet.class, "/update" ); > root.addFilter( SolrDispatchFilter.class, "*", Handler.REQUEST ); -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
solr.py patch
I'm setting up Solr to work with Zope and Django sites, so was very pleased to find clients/python/solr.py . I see in the comments that it's a prototype and subject to change, but here's a small patch. ### Index: client/python/solr.py === --- client/python/solr.py (revision 505818) +++ client/python/solr.py (working copy) @@ -158,12 +158,12 @@ if optimize: xstr='http://www.nabble.com/solr.py-patch-tf3207407.html#a8907006 Sent from the Solr - Dev mailing list archive at Nabble.com.
Re: finer granularity of configuration
: Sounds totally fair (assigned _to me_). To be honest, I only just : glanced at the code for SOLR-79. It may be just what the doctor : ordered with some tweaks. I sorta have some experience with the $ : {..} syntax and would switch the syntax in the patch to be Ant-like : in this regard. I'll come up with some unit tests along the way too. yeah ... it would be cool to have a robust version of SOLR-79 so that everything *could* be in the hands of the users if they want it -- i just don't know enough about DOM manipulation to know if there's a clean way to completely decorate the tree with variable substitution. : Hoss, you mentioned multiple server instances pointing to the same : index directory. Would that be a reasonable configuration? Any : contention issues with multiple Solr instances pointed at a single : index? I kinda always envisioned one-to-one Solr instance and index. i've never tried it myself ... but if no more then one solr instance is writting, the rest should be able to read just fine (especially once we rev lucene and there are no more locks on opening an index reader) -Hoss
RE: tsr.ch goes live with Solr!
Congrats! Blazing fast too! :). Jeryl Cook -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bertrand Delacretaz Sent: Saturday, February 10, 2007 6:14 AM To: solr-dev@lucene.apache.org Subject: tsr.ch goes live with Solr! Hi Solr community, I've been talking about my "current project" for months, it's finally live at http://www.tsr.ch/tsr/index.html?siteSect=50 It's the new video player page of our "national" (French-speaking part of Switzerland) TV network, backed by a Solr index fed by a continuous stream of incoming videos, as soon as editors enter them in their existing CMS. It's all in French but I've added some info in English at http://codeconsult.ch/bertrand/archives/000760.html. I'm going to base my ApacheCon talk on this example, to show how well Solr copes with "mixed" queries, combining structured, database-like searches with full-text. Solr is mostly used to generate all the dynamic navigation features of that page (via Ajaxish calls), the search function is there but the "exploration" features are much more prominent. I like it very much: don't search, find. Hope you like it...it's all Ajax and video player plugins (they haven't converted their large collection of videos to Flash yet), so you might find some bugs. If so, I'd love to hear about them off-list. Big thanks to the Lucene and Solr folks for making this possible, my part (creating the index back-end and assisting the front-end developers) has been very easy to implement thanks to these great tools! -Bertrand
tsr.ch goes live with Solr!
Hi Solr community, I've been talking about my "current project" for months, it's finally live at http://www.tsr.ch/tsr/index.html?siteSect=50 It's the new video player page of our "national" (French-speaking part of Switzerland) TV network, backed by a Solr index fed by a continuous stream of incoming videos, as soon as editors enter them in their existing CMS. It's all in French but I've added some info in English at http://codeconsult.ch/bertrand/archives/000760.html. I'm going to base my ApacheCon talk on this example, to show how well Solr copes with "mixed" queries, combining structured, database-like searches with full-text. Solr is mostly used to generate all the dynamic navigation features of that page (via Ajaxish calls), the search function is there but the "exploration" features are much more prominent. I like it very much: don't search, find. Hope you like it...it's all Ajax and video player plugins (they haven't converted their large collection of videos to Flash yet), so you might find some bugs. If so, I'd love to hear about them off-list. Big thanks to the Lucene and Solr folks for making this possible, my part (creating the index back-end and assisting the front-end developers) has been very easy to implement thanks to these great tools! -Bertrand