1 Reply Latest reply on Sep 25, 2012 11:30 AM by Lee Bartelme

    CFIndex Fieldboost Not Working in CF10

    OldNapkin

      Has anyone had luck using the new fieldboost feature? When I add a fieldboost to an existing, working collection  I get no results when searching. My goal is to make Solr rank results higher where the keyword is in the title field over the body field. A company called Bob's Pizza should rank higher than a company who's description says 'Conveniently located next to Bob's Pizza'.

       

      This works:




      <cfindex action="REFRESH" collection="mycollection" key="id" type="CUSTOM" title="company" custom1="link" query="results" body="company, description, keywords" image_s="image">

       

      This does not:

       


      <cfindex action="REFRESH" collection="mycollection" key="id" type="CUSTOM" title="company" custom1="link" query="results" body="company, description, keywords" image_s="image" fieldboost="title">

       

      When I do this cfindex doesn't throw an error but I don't get any results when searching. Any ideas? Thanks!