> Thanks a ton Eric and Iorixxx. > Since I used DIH to import XML data, boosting was not > reflected in score. > When I used /update to import XML data, boosting was > considered for scoring > and able to see the intended data on top 10 results. > Could you please let me know how to make boosting value to > be reflected in > score while using DIH to index XML docs?
There is a special command ($docBoost) for that. http://wiki.apache.org/solr/DataImportHandler#Special_Commands I think you can apply the same approach described here: http://search-lucene.com/m/cbTef2peJfk