Another options similar to this would be the new file system
WatchService available in java 7:
http://docs.oracle.com/javase/tutorial/essential/io/notification.html


Arcadius.

On 15 March 2013 15:22, Michael Della Bitta
<michael.della.bi...@appinions.com> wrote:
> Niklas,
>
> In Linux, the API for watching for filesystem changes is called
> inotify. You'd need to write something to listen to those events and
> react accordingly.
>
> Here's a brief discussion about it:
> http://stackoverflow.com/questions/4062806/inotify-how-to-use-it-linux
>
>
> Michael Della Bitta
>
> ------------------------------------------------
> Appinions
> 18 East 41st Street, 2nd Floor
> New York, NY 10017-6271
>
> www.appinions.com
>
> Where Influence Isn’t a Game
>
>
> On Fri, Mar 15, 2013 at 11:10 AM, Niklas Langvig
> <niklas.lang...@globesoft.com> wrote:
>> We have all our documents (doc, docx, pdf) on a linux file server (~8 000 
>> 000 documents), is there a good way to update solr with documents that are 
>> added to the file server and deleted from the file server?
>> In windows you could have a wmi script that would get noticed when a 
>> document has been removed or added and then do appropriate update in solr.
>>
>> Can this be solved somehow?
>>
>> Thanks
>> Niklas

Reply via email to