views:

31

answers:

0

Basically .I am using Apache threads to serve request in a web application via cgi. These cgi create an instance of searcher, search the HD indexes and gets the result back . Now, I am trying to map the file structure of lucene index onto memory and then utilise the same instance of indexes for every request . For this , I need to pass on refrence of this memory(indexes) onto every request.so that i donot need to reload the memory with indexes before searching for request. Otherwise theres no point using in memory indexes.As i wanna optimise search by using fast memory.