: 1. how to attach my own stylesheet to the output?

You can use the XSLTResponseWriter to get Solr to apply an XSLT before 
writing hte response to the client...
        http://wiki.apache.org/solr/XsltResponseWriter

...alternately there is a "stylesheet" param that can be used with the 
XMLResponseWriter that just causes it to include a stylesheet instruction 
in the response XML so the client can process it -- but it's fairly 
useless at the moment (it requires you to include your own stylesheet in 
the Solr WAR file or to configure some creative path mapping in your 
servlet container)

: 2. how the Solr do the update? What kind of update I can ask Solr to do?

That's a pretty vague question ... have you read the tutorial? have 
skimmed the main page of the Solr wiki -- particularly the section on 
"Indexing Documents"?

http://lucene.apache.org/solr/tutorial.html
http://wiki.apache.org/solr/



-Hoss

Reply via email to