Re: Field.omitTF

2008-12-18 Thread John Wang
Thanks Mark for the pointer! -John On Thu, Dec 18, 2008 at 6:13 PM, Mark Miller wrote: > No, not a bug, certainly its the intended behavior (though the name is a > bit tricky isn't it? I've actually thought about that in the past myself). > If you check out the javadoc on Fieldable youll find: >

Re: Field.omitTF

2008-12-18 Thread Mark Miller
No, not a bug, certainly its the intended behavior (though the name is a bit tricky isn't it? I've actually thought about that in the past myself). If you check out the javadoc on Fieldable youll find: /** Expert: * * If set, omit term freq, positions and payloads from postings for this f

Re: Field.omitTF

2008-12-18 Thread John Wang
Thanks Mark!I don't think it is documented (at least the ones I've read), should this be considered as a bug or ... ? Thanks -John On Thu, Dec 18, 2008 at 2:05 PM, Mark Miller wrote: > Drops positions as well. > > - Mark > > > > On Dec 18, 2008, at 4:57 PM, "John Wang" wrote: > > Hi: >> In

Re: Field.omitTF

2008-12-18 Thread Mark Miller
Drops positions as well. - Mark On Dec 18, 2008, at 4:57 PM, "John Wang" wrote: Hi: In lucene 2.4, when Field.omitTF() is called, payload is disabled as well. Is this intentional? My understanding is payload is independent from the term frequencies. Thanks -John