Which version you are trying of lucene ?

On Tue, Dec 28, 2010 at 12:30 PM, Jawahar Lal <j...@chambal.com> wrote:

> Hi,
>
>  I am using multiSearcher as
>
> objMultiSearcher.search(query,null,Integer.MaxValue);
>
> I searched a query, which should & does not return any hit. As I run the
> query, the above statement throw OutofMemory exception. I change the
> Integer.MaxValue TO 100, then I again searched, it returned 0 hit.
>
> Why its thowing memory exception, even there is not hit found for the query
> ?
>
> Thanks
>



-- 
Thanks,
Laxmilal Menariya

Reply via email to