how to perfetch some fields

2009-01-11 Thread hyj
hi,all! I create a lucene index on files(the files content must store and get later). the files's num upbound to 40,000,000. so, the lucene dir up to 100G some field,must be deal but the content can be later get. how can

Re: Any way to ignore repeated terms in TF calculation?

2009-01-11 Thread Israel Tsadok
> > you can solve your problem at search time by passing a custom Similarity > class that looks something like this: > > private Similarity similarity = new DefaultSimilarity() { >>public float tf(float v) { >> return 1f; >>} >>public float tf(int i) { >> return 1f; >>}