[ 
https://issues.apache.org/jira/browse/SOLR-620?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12616969#action_12616969
 ] 

Ryan McKinley commented on SOLR-620:
------------------------------------

the JSON feature gets around a javascript limitation for cross-site scripting.  
If you enclose your HTML within a JSON tag, you can access from any server -- 
otherwise it has to come from the same machine.

the json feature just sends your velocity template output (perhaps html) 
surrounded with:
  {\"result\":\"" + json encoded output + "\"}

> Velocity Response Writer
> ------------------------
>
>                 Key: SOLR-620
>                 URL: https://issues.apache.org/jira/browse/SOLR-620
>             Project: Solr
>          Issue Type: New Feature
>          Components: search
>    Affects Versions: 1.3
>            Reporter: Erik Hatcher
>            Assignee: Erik Hatcher
>            Priority: Minor
>         Attachments: SOLR-620.jars.zip, SOLR-620.patch, SOLR-620.patch, 
> SOLR-620.patch
>
>
> Add a Velocity - http://velocity.apache.org - response writer, making it 
> possible to generate a decent search UI straight from Solr itself.  Designed 
> to work standalone or in conjunction with the JSON response writer (or 
> SolrJS) for Ajaxy things.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to