Hi all,
I have an issue with a JSON related query.
An Ajax searchform that should look up on another location for the JSON
Query.
The Domain where the data should be pulled from with:
http://mydomain.com/projects/solr_server/?q=searchword
That totally works if I type it in the browser.
Now I followed these instructions:
https://wiki.apache.org/solr/SolJSON#Using_Solr.27s_JSON_output_for_AJAX
in order to search for data and output them.
Within the example, I changed <form name="f1"
onsubmit='xmlhttpPost("/search/query"); return false;'>
and made a redirect via .htaccess from /search/query
http://mydomain.com/projects/solr_server/?q=searchword
If I type it to the browser, the redirect works.
I I try to use the form, that does not.
What do you guys think is the best practice to solve this search problem
here?
Best regards
Bernhard