Class CoolerWeighting
- java.lang.Object
-
- com.funnelback.publicui.search.model.padre.CoolerWeighting
-
public class CoolerWeighting extends Object
Ranking weighting, defined using
-cool
command line flags on the query processor.Each weighting is defined by a short name and an identifier
This is used mostly when explain mode is enabled, for the Content Optimiser.
- Since:
- v12.4
-
-
Constructor Summary
Constructors Constructor Description CoolerWeighting()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CoolerWeighting
fromJSON(String json)
Used to deserialize aCoolerWeighting
from a JSON value, as represented bytoString()
.String
toString()
-
-
-
Field Detail
-
SEP
private static final String SEP
Separator between the id and the name- See Also:
- Constant Field Values
-
name
private String name
Short name, e.g. offlink
-
id
private int id
Identifier
-
-
Method Detail
-
fromJSON
public static CoolerWeighting fromJSON(String json)
Used to deserialize aCoolerWeighting
from a JSON value, as represented bytoString()
.- Parameters:
json
- JSON representation of aCoolerWeighting
- Returns:
- The deserialized
CoolerWeighting
-
-