-ve boosting documents at index time

I would like to know if its possible to down weight some of the documents
at index time, based on list of terms?
Lets say I have a document containing following fileds:
th_name,
th_description,
th_show_title

I want to down weight anything which has "news" in the filed "th_name". So
when I search for news, all docs having "news" in the "th_name" filed will
have less score than other docs with "news" in th_description.

--
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.

Anyone?

--
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.

Use mapping. See boost in http://www.elasticsearch.org/guide/reference/mapping/core-types.html

--
David :wink:
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 13 mars 2013 à 22:44, Amit Patel avpatel.257@gmail.com a écrit :

I would like to know if its possible to down weight some of the documents at index time, based on list of terms?
Lets say I have a document containing following fileds:
th_name,
th_description,
th_show_title

I want to down weight anything which has "news" in the filed "th_name". So when I search for news, all docs having "news" in the "th_name" filed will have less score than other docs with "news" in th_description.

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.

On Wed, 2013-03-13 at 18:10 -0700, Amit Patel wrote:

Anyone?

Please don't spam the list just a few hours after asking the original
question.

--
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.

Thanks David. You saved me a lot of time.

On Thursday, March 14, 2013 3:03:57 AM UTC-4, David Pilato wrote:

Use mapping. See boost in
Elasticsearch Platform — Find real-time answers at scale | Elastic

--
David :wink:
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 13 mars 2013 à 22:44, Amit Patel <avpat...@gmail.com <javascript:>> a
écrit :

I would like to know if its possible to down weight some of the documents
at index time, based on list of terms?
Lets say I have a document containing following fileds:
th_name,
th_description,
th_show_title

I want to down weight anything which has "news" in the filed "th_name". So
when I search for news, all docs having "news" in the "th_name" filed will
have less score than other docs with "news" in th_description.

--
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 elasticsearc...@googlegroups.com <javascript:>.
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.