Package com.flaptor.hounder.crawler.modules.boost

Examples of com.flaptor.hounder.crawler.modules.boost.ABoostMethod


        ABoostMethod.Type methodType = null;
        String methodString = mdlConfig.getString("boost.method");
        if ("doc".equals(methodString)) methodType = ABoostMethod.Type.Doc;
        if ("field".equals(methodString)) methodType = ABoostMethod.Type.Field;
        if ("keyword".equals(methodString)) methodType = ABoostMethod.Type.Keyword;
        ABoostMethod method = ABoostMethod.getBoostMethod(mdlConfig,methodType);

        ABoostValue.Type valueType = null;
        valueType = ABoostValue.Type.None;
        String valueString = mdlConfig.getString("boost.value");
        if ("constant".equals(valueString)) valueType = ABoostValue.Type.Constant;
View Full Code Here

TOP

Related Classes of com.flaptor.hounder.crawler.modules.boost.ABoostMethod

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.