Re: Python Solr Writer
Owens, Martin wrote: > > I'm having some trouble understanding how the solr writer intergrates into > python, I can't find any examples so does anyone have any good examples of > a python writer? > > Best Regards, Martin Owens > > If you're wondering how to use it in Python: say response = eval(the_string_returned_by_solr) - Wade Ithaca NY -- View this message in context: http://www.nabble.com/Python-Solr-Writer-tp14337808p14355869.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: SolPHP
Ian, I'm just getting started with SOLR, am very interested in Python bindings. Looking at using SOLR to catalog sites built with Zope and Django, plus other (non-Python) sites. -- Wade Leftwich Ithaca, NY On 6/1/2006, Ian Holsman wrote: > I think I could get some python bindings off those as well. > and if people feel there is a need some C/APR ones as well. > > On 02/06/2006, at 11:16 AM, Brian Lucas wrote: > >> Erik, >> >> I'll get the PHP bindings out to see how they suit the needs of people >> and >> use that feedback for the Rails bindings. I'm looking forward to >> seeing how >> they could be implemented as well. >> Brian >> >> -Original Message- >> From: Erik Hatcher [mailto:[EMAIL PROTECTED] >> Sent: Thursday, June 01, 2006 6:59 PM >> To: solr-user@lucene.apache.org >> Subject: Re: SolPHP >> >> Brian, >> >> I'd love to give any RoR bindings a try if you're a point to share. >> I can see all sorts of interesting fun that can be had with such >> bindings, such as pulling schema.xml from the server and using its >> field definitions to build mapping objects (like ActiveRecord), >> support for all the parameters of the request handler(s), clever >> iterators that would page through the hits by requesting bite-sized >> chunks from Solr. At the very least, of course, is having the >> request and response abstracted so no XML or HTTP is seen by the >> client code. >> >> Erik >> >> >> >> On Jun 1, 2006, at 8:49 PM, Brian Lucas wrote: >> >>> Yes, I have written bindings but hadn't abstracted them fully. >>> They're >>> pretty solid and since you're the second person that's asked, let >>> me get >>> those out as soon as possible. I'm also working on the Ruby/Rails >>> bindings >>> as well. >>> >>> Brian >>> >>> -Original Message- >>> From: Yonik Seeley [mailto:[EMAIL PROTECTED] >>> Sent: Thursday, June 01, 2006 6:17 PM >>> To: solr-user@lucene.apache.org; [EMAIL PROTECTED] >>> Subject: Re: SolPHP >>> >>> Nothing in SVN... It looks like Brian Lucas might have been working on >>> something: >>> http://www.mail-archive.com/solr-user%40lucene.apache.org/ >>> msg00325.html >>> >>> -Yonik >>> >>> On 6/1/06, Michael J. Giarlo <[EMAIL PROTECTED]> wrote: >>>> Hey folks, >>>> >>>> I noticed a stub on the wiki about two PHP classes for solr. I've >>>> tried >>>> to track down the classes but have been unsuccessful so far. Does >>>> anyone know where, or if, these classes are available? >>>> >>>> Thanks! >>>> >>>> -Mike >> > >
Tomcat SecurityManager config for SOLR
Hi folks, I am setting up SOLR on a Debian Sarge system running Tomcat 5.5. I followed the JNDI recipe on the Wiki and got SOLR running apparently correctly. However, when I turn on Tomcat's SecurityManager, everything goes flooey. I've tried entering a couple FilePermission statements in catalina.policy, but I am still getting many permission errors in the log. I have not been able to find much in the way of a howto for SecurityManager, and am pretty much groping in the dark at this point. Does anyone have a procedure for configuring the SecurityManager settings for SOLR? My Tomcat lives under /var/lib/tomcat5.5, and here is the contents of /var/lib/tomcat5.5/conf/Catalina/localhost/solr.xml: """ """ Any help appreciated. Wade Leftwich Ithaca, NY
Jetty for production?
Hi, I just posted a question about configuring Tomcat's SecurityManager for SOLR, but then got to wondering if I might not be asking the wrong question. If the only servlet I intend to run on my production server is SOLR, then why not use Jetty? Does anyone on the list have experience using Jetty in production? We're a python-perl-and-php shop, and do not plan to get any further into Java than we have to. (SOLR is good enough to overcome our anti-Java bias.) Any observations or advice appreciated. Wade Leftwich Ithaca, NY
Re: Tomcat SecurityManager config for SOLR
Chris Hostetter wrote: > : log. I have not been able to find much in the way of a howto for > : SecurityManager, and am pretty much groping in the dark at this point. > > I found this... > http://tomcat.apache.org/tomcat-5.5-doc/security-manager-howto.html > ...but I'm afraid I don't have much concrete advice to offer you, i've > never run any servlet container with a security manager, mainly because > i've never run a WAR i didn't trust completely... > > to start with, it looks like you're going to want to enable JndiPermission > (since that's how you are setting the solr home) and you should enable > read FilePermission for the entire solr home dir, and write FilePermission > for the data dir. if you wnat to use snapshooting/snappulling you'll also > need to RuntimePermission. i think that's probably it ... but according > to that doc, the best way to figure out what permissions you need to turn > on if something isn't working, is with the -Djava.security.debug=all > option. > > if you have any luck with this, then by all means please update the > SOlrTomcat wiki with what you find. > > > -Hoss > > Hoss, thanks for the Saturday night reply. Open Source does indeed rule. I've gotten as far as making Solr completely trusted, which I think will be sufficient for my own purposes, since only people with root access can touch the Solr directories. Here's the command I added to catalina.policy: grant codeBase "file:${catalina.home}/webapps/solr/-" { permission java.security.AllPermission; }; -- Wade Leftwich Ithaca, NY
Solr consultants?
Hello Solr people, I work for Prism Business Media (http://prismb2b.com), a business-to-business magazine publishing company that has 70 or so websites (I haven't counted lately). We have been looking for a new search server (to replace Thunderstone) and to extend our capabilities in searching across our various content repositories. We also think faceted browsing is very cool and have a couple of applications in mind already. I've played around with Solr enough to see that it is a very strong candidate. Now I'm trying to identify Solr experts who could help us with a pilot project. We do have programmers on staff (including me), and we develop many of our own applications, but we are interested in outside help for several reasons: - We've got a project with a good business case that justifies spending some bucks to get into production faster. - We prefer open-source technology, in fact Thunderstone is our only closed application. But it makes management feel more secure when there is some level of commercial support available. - We're not Java coders (we are a Python-PHP-Perl shop, but willing to learn); and it's quite likely we'll need a custom module or two. - We could use some help building our in-house expertise. Any discussion or advice appreciated. Please feel free to reply on-list or off-list as you prefer. Thanks -- Wade Leftwich Prism Business Media business: [EMAIL PROTECTED] personal: [EMAIL PROTECTED]
Case sensitivity on hostnames and email addresses
I've run into some unexpected case sensitivity on searches, at least unexpected by me. If you index a text field containing this sentence: A sentence containing CamelCase words by [EMAIL PROTECTED] is found at StudlyCaps.org The document will be found by searching for "camelcase" but not for "[EMAIL PROTECTED]" or "studlycaps.org". This happens with the Standard or the DisMax query handler. A bit of a problem for me, because I'm indexing a bunch of business magazines, and domain names are frequently capitalized, often in CamelCase. Is this maybe a bug? Or a WAD? -- Wade Leftwich Ithaca, NY