本文整理了Java中proj.zoie.api.ZoieSegmentReader.fillDocumentID()
方法的一些代码示例,展示了ZoieSegmentReader.fillDocumentID()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ZoieSegmentReader.fillDocumentID()
方法的具体详情如下:
包路径:proj.zoie.api.ZoieSegmentReader
类名称:ZoieSegmentReader
方法名:fillDocumentID
暂无
代码示例来源:origin: com.linkedin.zoie/zoie-core
@Override
protected void persist(long uid, byte[] data) throws IOException {
Document doc = new Document();
doc.add(new Field(_field,data));
ZoieSegmentReader.fillDocumentID(doc, uid);
_idxWriter.addDocument(doc);
}
代码示例来源:origin: com.senseidb.zoie/zoie-core
@Override
protected void persist(long uid, byte[] data) throws IOException {
Document doc = new Document();
doc.add(new StoredField(_field, data));
ZoieSegmentReader.fillDocumentID(doc, uid);
_idxWriter.addDocument(doc);
}
代码示例来源:origin: senseidb/zoie
@Override
protected void persist(long uid, byte[] data) throws IOException {
Document doc = new Document();
doc.add(new StoredField(_field, data));
ZoieSegmentReader.fillDocumentID(doc, uid);
_idxWriter.addDocument(doc);
}
代码示例来源:origin: com.senseidb/sensei-core
public Document buildDoc(JSONObject json) {
ZoieIndexable indexable = defaultJsonSchemaInterpreter.convertAndInterpret(json);
Document ret = indexable.buildIndexingReqs()[0].getDocument();
ret.add(new StoredField(AbstractZoieIndexable.DOCUMENT_STORE_FIELD, indexable.getStoreValue()));
ZoieSegmentReader.fillDocumentID(ret, indexable.getUID());
return ret;
}
代码示例来源:origin: com.linkedin.zoie/zoie-core
ZoieSegmentReader.fillDocumentID(doc, uid);
if (indexable.isStorable()){
byte[] bytes = indexable.getStoreValue();
代码示例来源:origin: com.senseidb.zoie/zoie-core
ZoieSegmentReader.fillDocumentID(doc, uid);
if (indexable.isStorable()) {
byte[] bytes = indexable.getStoreValue();
代码示例来源:origin: senseidb/zoie
ZoieSegmentReader.fillDocumentID(doc, uid);
if (indexable.isStorable()) {
byte[] bytes = indexable.getStoreValue();
内容来源于网络,如有侵权,请联系作者删除!