views:

23

answers:

1

We are having 10 documents (all 10 documents with name_s="john" or name_s="john abraham") with boosting value 10.0 in doc level out of 100 documents. DataImportHandler is used to index the documents in xml. We gave omitNorms="false" in a field called "text" and having schema.xml configured as below. Default query field is "text", when i use q=john, the 10 documents which are having boosting is not coming in first 10 results.

Could anyone help on this issue?

A: 

The issue has been resolved. I was importing the XML using DIH and in the data-config.xml I did not mention <field column="$docBoost" xpath="/doc/@boost"/> which was the root cause of the problem.

SRD