The question is that I used:
Field f = new Field("notindex","value",Store.YES,Index.NO);
and then use luke to view those index,and no field value can is there,but the
field's value is stored just not index_analyzed when construct the field.
Hope i am clear my question.
thanks
|
|
|
At 2012-10-01 15:34:44,Upayavira <[email protected]> wrote:
>Did that answer your question? :-)
>
>In case it didn't, *analysis* breaks down your field into multiple
>tokens. If you don't analyse, (i.e. Index.NOT_ANALYZED) you index your
>field as a single token. With Index.NO you don't even index, you just
>store the field so its value can be returned in search results.
>
>But maybe that has all been said already :-)
>
>Upayavira
>
>On Sat, Sep 29, 2012, at 08:27 AM, [email protected] wrote:
>> 没有被解析的字段值,被保存,作为单一的Term。
>> 所以使用TermQuery,以值构造new Term。
>>
>>
>> ----- 原始邮件 -----
>> 发件人:娄建文 <[email protected]>
>> 收件人:[email protected], [email protected]
>> 主题:Re:回复:What's_the_purpose:Lucene_document_field_index_but_not_store?
>> 日期:2012年09月29日 15点24分
>>