Package org.apache.solr.ltr
Class CSVFeatureLogger
java.lang.Object
org.apache.solr.ltr.FeatureLogger
org.apache.solr.ltr.CSVFeatureLogger
A feature logger that logs in csv format.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.solr.ltr.FeatureLogger
FeatureLogger.FeatureFormat -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final charstatic final charFields inherited from class org.apache.solr.ltr.FeatureLogger
featureFormat, logAll, logFeatures -
Constructor Summary
ConstructorsConstructorDescriptionCSVFeatureLogger(FeatureLogger.FeatureFormat f, Boolean logAll) CSVFeatureLogger(FeatureLogger.FeatureFormat f, Boolean logAll, char keyValueSep, char featureSep) -
Method Summary
Methods inherited from class org.apache.solr.ltr.FeatureLogger
isLogFeatures, isLoggingAll, setLogAll, setLogFeatures
-
Field Details
-
DEFAULT_KEY_VALUE_SEPARATOR
public static final char DEFAULT_KEY_VALUE_SEPARATOR- See Also:
-
DEFAULT_FEATURE_SEPARATOR
public static final char DEFAULT_FEATURE_SEPARATOR- See Also:
-
-
Constructor Details
-
CSVFeatureLogger
-
CSVFeatureLogger
public CSVFeatureLogger(FeatureLogger.FeatureFormat f, Boolean logAll, char keyValueSep, char featureSep)
-
-
Method Details
-
printFeatureVector
- Specified by:
printFeatureVectorin classFeatureLogger
-