tags:

views:

31

answers:

1

Is it possible to add boosts to docs and fields in Solr 1.4 DIH when using a JdbcDataSource? The documentation seem to suggest it's possible but I can't find any examples.

There are a few examples of how to add the boost="2.0" attribute to your docs/fields in XML imports, but how do you do the same with the JdbcDataSource?

The closest I could get to an answer was http://www.nabble.com/data-import-handler---going-deeper...-td20731715.html

Add a special value $fieldBoost. to the row map

Has this been implemented yet?

+1  A: 

$fieldBoost is not implemented, but $docBoost is.

Source code.

Special commands docs.

Mauricio Scheffer
Hey Mauricio. Thank you for your reply! Much appreciated. Do you have some sample code showing how it's implemented? Or do you have a link to where it's been documented?
Nick
No idea, sorry .
Mauricio Scheffer