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

Mark Miller commented on SOLR-4329:
-----------------------------------

bq. I find your chief/only concern odd: buggy code is by definition buggy and 
unsurprisingly could wreak havoc.

I didn't quite follow that either. We could add a comment on the interface? 
"With great power comes great responsibility!" :)

bq. labeling this new interface as expert and clearly documenting the overall 
lifecycle of things.

+1
                
> Have DocumentBuilder give value collections to the FieldType
> ------------------------------------------------------------
>
>                 Key: SOLR-4329
>                 URL: https://issues.apache.org/jira/browse/SOLR-4329
>             Project: Solr
>          Issue Type: New Feature
>          Components: update
>            Reporter: David Smiley
>            Assignee: David Smiley
>             Fix For: 4.2
>
>         Attachments: DocumentBuilder.java
>
>
> I'd like to write a multi-value-configured FieldType that can return a 
> DocValue Field from its createFields().  Since DocValues holds a single value 
> per document for a field, you can only have one.  However 
> FieldType.createFields() is invoked by the DocumentBuilder once per each 
> value being indexed.
> FYI the reason I'm asking for this is for a multi-valued spatial field to 
> store its points in DocValues.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
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