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
clearIsExtractingFeatures(SolrQueryRequest req)
static FeatureLogger
getFeatureLogger(SolrQueryRequest req)
static String
getFvStoreName(SolrQueryRequest req)
static LTRScoringQuery[]
getScoringQueries(SolrQueryRequest req)
static boolean
isExtractingFeatures(SolrQueryRequest req)
static void
setFeatureLogger(SolrQueryRequest req, FeatureLogger featureLogger)
feature logger accessorsstatic void
setFvStoreName(SolrQueryRequest req, String fvStoreName)
feature vector store name accessorsstatic void
setIsExtractingFeatures(SolrQueryRequest req)
isExtractingFeatures flag 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)
-
setIsExtractingFeatures
public static void setIsExtractingFeatures(SolrQueryRequest req)
isExtractingFeatures flag accessors
-
clearIsExtractingFeatures
public static void clearIsExtractingFeatures(SolrQueryRequest req)
-
isExtractingFeatures
public static boolean isExtractingFeatures(SolrQueryRequest req)
-
setFvStoreName
public static void setFvStoreName(SolrQueryRequest req, String fvStoreName)
feature vector store name accessors
-
getFvStoreName
public static String getFvStoreName(SolrQueryRequest req)
-
-