no.sesat.search.result.handler
Class RegexpResultHandler
java.lang.Object
no.sesat.search.result.handler.RegexpResultHandler
- All Implemented Interfaces:
- ResultHandler
public final class RegexpResultHandler
- extends Object
- implements ResultHandler
Applies a regular expression to a specified field in every result item
adding a target field matching the first capturing group in the regular expression.
- Version:
- $Id: RegexpResultHandler.java 7225 2009-04-09 00:32:20Z ssmiweve $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RegexpResultHandler
public RegexpResultHandler(ResultHandlerConfig config)
- Parameters:
config -
handleResult
public void handleResult(ResultHandler.Context cxt,
DataModel datamodel)
-
- Specified by:
handleResult in interface ResultHandler
Copyright © 2005-2009 Schibsted ASA. All Rights Reserved.