本文整理了Java中org.vertexium.query.Query.search
方法的一些代码示例,展示了Query.search
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Query.search
方法的具体详情如下:
包路径:org.vertexium.query.Query
类名称:Query
方法名:search
暂无
代码示例来源:origin: org.visallo/visallo-core
protected QueryResultsIterable<? extends VertexiumObject> getSearchResults(QueryAndData queryAndData, EnumSet<FetchHint> fetchHints) {
//noinspection unused
try (TraceSpan trace = Trace.start("getSearchResults")) {
return queryAndData.getQuery().search(getResultType(), fetchHints);
}
}
代码示例来源:origin: org.vertexium/vertexium-test
.search();
assertResultsCount(2, 2, items);
代码示例来源:origin: visallo/vertexium
.search();
assertResultsCount(2, 2, items);
代码示例来源:origin: visallo/vertexium
.search();
assertEquals(1, searchResults.getTotalHits());
List<? extends VertexiumObject> searchResultsList = toList(searchResults);
.search();
assertEquals(1, searchResults.getTotalHits());
searchResultsList = toList(searchResults);
.search();
assertEquals(2, searchResults.getTotalHits());
searchResultsList = toList(searchResults);
代码示例来源:origin: org.vertexium/vertexium-test
.has(dateColumnName, date1)
.sort(dateColumnName, SortDirection.ASCENDING)
.search();
assertEquals(1, searchResults.getTotalHits());
List<? extends VertexiumObject> searchResultsList = toList(searchResults);
.search();
assertEquals(2, searchResults.getTotalHits());
searchResultsList = toList(searchResults);
.search();
assertEquals(2, searchResults.getTotalHits());
searchResultsList = toList(searchResults);
代码示例来源:origin: org.vertexium/vertexium-test
.search();
assertEquals(1, searchResults.getTotalHits());
List<? extends VertexiumObject> searchResultsList = toList(searchResults);
.search();
assertEquals(1, searchResults.getTotalHits());
searchResultsList = toList(searchResults);
.search();
assertEquals(2, searchResults.getTotalHits());
searchResultsList = toList(searchResults);
代码示例来源:origin: visallo/vertexium
.has(dateColumnName, date1)
.sort(dateColumnName, SortDirection.ASCENDING)
.search();
assertEquals(1, searchResults.getTotalHits());
List<? extends VertexiumObject> searchResultsList = toList(searchResults);
.search();
assertEquals(2, searchResults.getTotalHits());
searchResultsList = toList(searchResults);
.search();
assertEquals(2, searchResults.getTotalHits());
searchResultsList = toList(searchResults);
代码示例来源:origin: visallo/vertexium
assertResultsCount(0, 0, results);
searchResults = graph.query(AUTHORIZATIONS_A).hasExtendedData(ElementType.VERTEX, "v1").search();
assertResultsCount(0, 0, searchResults);
assertResultsCount(0, 0, results);
searchResults = graph.query(AUTHORIZATIONS_B).hasExtendedData(ElementType.VERTEX, "v1").search();
assertResultsCount(0, 0, searchResults);
assertResultsCount(2, 2, results);
searchResults = graph.query(AUTHORIZATIONS_A_AND_B).hasExtendedData(ElementType.VERTEX, "v1").search();
assertResultsCount(2, 2, searchResults);
代码示例来源:origin: org.vertexium/vertexium-test
assertResultsCount(0, 0, results);
searchResults = graph.query(AUTHORIZATIONS_A).hasExtendedData(ElementType.VERTEX, "v1").search();
assertResultsCount(0, 0, searchResults);
assertResultsCount(0, 0, results);
searchResults = graph.query(AUTHORIZATIONS_B).hasExtendedData(ElementType.VERTEX, "v1").search();
assertResultsCount(0, 0, searchResults);
assertResultsCount(2, 2, results);
searchResults = graph.query(AUTHORIZATIONS_A_AND_B).hasExtendedData(ElementType.VERTEX, "v1").search();
assertResultsCount(2, 2, searchResults);
内容来源于网络,如有侵权,请联系作者删除!