Re: Client-side proxy for Solr 4.5.0

2013-11-27 Thread Reyes, Mark
What about using some JSONP techniques since the results in the Solr
instance rest as key/value pairs?


On 11/26/13, 10:53 AM, Markus Jelsma markus.jel...@openindex.io wrote:

I don't think you mean client-side proxy. You need a server side layer
such as a normal web application or good proxy. We use Nginx, it is very
fast and very feature rich. Its config scripting is usually enough to
restrict access and limit input parameters. We also use Nginx's embedded
Perl and Lua scripting besides its config scripting to implement more
difficult logic.

 
 
-Original message-
 From:Reyes, Mark mark.re...@bpiedu.com
 Sent: Tuesday 26th November 2013 19:27
 To: solr-user@lucene.apache.org
 Subject: Client-side proxy for Solr 4.5.0
 
 Are there any GOOD client-side solutions to proxy a Solr 4.5.0 instance
so that the end-user can see  their queries w/o being able to directly
access :8983?
 
 Applications/frameworks used:
 - Solr 4.5.0
 - AJAX Solr (javascript library)
 
 Thank you,
 Mark
 
 IMPORTANT NOTICE: This e-mail message is intended to be received only
by persons entitled to receive the confidential information it may
contain. E-mail messages sent from Bridgepoint Education may contain
information that is confidential and may be legally privileged. Please
do not read, copy, forward or store this message unless you are an
intended recipient of it. If you received this transmission in error,
please notify the sender by reply e-mail and delete the message and any
attachments.


IMPORTANT NOTICE: This e-mail message is intended to be received only by 
persons entitled to receive the confidential information it may contain. E-mail 
messages sent from Bridgepoint Education may contain information that is 
confidential and may be legally privileged. Please do not read, copy, forward 
or store this message unless you are an intended recipient of it. If you 
received this transmission in error, please notify the sender by reply e-mail 
and delete the message and any attachments.

Re: Client-side proxy for Solr 4.5.0

2013-11-27 Thread Guido Medina
Why complicate it?, I think the simplest solution to the poster question 
is either a transparent proxy or proxy jetty (or tomcat) via Apache Web 
Server.


I don't think there will be any difference between either, only how easy 
one or the other are to implement.


HTH,

Guido.

On 27/11/13 14:13, Reyes, Mark wrote:

What about using some JSONP techniques since the results in the Solr
instance rest as key/value pairs?


On 11/26/13, 10:53 AM, Markus Jelsma markus.jel...@openindex.io wrote:


I don't think you mean client-side proxy. You need a server side layer
such as a normal web application or good proxy. We use Nginx, it is very
fast and very feature rich. Its config scripting is usually enough to
restrict access and limit input parameters. We also use Nginx's embedded
Perl and Lua scripting besides its config scripting to implement more
difficult logic.



-Original message-

From:Reyes, Mark mark.re...@bpiedu.com
Sent: Tuesday 26th November 2013 19:27
To: solr-user@lucene.apache.org
Subject: Client-side proxy for Solr 4.5.0

Are there any GOOD client-side solutions to proxy a Solr 4.5.0 instance
so that the end-user can see  their queries w/o being able to directly
access :8983?

Applications/frameworks used:
- Solr 4.5.0
- AJAX Solr (javascript library)

Thank you,
Mark

IMPORTANT NOTICE: This e-mail message is intended to be received only
by persons entitled to receive the confidential information it may
contain. E-mail messages sent from Bridgepoint Education may contain
information that is confidential and may be legally privileged. Please
do not read, copy, forward or store this message unless you are an
intended recipient of it. If you received this transmission in error,
please notify the sender by reply e-mail and delete the message and any
attachments.


IMPORTANT NOTICE: This e-mail message is intended to be received only by 
persons entitled to receive the confidential information it may contain. E-mail 
messages sent from Bridgepoint Education may contain information that is 
confidential and may be legally privileged. Please do not read, copy, forward 
or store this message unless you are an intended recipient of it. If you 
received this transmission in error, please notify the sender by reply e-mail 
and delete the message and any attachments.




Re: Client-side proxy for Solr 4.5.0

2013-11-27 Thread Guido Medina

Mark,

As a 2nd thought, maybe, I was just focusing on what I thought you 
needed initially which is allow client to query solr and at the same 
time restrict specific request parameters, both apache and a any rich 
transparent proxy can do the job easily, apache can rewrite the URL and 
map only what you want to expose, same as a transparent proxy. For me I 
find easier to use Apache web server.


HTH,

Guido.

On 27/11/13 14:46, Guido Medina wrote:
Why complicate it?, I think the simplest solution to the poster 
question is either a transparent proxy or proxy jetty (or tomcat) via 
Apache Web Server.


I don't think there will be any difference between either, only how 
easy one or the other are to implement.


HTH,

Guido.

On 27/11/13 14:13, Reyes, Mark wrote:

What about using some JSONP techniques since the results in the Solr
instance rest as key/value pairs?


On 11/26/13, 10:53 AM, Markus Jelsma markus.jel...@openindex.io 
wrote:



I don't think you mean client-side proxy. You need a server side layer
such as a normal web application or good proxy. We use Nginx, it is 
very

fast and very feature rich. Its config scripting is usually enough to
restrict access and limit input parameters. We also use Nginx's 
embedded

Perl and Lua scripting besides its config scripting to implement more
difficult logic.



-Original message-

From:Reyes, Mark mark.re...@bpiedu.com
Sent: Tuesday 26th November 2013 19:27
To: solr-user@lucene.apache.org
Subject: Client-side proxy for Solr 4.5.0

Are there any GOOD client-side solutions to proxy a Solr 4.5.0 
instance

so that the end-user can see  their queries w/o being able to directly
access :8983?

Applications/frameworks used:
- Solr 4.5.0
- AJAX Solr (javascript library)

Thank you,
Mark

IMPORTANT NOTICE: This e-mail message is intended to be received only
by persons entitled to receive the confidential information it may
contain. E-mail messages sent from Bridgepoint Education may contain
information that is confidential and may be legally privileged. Please
do not read, copy, forward or store this message unless you are an
intended recipient of it. If you received this transmission in error,
please notify the sender by reply e-mail and delete the message and 
any

attachments.


IMPORTANT NOTICE: This e-mail message is intended to be received only 
by persons entitled to receive the confidential information it may 
contain. E-mail messages sent from Bridgepoint Education may contain 
information that is confidential and may be legally privileged. 
Please do not read, copy, forward or store this message unless you 
are an intended recipient of it. If you received this transmission in 
error, please notify the sender by reply e-mail and delete the 
message and any attachments.






Client-side proxy for Solr 4.5.0

2013-11-26 Thread Reyes, Mark
Are there any GOOD client-side solutions to proxy a Solr 4.5.0 instance so that 
the end-user can see  their queries w/o being able to directly access :8983?

Applications/frameworks used:
- Solr 4.5.0
- AJAX Solr (javascript library)

Thank you,
Mark

IMPORTANT NOTICE: This e-mail message is intended to be received only by 
persons entitled to receive the confidential information it may contain. E-mail 
messages sent from Bridgepoint Education may contain information that is 
confidential and may be legally privileged. Please do not read, copy, forward 
or store this message unless you are an intended recipient of it. If you 
received this transmission in error, please notify the sender by reply e-mail 
and delete the message and any attachments.

RE: Client-side proxy for Solr 4.5.0

2013-11-26 Thread Markus Jelsma
I don't think you mean client-side proxy. You need a server side layer such as 
a normal web application or good proxy. We use Nginx, it is very fast and very 
feature rich. Its config scripting is usually enough to restrict access and 
limit input parameters. We also use Nginx's embedded Perl and Lua scripting 
besides its config scripting to implement more difficult logic.

 
 
-Original message-
 From:Reyes, Mark mark.re...@bpiedu.com
 Sent: Tuesday 26th November 2013 19:27
 To: solr-user@lucene.apache.org
 Subject: Client-side proxy for Solr 4.5.0
 
 Are there any GOOD client-side solutions to proxy a Solr 4.5.0 instance so 
 that the end-user can see  their queries w/o being able to directly access 
 :8983?
 
 Applications/frameworks used:
 - Solr 4.5.0
 - AJAX Solr (javascript library)
 
 Thank you,
 Mark
 
 IMPORTANT NOTICE: This e-mail message is intended to be received only by 
 persons entitled to receive the confidential information it may contain. 
 E-mail messages sent from Bridgepoint Education may contain information that 
 is confidential and may be legally privileged. Please do not read, copy, 
 forward or store this message unless you are an intended recipient of it. If 
 you received this transmission in error, please notify the sender by reply 
 e-mail and delete the message and any attachments.


Re: Client-side proxy for Solr 4.5.0

2013-11-26 Thread Ing. Jorge Luis Betancourt Gonzalez
Perhaps what you want is a transparent proxy? You could use nginx, squid, 
varnish, etc. W've been evaluating varnish as a posibility to run in front of 
our solr server and take advantage of the HTTP caching that varnish does so 
well.

Greetings!

- Mensaje original -
De: Markus Jelsma markus.jel...@openindex.io
Para: solr-user@lucene.apache.org
Enviados: Martes, 26 de Noviembre 2013 13:53:31
Asunto: RE: Client-side proxy for Solr 4.5.0

I don't think you mean client-side proxy. You need a server side layer such as 
a normal web application or good proxy. We use Nginx, it is very fast and very 
feature rich. Its config scripting is usually enough to restrict access and 
limit input parameters. We also use Nginx's embedded Perl and Lua scripting 
besides its config scripting to implement more difficult logic.

 
 
-Original message-
 From:Reyes, Mark mark.re...@bpiedu.com
 Sent: Tuesday 26th November 2013 19:27
 To: solr-user@lucene.apache.org
 Subject: Client-side proxy for Solr 4.5.0
 
 Are there any GOOD client-side solutions to proxy a Solr 4.5.0 instance so 
 that the end-user can see  their queries w/o being able to directly access 
 :8983?
 
 Applications/frameworks used:
 - Solr 4.5.0
 - AJAX Solr (javascript library)
 
 Thank you,
 Mark
 
 IMPORTANT NOTICE: This e-mail message is intended to be received only by 
 persons entitled to receive the confidential information it may contain. 
 E-mail messages sent from Bridgepoint Education may contain information that 
 is confidential and may be legally privileged. Please do not read, copy, 
 forward or store this message unless you are an intended recipient of it. If 
 you received this transmission in error, please notify the sender by reply 
 e-mail and delete the message and any attachments.

III Escuela Internacional de Invierno en la UCI del 17 al 28 de febrero del 
2014. Ver www.uci.cu

III Escuela Internacional de Invierno en la UCI del 17 al 28 de febrero del 
2014. Ver www.uci.cu