no.sesat.search.result.handler
Class NewsSearchSetBodyResultHandler

java.lang.Object
  extended by no.sesat.search.result.handler.NewsSearchSetBodyResultHandler
All Implemented Interfaces:
ResultHandler

public final class NewsSearchSetBodyResultHandler
extends Object
implements ResultHandler

It the search is hit in body(contains ) we leave the field untouched. If the search does not match in body, we replace the body-field with aggreggdisplayvalue alias intro alias staticleadin. This can be configured in modes.xml through the source variable. However, this is a special case in newssearch so this class is probably not very reusable. See jira: AGGREG-514

Created: Jun 13, 2007 1:09:12 PM

Version:
$Id: NewsSearchSetBodyResultHandler.java 7225 2009-04-09 00:32:20Z ssmiweve $

Nested Class Summary
 
Nested classes/interfaces inherited from interface no.sesat.search.result.handler.ResultHandler
ResultHandler.Context
 
Constructor Summary
NewsSearchSetBodyResultHandler(ResultHandlerConfig config)
           
 
Method Summary
 void handleResult(ResultHandler.Context cxt, DataModel datamodel)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NewsSearchSetBodyResultHandler

public NewsSearchSetBodyResultHandler(ResultHandlerConfig config)
Parameters:
config - the config
Method Detail

handleResult

public void handleResult(ResultHandler.Context cxt,
                         DataModel datamodel)
Specified by:
handleResult in interface ResultHandler


Copyright © 2005-2009 Schibsted ASA. All Rights Reserved.