Click here to Skip to main content
15,745,973 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How can i merge two directories (Indexes folder) together.

AmitGajjar 3-Dec-12 2:48am    
What exactly you want to do ? do you want to merge two directory files and folders and store somewhere ?
aodeh 3-Dec-12 3:01am    
i have two index folders , one of them contains top 1000 data indexed
and another folder has top 500 data indexed.

i need to merge them in one folder( top 1500 ) .
I don't know if a copy and past for index files from folder to folder is acceptable in lucene.

i think there are some code to write the data from folder to folder in lucene.
AmitGajjar 3-Dec-12 3:03am    
Ok aodeh, Sorry but i do not have much idea about lucene. hope other people may help you. best luck.
aodeh 3-Dec-12 3:33am    
thank you @AmitGajjar

1 solution

Share this answer
aodeh 3-Dec-12 8:59am    
Thank you Krunal Rohit, but i'm talking about merging in Lucene.NET.
the merge process for segments files inside directories.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900