lucene-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 娄建文 <tom.grade1...@163.com>
Subject Re:Re: 回复:Re:回复:What's_the_purpose:Lucene_document_field_index_but_not_store?
Date Mon, 01 Oct 2012 11:34:05 GMT

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 <uv@odoko.co.uk> 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, sdrkyj@sina.com wrote:
>> 没有被解析的字段值,被保存,作为单一的Term。
>> 所以使用TermQuery,以值构造new Term。
>>  
>> 
>> ----- 原始邮件 -----
>> 发件人:娄建文 <tom.grade1986@163.com>
>> 收件人:general@lucene.apache.org, sdrkyj@sina.com
>> 主题:Re:回复:What's_the_purpose:Lucene_document_field_index_but_not_store?
>> 日期:2012年09月29日 15点24分
>> 
Mime
  • Unnamed multipart/mixed (inline, None, 0 bytes)
View raw message