Searching in an updated index

2016-01-25 Thread marco turchi
Dear All, I'm not an expert in Lucene, and I need to add to the index a sequence of documents. For each document, I need to check if it is already present in the index. If the answer is yes, then I need to update some information in the doc in the index, if not I need to add it. This process is ite

about Lucene Replicator

2016-01-25 Thread dancer朕
Hi, Here is my code to backup index files with Lucene Replicator, but It doesn't work well, No files were backuped. Could you check my code and give me your advice? I bolded the key code. public class IndexFiles { private static Directory dir; private static Path bakPath; private sta

about Lucene replicator

2016-01-25 Thread Dancer
Hi, Here is my code to backup index files with Lucene Replicator, but It doesn't work well, No files were backuped. Could you check my code and give me your advice? I bolded the key code. public class IndexFiles { private static Directory dir; private static P