[hibernate-dev] BoostStrategy issues
Sanne Grinovero
sanne.grinovero at gmail.com
Fri Dec 4 09:04:28 EST 2009
Is that possible?
I couldn't find the method in Lucene to boost per field, I've only
looked briefly into 2.9.1.
The BoostStrategy we had defined is only considered at indexing time,
are you thinking about a query time boosting?
Would be nice to consider this for the QueryBuilder.
Regards,
Sanne
2009/12/4 Emmanuel Bernard <emmanuel at hibernate.org>:
> I think the BoostStrategy interface is not right.
> You can't adjust the boost strategy according to the field name and I
> think that's important (assuming dynamic boosting is used).
>
> We probably should rework it to do
>
> interface BoostStrategy {
> void defineBoost(String fieldName, Object value);
> }
>
> WDYT?
> _______________________________________________
> hibernate-dev mailing list
> hibernate-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hibernate-dev
>
More information about the hibernate-dev
mailing list