Question about JDBC river


(Bruce-2) #1

I am using JDBC river plugin for my elastic search engine.
I want to know how can I give different weightings on different fields of
my index.

say for example "select a, b, c, d from table"
I want to give a:10%, b:20%, c:30%, d:40% for my search.

How can I do it?

Thanks!
Bruce

--


(David Pilato) #2

Not sure I fully understand your concern.
IMHO, it's a matter of mapping not of JDBC river.

If you want to increase scoring for some fields (boosting fields), you have 2 choices :

HTH

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

Le 21 sept. 2012 à 05:43, Bruce bruce.kau@qipost.com a écrit :

I am using JDBC river plugin for my elastic search engine.
I want to know how can I give different weightings on different fields of my index.

say for example "select a, b, c, d from table"
I want to give a:10%, b:20%, c:30%, d:40% for my search.

How can I do it?

Thanks!
Bruce

--


(system) #3