Package org.apache.solr.ltr
Class SolrQueryRequestContextUtils
- java.lang.Object
-
- org.apache.solr.ltr.SolrQueryRequestContextUtils
-
public class SolrQueryRequestContextUtils extends Object
-
-
Constructor Summary
Constructors Constructor Description SolrQueryRequestContextUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
enableFeatureLogging(SolrQueryRequest req)
isLoggingFeatures flag accessorsstatic FeatureLogger
getFeatureLogger(SolrQueryRequest req)
static String
getFvStoreName(SolrQueryRequest req)
static LTRScoringQuery[]
getScoringQueries(SolrQueryRequest req)
static boolean
isLoggingFeatures(SolrQueryRequest req)
static void
setFeatureLogger(SolrQueryRequest req, FeatureLogger featureLogger)
feature logger accessorsstatic void
setFvStoreName(SolrQueryRequest req, String fvStoreName)
feature vector store name accessorsstatic void
setScoringQueries(SolrQueryRequest req, LTRScoringQuery[] scoringQueries)
scoring query accessors
-
-
-
Method Detail
-
setFeatureLogger
public static void setFeatureLogger(SolrQueryRequest req, FeatureLogger featureLogger)
feature logger accessors
-
getFeatureLogger
public static FeatureLogger getFeatureLogger(SolrQueryRequest req)
-
setScoringQueries
public static void setScoringQueries(SolrQueryRequest req, LTRScoringQuery[] scoringQueries)
scoring query accessors
-
getScoringQueries
public static LTRScoringQuery[] getScoringQueries(SolrQueryRequest req)
-
enableFeatureLogging
public static void enableFeatureLogging(SolrQueryRequest req)
isLoggingFeatures flag accessors
-
isLoggingFeatures
public static boolean isLoggingFeatures(SolrQueryRequest req)
-
setFvStoreName
public static void setFvStoreName(SolrQueryRequest req, String fvStoreName)
feature vector store name accessors
-
getFvStoreName
public static String getFvStoreName(SolrQueryRequest req)
-
-