Re: Help! Confused about using Jquery for the Search query - Want to ditch it

2012-06-08 Thread Roman Chyla
though. I get the impression that there are > different ways that this could be done, but is sending an XML response back > to the Python server the best way to do this? > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Help-Confused-about

RE: Help! Confused about using Jquery for the Search query - Want to ditch it

2012-06-07 Thread Ben Woods
But, check out things like httplib2 and urllib2. -Original Message- From: Spadez [mailto:james_will...@hotmail.com] Sent: Thursday, June 07, 2012 2:09 PM To: solr-user@lucene.apache.org Subject: RE: Help! Confused about using Jquery for the Search query - Want to ditch it Thank you

RE: Help! Confused about using Jquery for the Search query - Want to ditch it

2012-06-07 Thread Ben Woods
Message- From: Spadez [mailto:james_will...@hotmail.com] Sent: Thursday, June 07, 2012 2:09 PM To: solr-user@lucene.apache.org Subject: RE: Help! Confused about using Jquery for the Search query - Want to ditch it Thank you, that helps. The bit I am still confused about how the server sends the

RE: Help! Confused about using Jquery for the Search query - Want to ditch it

2012-06-07 Thread Spadez
context: http://lucene.472066.n3.nabble.com/Help-Confused-about-using-Jquery-for-the-Search-query-Want-to-ditch-it-tp3988123p3988302.html Sent from the Solr - User mailing list archive at Nabble.com.

RE: Help! Confused about using Jquery for the Search query - Want to ditch it

2012-06-07 Thread Ben Woods
data put into results page 6. User shown new results page Is this basically how it would work if we wanted Javascript out of the equation? Regards, James -- View this message in context: http://lucene.472066.n3.nabble.com/Help-Confused-about-using-Jquery-for-the-Search-query-Want-to-dit

Re: Help! Confused about using Jquery for the Search query - Want to ditch it

2012-06-07 Thread Nick Chase
+1 on that! If you do want to provide direct results, ALWAYS send requests through a proxy that can verify that a) all requests are coming from your web app, and b) only "acceptable" queries are being passed on. Nick On 6/7/2012 2:50 PM, Michael Della Bitta wrote: On Thu, Jun 7, 2012 a

Re: Help! Confused about using Jquery for the Search query - Want to ditch it

2012-06-07 Thread Michael Della Bitta
On Thu, Jun 7, 2012 at 1:59 PM, Nick Chase wrote: > The other option is to create a python page that does the call to Solr and > spits out just the HTML for your results, then call THAT rather than calling > Solr directly. This is the *only* option if you're listening to Walter and I. Don't giv

Re: Help! Confused about using Jquery for the Search query - Want to ditch it

2012-06-07 Thread Nick Chase
On 6/7/2012 1:53 PM, Spadez wrote: Hi Ben, Thank you for the reply. So, If I don't want to use Javascript and I want the entire page to reload each time, is it being done like this? 1. User submits form via GET 2. Solr server queried via GET 3. Solr server completes query 4. Solr server retur

RE: Help! Confused about using Jquery for the Search query - Want to ditch it

2012-06-07 Thread Spadez
into results page 6. User shown new results page Is this basically how it would work if we wanted Javascript out of the equation? Regards, James -- View this message in context: http://lucene.472066.n3.nabble.com/Help-Confused-about-using-Jquery-for-the-Search-query-Want-to-ditch-it-tp3988123p39

RE: Help! Confused about using Jquery for the Search query - Want to ditch it

2012-06-07 Thread Ben Woods
:37 AM To: solr-user@lucene.apache.org Subject: Re: Help! Confused about using Jquery for the Search query - Want to ditch it Thank you for the reply, but I'm afraid I don't understand :( This is how things are setup. On my Python website, I have a keyword and location box. When clicke

Re: Help! Confused about using Jquery for the Search query - Want to ditch it

2012-06-07 Thread Spadez
hould Solr be spitting out the other end, just an XML file? Then is the idea that my Python site would receive this XML data and display it on the site? -- View this message in context: http://lucene.472066.n3.nabble.com/Help-Confused-about-using-Jquery-for-the-Search-query-Want-to-ditch-it-t

Re: Help! Confused about using Jquery for the Search query - Want to ditch it

2012-06-07 Thread Michael Della Bitta
> >> -- >> View this message in context: >> http://lucene.472066.n3.nabble.com/Help-Confused-about-using-Jquery-for-the-Search-query-Want-to-ditch-it-tp3988123p3988158.html >> Sent from the Solr - User mailing list archive at Nabble.com. > > > >

Re: Help! Confused about using Jquery for the Search query - Want to ditch it

2012-06-07 Thread Walter Underwood
about this. Is this a > good idea? Are there any major disadvantages? > > It seems like the only way to go to have a reliable search site which works > without Javascript. > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Help-Confused-about-using

Re: Help! Confused about using Jquery for the Search query - Want to ditch it

2012-06-07 Thread Spadez
to say about this. Is this a good idea? Are there any major disadvantages? It seems like the only way to go to have a reliable search site which works without Javascript. -- View this message in context: http://lucene.472066.n3.nabble.com/Help-Confused-about-using-Jquery-for-the-Search-query-Want

Re: Help! Confused about using Jquery for the Search query - Want to ditch it

2012-06-07 Thread Spadez
Further to my last reply. How about I do the following: Send the request to the server using the GET method and then return the results in XML rather than JSON. Does this sound logical? -- View this message in context: http://lucene.472066.n3.nabble.com/Help-Confused-about-using-Jquery-for-the

Help! Confused about using Jquery for the Search query - Want to ditch it

2012-06-07 Thread Spadez
: http://lucene.472066.n3.nabble.com/Help-Confused-about-using-Jquery-for-the-Search-query-Want-to-ditch-it-tp3988123.html Sent from the Solr - User mailing list archive at Nabble.com.