<commit_before>#ifndef INDEXER_PROPERTYCONFIG_H
#define INDEXER_PROPERTYCONFIG_H

#include <types.h>
#include <string>
#include <sstream>
#include <vector>

#include <boost/archive/text_oarchive.hpp>
#include <boost/archive/text_iarchive.hpp>

NS_IZENELIB_IR_BEGIN

namespace indexmanager{

class IndexerPropertyConfig
{
public:
    IndexerPropertyConfig()
            :propertyId_(0),
            index_(false),
            forward_(false),
            laInput_(false)
    { }

    IndexerPropertyConfig(unsigned int propertyid, string propertyname, bool index, bool forward)
		:propertyId_(propertyid),
		,propertyId_(propertyname)
		index_(index),
		forward_(forward)
    { }<commit_msg>add constructor for IndexerPropertyConfig for compatibility with SF1<commit_after>#ifndef INDEXER_PROPERTYCONFIG_H
#define INDEXER_PROPERTYCONFIG_H

#include <types.h>
#include <string>
#include <sstream>
#include <vector>

#include <boost/archive/text_oarchive.hpp>
#include <boost/archive/text_iarchive.hpp>

NS_IZENELIB_IR_BEGIN

namespace indexmanager{

class IndexerPropertyConfig
{
public:
    IndexerPropertyConfig()
            :propertyId_(0),
            index_(false),
            forward_(false),
            laInput_(false)
    { }

    IndexerPropertyConfig(unsigned int propertyid, string propertyname, bool index, bool forward)
		:propertyId_(propertyid)
		,propertyName_(propertyname)
		,index_(index)
		,forward_(forward)
    { }
{'fraction_non_alphanumeric': 0.09464161447459986, 'fraction_numerical': 0.0020876826722338203, 'mean_word_length': 4.406015037593985, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4149321', 'n_tokens_mistral': 450, 'n_tokens_neox': 441, 'n_words': 87}