Karl Kildén created SOLR-7237:
---------------------------------
Summary: Add boost to @Field annotation
Key: SOLR-7237
URL: https://issues.apache.org/jira/browse/SOLR-7237
Project: Solr
Issue Type: Improvement
Components: clients - java
Affects Versions: 5.0
Reporter: Karl Kildén
DocumentObjectBinder is great but it hard codes the boost like this:
doc.setField(field.name, field.get(obj), 1.0f);
Why not offer boost on the @Field annotation when you construct the bean?
@Field(name=MY_FIELD", boost=2.0f)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]