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.
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.
--
David
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.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.