lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Илья Казначеев <>
Subject Re: Implementing CMS search function using Lucene
Date Thu, 03 Apr 2008 14:47:37 GMT
В сообщении от Thursday 03 April 2008 16:24:15 Илья Казначеев написал(а):

> - Is there a way to set weights for different fields? Let's say, content
> have a weight of 1, title have a weight of 5 and picture subscribe have a
> weight of 0.5. If no, can I do that by hand?
Already found field.setBoost().
Sorry for asking lame questions :(

By the way, if setBoost() returned this, it would be much easier to assemble 
document, one line instead of three. Chaining rules.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message