BIASVAL on mimetype


I'm trying to bias URLs that report their mime type as HTML documents over PDFs and other types.

I've add this to the query and it does not affect the results.


If I use the same field specification with MATCH{text/html} I only get back HTML documents so the field exists and has the values I expect.  But I've not found a way to promote all the HTML and/or demote non-HTML

Any guess what I'm missing?

  • 0  

    Have you checked that DOCUMENT_KEYVIEW_CONTENTTYPE_STRING is configured as either MatchType or ParametricType (with ParametricNumericMapping enabled)?

    If it's not you should be getting back the warning:

    BIASVAL must be restricted to MatchType or ParametricNumericMapping fields only. The bias will not occur

    You can check which fields the engine has configured as those types with:


    To verify, pick one document with the right value and try:



    You should see the <autn:weight> of your one hit change accordingly. If it is changing then the BIASVAL is working correctly and perhaps some other aspect of your results scoring is making you think that it isn't having an effect.


    Docs: Specifiers/_IDOL_BIASVAL.htm?Highlight=BIASVAL