Re: Query for "cache" mechanism to used

2012-04-11 Thread Hiren Shah
Hello Ivan Thanks for the reply. 1. I tried to use lucene .It stored the data on indexes on the hard disk.The search works well.How of the ehcache above lucene will help performane. 2. Will Lucene used alone give better performance. *OR *Will ehcache used above Lucene give better pe

Re: Query for "cache" mechanism to used

2012-04-11 Thread Ivan Brusic
A cache should be independent of the data store. Ehcache works well in front of Lucene as well as a (relational) database. However, caches work great for key/value data, so the cache value would be a result set. Is caching the grouped result good enough? -- Ivan On Tue, Apr 10, 2012 at 1:40 PM,

Indexing Pre-analyzed Field

2012-04-11 Thread Carsten Schnober
Hi, I've been wondering about best way to index a pre-analyzed field. With pre-analyzed, I mean essentially one that I'd like to initialize with the constructor Field(String name, TokenStream tokenStream). There is a loop about a bunch of document, all with pre-defined tokenizations that are store