solr - Index time boosting is not working with boosting value in document level -


we having 10 documents (all 10 documents name_s="john" or name_s="john abraham") boosting value 10.0 in doc level out of 100 documents. dataimporthandler used index documents in xml. gave omitnorms="false" in field called "text" , having schema.xml configured below. default query field "text", when use q=john, 10 documents having boosting not coming in first 10 results.

could on issue?

the issue has been resolved. importing xml using dih , in data-config.xml did not mention <field column="$docboost" xpath="/doc/@boost"/> root cause of problem.


Comments

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -

PostgreSQL 9.x - pg_read_binary_file & inserting files into bytea -