Hi, We are using Lucene 4.7 on our server application for searching the documents placed on a nasshare. We have 10 million+ documents and have decided not to index all the documents. The strategy that we applied is as follows:
1. Client makes a request with a search phrase. Lucene application indexes a list of 500 documents(at max. ) and searches the phrase on the index constructed. 2. After search operation and results are returned to client we delete the indexes. 3. Second client makes a request and we follow the process of building, searching and deleting the index all over again. 4. Request can come paralleled also. We have decided to use MMapDirectory for above requirement. Given below is our server configuration. System architecture - 64 bit. OS - Windows 2008, 64 bit Virtual Machine Java JRE - 1.6 RAM - 4 GB CPU - 4 CPU Can you guide us the best way/ configuration to go about with using MMapDirectory. Thanks, Shruthi Sethi SR. SOFTWARE ENGINEER iMedX OFFICE: 033-4001-5789 ext. N/A MOBILE: 91-9903957546 EMAIL: sse...@imedx.com<mailto:jhopk...@imedx.com> WEB: www.imedx.com<http://www.imedx.com>