Modify the Dockerfile
This commit is contained in:
parent
16a24c85d3
commit
15cd53a1d3
|
@ -27,4 +27,6 @@ ENV LANG C.UTF-8
|
|||
|
||||
EXPOSE 80
|
||||
|
||||
RUN make pre
|
||||
|
||||
RUN make
|
||||
|
|
|
@ -19,7 +19,7 @@ class ISArray
|
|||
{
|
||||
private:
|
||||
// stores at most 1 billion keys
|
||||
static const unsigned int MAX_KEY_NUM = 300000000;
|
||||
static const unsigned int MAX_KEY_NUM = 500000000;
|
||||
static const unsigned int SET_KEY_NUM = 10 * 1000 * 1000; // minimum initial keys num, same as RDFParser::TRIPLE_NUM_PER_GROUP
|
||||
static const unsigned int SET_KEY_INC = SET_KEY_NUM; // minimum keys num inc
|
||||
static const unsigned int SEG_LEN = 1 << 8;
|
||||
|
|
|
@ -38,7 +38,7 @@ string RDFParser::parseFile(TripleWithObjType* _triple_array, int& _triple_num)
|
|||
TripleWithObjType::ObjectType _object_type = TripleWithObjType::None;
|
||||
if (_objectType == Type::Type_URI)
|
||||
{
|
||||
cout << "not change object :" << _object << endl;
|
||||
//cout << "not change object :" << _object << endl;
|
||||
_object = "<" + _object + ">";
|
||||
_object_type = TripleWithObjType::Entity;
|
||||
}
|
||||
|
@ -62,7 +62,7 @@ string RDFParser::parseFile(TripleWithObjType* _triple_array, int& _triple_num)
|
|||
else if (_objectType == Type::Type_CustomType)
|
||||
_object = "\"" + _object + "\"^^<" + _objectSubType + ">";
|
||||
_object_type = TripleWithObjType::Literal;
|
||||
cout << "change object :"<<_objectType<<":"<<_object << endl;
|
||||
//cout << "change object :"<<_objectType<<":"<<_object << endl;
|
||||
}
|
||||
|
||||
_triple_array[_triple_num++] = TripleWithObjType(_subject, _predicate, _object, _object_type);
|
||||
|
|
Loading…
Reference in New Issue