作者:落地有声800_491_431 | 来源:互联网 | 2023-09-11 17:05
本文整理了Java中org.apache.lucene.document.LongPoint.getType()
方法的一些代码示例,展示了LongPoint.getType()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。LongPoint.getType()
方法的具体详情如下:
包路径:org.apache.lucene.document.LongPoint
类名称:LongPoint
方法名:getType
LongPoint.getType介绍
暂无
代码示例
代码示例来源:origin: org.apache.lucene/lucene-core
/** Creates a new LongPoint, indexing the
* provided N-dimensional long point.
*
* @param name field name
* @param point long[] value
* @throws IllegalArgumentException if the field name or value is null.
*/
public LongPoint(String name, long... point) {
super(name, pack(point), getType(point.length));
}
代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.lucene
/** Creates a new LongPoint, indexing the
* provided N-dimensional long point.
*
* @param name field name
* @param point long[] value
* @throws IllegalArgumentException if the field name or value is null.
*/
public LongPoint(String name, long... point) {
super(name, pack(point), getType(point.length));
}