lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Amin Mohammed-Coleman <ami...@gmail.com>
Subject Re: Field.Store.YES Question
Date Thu, 05 Feb 2009 11:47:02 GMT
Thanks guys for your replies!  It's helped alot!

Cheers
Amin

On Thu, Feb 5, 2009 at 9:28 AM, Ganesh <emailgane@yahoo.co.in> wrote:

> Field.Store.Yes is to store the field data as it is, so that it could be
> retrieved to display results.
> Field.Index.ANALYZED, tokenizes the field and stores the tokenized content.
>
> Regards
> Ganesh
>
> ----- Original Message ----- From: "Amin Mohammed-Coleman" <
> aminmc@gmail.com>
> To: <java-user@lucene.apache.org>
> Sent: Thursday, February 05, 2009 2:00 PM
> Subject: Field.Store.YES Question
>
>
>
>  Hi
>>
>> I'm probably going to get shot down for asking this simple question.
>> Although I think I understand the basic concept of Field I feel there is
>> something that I am missing and I was wondering if someone might help to
>> clarify.
>>
>> You can store a field value in an index using Field.Store.YES or if the
>> content is too large then you can exclude it be stored in the index using
>> Field.Store.NO.   How does Lucene know how to search for a term in an
>> index
>> if the value hasn't been stored in the index?  I guess I can understand
>> that
>> if you don't store the field then you can't get the field and it's value
>> using the document api.
>>
>> Is there a seperate part in the lucene document that the tokenised strings
>> are stored and therefore Lucene knows where to look?
>>
>> Again I do apologise for asking this question...I just feel like I'm
>> missing
>> something (knew I shouldn't have had those tequilla shots!).
>>
>>
>> Thanks
>> Amin
>>
>>
> Send instant messages to your online friends http://in.messenger.yahoo.com
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message