[ 
https://issues.apache.org/jira/browse/LUCENE-3453?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13114256#comment-13114256
 ] 

Chris Male commented on LUCENE-3453:
------------------------------------

Okay so a battle plan:

DocValues is basically an attribute of a Field and is a way of processing that 
Field's value.  So to remove the need for IndexDocValues, lets:

- Move ValueType to FieldType.  FieldType is the appropriate place for that 
kind of metadata.  This forces the user to define the ValueType of their 
DocValues when they initialize the FT.
- Remove PerFieldDocValues docValues() from Field as its implicit when you 
consider the ValueType in combination with the actual value.
- Change DocValuesConsumer to consume an IndexableField.  It'll be responsible 
for then creating the PerFieldDocValues by looking at the ValueType.

When we get round to introducing StorableField/Type, the DocValues ValueType 
will go over to StorableFieldType, more closely aligning DocValues and 
traditional value storing.

> remove IndexDocValuesField
> --------------------------
>
>                 Key: LUCENE-3453
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3453
>             Project: Lucene - Java
>          Issue Type: Bug
>    Affects Versions: 4.0
>            Reporter: Robert Muir
>            Assignee: Chris Male
>
> Its confusing how we present CSF functionality to the user, its actually not 
> a "field" but an "attribute" of a field like  STORED or INDEXED.
> Otherwise, its really hard to think about CSF because there is a mismatch 
> between the APIs and the index format.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to