lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Miller <markrmil...@gmail.com>
Subject Re: Field.omitTF
Date Fri, 19 Dec 2008 02:13:25 GMT
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 field.
   */
  void setOmitTf(boolean omitTf);

- Mark

John Wang wrote:
> 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 <markrmiller@gmail.com> wrote:
>
>   
>> Drops positions as well.
>>
>> - Mark
>>
>>
>>
>> On Dec 18, 2008, at 4:57 PM, "John Wang" <john.wang@gmail.com> 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
>>>
>>>       
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
>> For additional commands, e-mail: java-user-help@lucene.apache.org
>>
>>
>>     
>
>   


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message