Return-Path: X-Original-To: apmail-lucene-solr-user-archive@minotaur.apache.org Delivered-To: apmail-lucene-solr-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 59A5B10FAE for ; Tue, 21 Jan 2014 13:14:03 +0000 (UTC) Received: (qmail 29123 invoked by uid 500); 21 Jan 2014 13:13:58 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 29078 invoked by uid 500); 21 Jan 2014 13:13:58 -0000 Mailing-List: contact solr-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-user@lucene.apache.org Delivered-To: mailing list solr-user@lucene.apache.org Received: (qmail 29070 invoked by uid 99); 21 Jan 2014 13:13:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Jan 2014 13:13:57 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of arafalov@gmail.com designates 209.85.192.176 as permitted sender) Received: from [209.85.192.176] (HELO mail-pd0-f176.google.com) (209.85.192.176) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Jan 2014 13:13:52 +0000 Received: by mail-pd0-f176.google.com with SMTP id w10so2912579pde.35 for ; Tue, 21 Jan 2014 05:13:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; bh=9NsfYgwJwUDygqUD2ZwxHx/yfriY5sV3dg7EwZYOLTk=; b=e1tQ7Ue9wxX3AtbZQvU8PjdL1aQj/wLLfr0RDh1ULXemF2PmqxXok37JaegP1p4B24 WQD/doJstNkxJ+w5o346cz+YtR+MQfrrWgM4bKKVz3JXmNq7MTk1oymnz0vWrX8fSamU t3DtOZV6S81tbScKElkEeIhz6aBAKKyZHxs7g96FL0msI3SBfSoBSbvBNnHfM0vQDkgC s4lP6wCTQUY42sc1tMMfv2Uw/y/l4QVqbbXCntad7ErdT2sF99itaCe/sGP5Cx8dMJPf cTUnPzIou6iGHPgjG+t3qfaDFMicikgsUBRPt/Tvv0JkrvgrUTk04U+mFpL2/Uz0lu4v nJEQ== X-Received: by 10.68.164.4 with SMTP id ym4mr24989612pbb.53.1390310011344; Tue, 21 Jan 2014 05:13:31 -0800 (PST) MIME-Version: 1.0 Received: by 10.66.141.140 with HTTP; Tue, 21 Jan 2014 05:12:50 -0800 (PST) In-Reply-To: References: From: Alexandre Rafalovitch Date: Tue, 21 Jan 2014 20:12:50 +0700 Message-ID: Subject: Re: Solr middle-ware? To: solr-user@lucene.apache.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Hi Markus, Thanks for quick reply. I dare to differ that anything with 'embedded Perl scripting' is an easy suggestion for a random new/intermediate Solr developer to handle. http://xkcd.com/1171/ and all that ;-) Still, I appreciate you sharing your approach, as at least it shows one possible path. Regards, Alex. Personal website: http://www.outerthoughts.com/ LinkedIn: http://www.linkedin.com/in/alexandrerafalovitch - Time is the quality of nature that keeps events from happening all at once. Lately, it doesn't seem to be working. (Anonymous - via GTD book) On Tue, Jan 21, 2014 at 8:08 PM, Markus Jelsma wrote: > Hi - We use Nginx to expose the index to the internet. It comes down to p= utting some limitations on input parameters and on-the-fly rewrite of queri= es using embedded Perl scripting. Limitations and rewrites are usually just= a bunch of regular expressions, so it is not that hard. > > Cheers > Markus > > > -----Original message----- >> From:Alexandre Rafalovitch >> Sent: Tuesday 21st January 2014 14:01 >> To: solr-user@lucene.apache.org >> Subject: Solr middle-ware? >> >> Hello, >> >> All the Solr documents talk about not running Solr directly to the >> cloud. But I see people keep asking for a thin secure layer in front >> of Solr they can talk from JavaScript to, perhaps with some basic >> extension options. >> >> Has anybody actually written one? Open source or in a community part >> of larger project? I would love to be able to point people at >> something. >> >> Is there something particularly difficult about writing one? Does >> anybody has a story of aborted attempt or mid-point reversal? I would >> like to know. >> >> Regards, >> Alex. >> P.s. Personal context: I am thinking of doing a series of lightweight >> examples of how to use Solr. Like I did for a book, but with a bit >> more depth and something that can actually be exposed to the live web >> with live data. I don't want to reinvent the wheel of the thin Solr >> middleware. >> P.p.s. Though I keep thinking that Dart could make an interesting >> option for the middleware as it could have the same codebase on the >> server and in the client. Like NodeJS, but with saner syntax..... >> >> Personal website: http://www.outerthoughts.com/ >> LinkedIn: http://www.linkedin.com/in/alexandrerafalovitch >> - Time is the quality of nature that keeps events from happening all >> at once. Lately, it doesn't seem to be working. (Anonymous - via GTD >> book) >>