Ah well some test classes could be appropriate:
http://dev.tailsweep.com/svn/abstractcache/trunk/src/test/java/org/tailsweep/abstractcache/test/
On Sun, Aug 3, 2008 at 5:07 PM, Marcus Herou <[EMAIL PROTECTED]>wrote:
> And for the heck of it I implemented a berkeleydb "java.util.Map" storage
> as
And for the heck of it I implemented a berkeleydb "java.util.Map" storage as
well.
http://dev.tailsweep.com/svn/abstractcache/trunk/src/main/java/org/tailsweep/abstractcache/disk/sleepycat/BerkelyDbCache.java
Kindly
//Marcus
On Fri, Aug 1, 2008 at 7:44 AM, Ganesh - yahoo <[EMAIL PROTECTED]>wrot
Hi.
I have actually created a solution where I use Lucene as Tuple (key/value)
storage. It was surprisingly fast and it has more balanced read/write
performance compared to BTrees but I think it is a little slower in
retrieving value per key than a Tree.
Look here for hints:
http://dev.tailsweep.
Hi Don't use JDBM if you want a BTree it is too slow... Been there.
Use Xindice's Filer class: org.apache.xindice.core.filer.Filer and
instantiate a org.apache.xindice.core.filer.BTreeFiler which is a whole lot
faster.
JDBM and Xindice are comparable in reading speed but surely not in writing.
C
Yes, it could be, I'm sure, I have tried...
But, I don't want to input anything from the command line.
I am using Jswing GUI in my program so inputting from command line will
'disturb' the program 'look-and-feel'
I just want to read text file content as a query and passing it through the
pars
Wojtek212 wrote:
You were right I had 2 IndexWriters. I've checked again and it
turned out I
had 2 IndexManagers loaded by 2 different classloaders, so even if
stored
it in static Map, it didn't help.
Phew! That's tricky (two different classloaders). Good sleuthing
Anyway thanks for
yes, I have...
but, as far as I know.. to make a boolean query, we also have to make it by
inputting a boolean expressions from the command line.
All I want to do is making the query from textual file. I read file content,
placing it in a string variable and passing it to the parser.
But, in m
Hi Mike,
You were right I had 2 IndexWriters. I've checked again and it turned out I
had 2 IndexManagers loaded by 2 different classloaders, so even if stored
it in static Map, it didn't help.
Anyway thanks for help. But I have last question. Is it correct if I use
IndexSearcher during wrking In