tags:

views:

109

answers:

0

Hi everyone,

I'm trying to get the Java Boosting API of FAST ESP to work (version 5.1.5), but no success so far. When boosting a search profile with

PositionQueryBoost queryBoost = new PositionQueryBoost(id, boostingSearchProfile
            .getPublishedViewName(), searchTerm, 1);
BoostOperation addOperation = BoostOperation.add(queryBoost);
boostService.submitAndDeployOperation(addOperation);
boostService.publish(username, boostingSearchProfile, false)

the boost does not show up in the Search Business Center web page, nor does searching for it work (I have used annotation_class="user" for searching, as specified).

Interestingly, when looking up the existing boosts via API calls, the boost shows up (i.e. when I dump the following list to standard output):

boostService.retrieveBoostsByQueries(
            boostingSearchProfile.getPublishedViewName(), new   
SearchProfileRetrieveFilter());

Has anyone run into this situation yet? Any help is appreciated! (FAST documentation is not really helpful here).

I have tried to boost a collection name too (instead of a search profile), but that did not work either.