public class SimSearchUtils extends Object
Constructor and Description |
---|
SimSearchUtils() |
Modifier and Type | Method and Description |
---|---|
static org.apache.lucene.search.Query |
getSimilarityQuery(List<PropertyDefinition> sp,
org.apache.lucene.index.IndexReader reader,
String queryString) |
static byte[] |
toByteArray(List<Double> values) |
static byte[] |
toByteArray(String value) |
static List<Double> |
toDoubles(byte[] array) |
static String |
toDoubleString(byte[] bytes) |
public static String toDoubleString(byte[] bytes)
public static byte[] toByteArray(String value)
public static org.apache.lucene.search.Query getSimilarityQuery(List<PropertyDefinition> sp, org.apache.lucene.index.IndexReader reader, String queryString)
Copyright © 2012–2019 The Apache Software Foundation. All rights reserved.