turns out i needed a seek method.
i ended up modeling it after the RAM Directory.
i turned the RAMFile into an @Entity.
the directory accesses the EntityManager.
and i am using JBossCache.
preliminary testing shows comparable response times.
I am trying to write an Ejb3Directory. It seems to work for index writing but
not for searching.
I get the EOF exception. I assume this means that either my OutputStream or
InputStream is doing
something wrong. It fails because the CSInputStream has a length of zero when
it reads the .fnm sectio
I am trying to write an Ejb3Directory. It seems to work for index writing but
not for searching.
I get the EOF exception. I assume this means that either my OutputStream or
InputStream is doing
something wrong. It fails because the CSInputStream has a length of zero when
it reads the .fnm sectio