Hi,
thanks Erick for the answer.
The problem is that I am using Lucene through the Hibernate support, to map
trasparently Java domain entities to a file system Lucene index (no support
for a RAM Index at the moment, as far as I saw).
So some of my unit tests (which collaborate at some level with
Don't know if this helps or hurts, but my approach for unit tests was to
implement an index in a RAMdir for each test, index enough documents for my
tests that I could strictly control and just do searches, man...
True, the weakness was that the data sets are very small, and this more of a
"black
Hi,
I wanted just to share my issues with unit testing a component collaborating
with a Hits object.
The scenario is: I have a web page pagination component (say, it shows N
results per page) over the Hits results found in the Lucene index.
I want to test the pagination itselft, so I would like