lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chuck Williams <ch...@manawiz.com>
Subject Re: Global field semantics
Date Sat, 08 Jul 2006 18:08:50 GMT
karl wettin wrote on 07/08/2006 10:27 AM:
> On Sat, 2006-07-08 at 09:46 -0700, Chuck Williams wrote:
>   
>> Many things would be cleaner in Lucene if fields had a global semantics,
>>     
>
>   
>> Has this been considered before?  Are there good reasons this path has
>> not been followed?
>>     
>
> I've been posting some advocacy about the current Field. Basically I
> would like to see a more normalized field setting per document (instead
> of normalizing it in the writer), and I've been talking about something
> like this:
>
> [Document]<#>--- {1..*} ->[Value]-->[Field +name +store +index +vector]
>                                                     A
>                                                     | {0..*}
>                                                     |
>                                                  [Index]
>
>   

And what I'm after would look like this:

[Document]<#>--- {1..*} ->[Value]
                             A
                             | {*..1}
                             |
      [Field +store +index +vector +analyzer +directory]
                             A
                             | {1..1}
                             |
                        [FieldName]
                             A
                             | {0..*}
                             |
                          [Index]



The key points are to have Index be a first-class object and to have
field names uniquely specify field properties.

Karl, do you have specific reasons or use cases to normalize fields at
Document rather than at Index?

Chuck


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


Mime
View raw message