gpt4 book ai didi

proj.zoie.api.indexing.ZoieIndexable.getUID()方法的使用及代码示例

转载 作者:知者 更新时间:2024-03-13 12:56:07 27 4
gpt4 key购买 nike

本文整理了Java中proj.zoie.api.indexing.ZoieIndexable.getUID()方法的一些代码示例,展示了ZoieIndexable.getUID()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ZoieIndexable.getUID()方法的具体详情如下:
包路径:proj.zoie.api.indexing.ZoieIndexable
类名称:ZoieIndexable
方法名:getUID

ZoieIndexable.getUID介绍

[英]Gets the UID.
[中]获取UID。

代码示例

代码示例来源:origin: com.senseidb.zoie/zoie-core

@Override
public long getUID() {
 return _inner.getUID();
}

代码示例来源:origin: senseidb/zoie

@Override
public long getUID() {
 return _inner.getUID();
}

代码示例来源:origin: com.linkedin.zoie/zoie-core

public long getUID() {
 return _inner.getUID();
}

代码示例来源: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

_writer.deleteDocuments(new Term(DOCUMENT_ID_FIELD, String.valueOf(indexable.getUID())));
} catch (IOException e)
 Field uidField = new Field(DOCUMENT_ID_FIELD, String.valueOf(indexable.getUID()), Store.NO, Index.NOT_ANALYZED_NO_NORMS);
 uidField.setOmitNorms(true);
 doc.add(uidField);

代码示例来源:origin: com.linkedin.zoie/zoie-core

if (!_appendOnly){
 try {
  _writer.deleteDocuments(new Term(DOCUMENT_ID_FIELD,String.valueOf(indexable.getUID())));
 } catch(IOException e) {
  throw new ZoieException(e.getMessage(),e);
Analyzer localAnalyzer = req.getAnalyzer();
Document doc = req.getDocument();
Field uidField = new Field(DOCUMENT_ID_FIELD,String.valueOf(indexable.getUID()),Store.NO,Index.NOT_ANALYZED_NO_NORMS);
uidField.setOmitNorms(true);
doc.add(uidField);

代码示例来源:origin: com.linkedin.zoie/zoie-core

continue;
long uid = indexable.getUID();
delSet.add(uid);
addList.remove(uid);

代码示例来源:origin: senseidb/zoie

if (indexable == null || indexable.isSkip()) continue;
long uid = indexable.getUID();
delSet.add(uid);
addList.remove(uid);

代码示例来源:origin: com.senseidb.zoie/zoie-core

if (indexable == null || indexable.isSkip()) continue;
long uid = indexable.getUID();
delSet.add(uid);
addList.remove(uid);

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com