Boosting on document level

Hello,
I know for sure that one document will be more important than another of
the same type. How can I set boost level for the documents at index time? I
couldn't find the way to do this using Java API, nor any other way.
Thank you,
Eugene

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

You can use a boost field at index time:
http://www.elasticsearch.org/guide/reference/mapping/boost-field/

--
Ivan

On Mon, Jun 3, 2013 at 11:15 AM, Eugene Strokin eugene@strokin.info wrote:

Hello,
I know for sure that one document will be more important than another of
the same type. How can I set boost level for the documents at index time? I
couldn't find the way to do this using Java API, nor any other way.
Thank you,
Eugene

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.