/* Copyright (2006-2012) Schibsted ASA
* This file is part of Possom.
*
* Possom is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Possom is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with Possom. If not, see <http://www.gnu.org/licenses/>.
*/
package no.sesat.search.query.transform;
import no.sesat.search.query.transform.AbstractQueryTransformerConfig.Controller;
/** Transforms the query into <br/>
* field:^"query"$
* or
* ^"query"$ if field is null
* <br/>
* Ensures that only an exact match is returned.
*
*
* @version <tt>$Revision: 3359 $</tt>
*/
@Controller("ExactMatchQueryTransformer")
public final class ExactMatchQueryTransformerConfig extends AbstractQueryTransformerConfig {
private String field;
/**
*
* @return
*/
public String getField(){
return field;
}
/**
*
* @param field
*/
public void setField(final String field){
this.field = field;
}
}