I added SOLR to my existing webapp. When I query the SOLR data from the browser it is returning zero records (this is expected since there is nothing there). But when I try to add documents using HttpSolrServer no indexes are created and no exceptions are thrown. When I request update url from a browser it looks good.
Every time I run my program to create indexes a write.lock
file is created in my solr data folder but again no indexes created.