We'll do this using the mode attribute and define a different processing mode for each query. Furthermore, we need to distinguish templates for processing this external XML document as opposed to the input XML document. xml file stored on the server filesystem or a URL, which will be fetched at time of processing. The parameter to this function is a string with the path to the XML document to process. You can include another XML document to be processed by XSLT using the document() function. Solr queries are usually very fast, so only synchronous calls will be shown here. There are two ways how to do that - synchronously in Cocoon or asynchronously using AJAX (JavaScript) after the page is loaded. Since Solr returns its responses in XML, it's possible and easy to call custom Solr queries from XMLUI, process the XML response with XSLT and display the results in human-readable form on the HTML page. OpenSSH client - port forwarding connect to DSpace server and forward its port 8080 to localhost (machine we're connecting from) port 1234 All of them will make Solr accessible only to the machine you're connecting from for as long as the connection is open. Instead, use one of following simple means to bypass this restriction temporarily. While you could make Solr publicly accessible by changing this default configuration, this is not recommended, because Solr indexes may contain some data you might consider private. If you have to expose Solr to a public IP, use a SSH tunnel or a VPN for the connection.īypassing localhost restriction temporarily If you're exposing it to an IP within your network, add it as an exception to the LocalHostRestrictionFilter. There is no easy way to expose only read access.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |