[
https://issues.apache.org/jira/browse/SOLR-16590?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17652843#comment-17652843
]
Uwe Schindler commented on SOLR-16590:
--------------------------------------
In Lucene we use with/add:
https://lucene.apache.org/core/9_4_0/analysis/common/org/apache/lucene/analysis/custom/CustomAnalyzer.Builder.html
- "with" is used to set a property
- "add" is used to add some value to a multivalued property
Generally builders should read like sentences when used.
> Standardize Builder method names
> --------------------------------
>
> Key: SOLR-16590
> URL: https://issues.apache.org/jira/browse/SOLR-16590
> Project: Solr
> Issue Type: Sub-task
> Affects Versions: 9.0
> Reporter: Eric Pugh
> Priority: Major
>
> We use a mish mash of method name styles on builders.. Some sets, some
> withs, some sends, some straight up direct property name...
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]