You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "David Smiley (Jira)" <ji...@apache.org> on 2025/03/17 03:18:00 UTC
[jira] [Resolved] (SOLR-7237) Add boost to @Field annotation
[ https://issues.apache.org/jira/browse/SOLR-7237?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Smiley resolved SOLR-7237.
--------------------------------
Resolution: Won't Fix
field boosts at indexing time is no longer supported for many years
> 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
> Priority: Major
>
> 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
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org