Q:

adding upload file interface to my solr browser

I am new to solr 4.0.
I already made a custom browser site. 
1)I want to add an upload file interface to it, so clients can upload their own files from home.
2)After a file is being uploaded i want to parse and edit it with a jar application i made.
The only i can think of with my knowledge is run my parser every few minutes and using SolrJ search for a new document to parse and update.
I saw there is a smarter way, using 
http://wiki.apache.org/solr/DataImportHandler#EventListeners
But i don't understand how to run my own jar file.  

A:

Couple of options you can check upon :-

Use Solrj to post the Contents to Solr
Build a Custom filter or Analyzer which would use the jar build for Topic based Summarizer
Copyfield the text to an other field which would use this Filter to populate the values.

Also, you can check with DIH if you can use a Custom Transformer(which would use the jar) with the field to transform the contents.

