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

David Smiley commented on LUCENE-7362:
--------------------------------------

RE FieldInfos: okay

RE FieldInfo:

bq. The current toString is more useful to me than that, so it would just lose 
usefulness.

That needn't go away if it's improved -- it can be the prefix.  

bq. If we want FieldInfo not plural to have a different toString it should 
simply print out all of the flags by name and value with no screwing around.

Sounds good to me.

> Implement FieldInfos and FieldInfo toString()
> ---------------------------------------------
>
>                 Key: LUCENE-7362
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7362
>             Project: Lucene - Core
>          Issue Type: Improvement
>          Components: core/index
>            Reporter: David Smiley
>
> FieldInfos and FieldInfo ought to override toString().  Perhaps 
> FieldInfo.toString() can look like the pattern popularized by Luke, also seen 
> in Solr?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to