: I had a feeling that was the case. So, I was thinking I could write a : driver program that takes in my files and then calls the API directly. : Is this doable? How do you guys do it on your live site? Do you do it : all through HTTP requests or through a driver that calls the API? I : think I would prefer the API calls for bulk loading. Where should I : look for these?
Once upon a time, I agrued for having an robust update API, and a way to write "updater plugins" that would run within the Solr JVM ... and I was talked out of it in favor doing everything over HTTP. So yeah ... that's what I do: build/update entirely over HTTP. >From what i remember of the internal update API, you could probably write a new subclass of UpdateHandler that you register in the solrconfig.xml which pulled most of the data from wherever you want -- but it would still need to be triggered by (minimal) "<add>" messages over HTTP. alternately, you could write your own Servlet with load-on-startup="true" that used the internal update methods directly. -Hoss