Java api: terms query with a big amount of terms


I want to make a query with an input of 1000000 terms.
Is it possible?

I tried with 150k, it is ok, but more than that, i got out of memory error.
It may due to my environment?

What should I do?

Thank you.


This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.