Uses of Interface
org.apache.lucene.monitor.TermWeightor
-
Packages that use TermWeightor Package Description org.apache.lucene.monitor Monitoring framework -
-
Uses of TermWeightor in org.apache.lucene.monitor
Fields in org.apache.lucene.monitor declared as TermWeightor Modifier and Type Field Description static TermWeightorTermWeightor. DEFAULTA default TermWeightor based on token lengthstatic TermWeightorTermFilteredPresearcher. DEFAULT_WEIGHTORThe default TermWeightor, weighting by token lengthprivate TermWeightorTermFilteredPresearcher. weightorFields in org.apache.lucene.monitor with type parameters of type TermWeightor Modifier and Type Field Description (package private) java.util.List<java.util.function.Function<TermWeightor,QueryTree>>QueryAnalyzer.QueryBuilder. childrenprivate java.util.function.BiFunction<Query,TermWeightor,QueryTree>QueryAnalyzer. unknownQueryMapperMethods in org.apache.lucene.monitor that return TermWeightor Modifier and Type Method Description static TermWeightorTermWeightor. combine(TermWeightor... weightors)Combine weightors by multiplicationstatic TermWeightorTermWeightor. fieldWeightor(double weight, java.lang.String... fields)QueryTerms with a field from the selected set will be assigned the given weightstatic TermWeightorTermWeightor. fieldWeightor(double weight, java.util.Set<java.lang.String> fields)QueryTerms with a field from the selected set will be assigned the given weightstatic TermWeightorTermWeightor. lengthWeightor(double a, double k)QueryTerms will be assigned a weight based on their term length Weights are assigned by the functiona * e ^ (-k * length).static TermWeightorTermWeightor. termAndFieldWeightor(double weight, java.util.Set<Term> terms)QueryTerms with a term and field value from the selected set will be assigned the given weightstatic TermWeightorTermWeightor. termAndFieldWeightor(double weight, Term... terms)QueryTerms with a term and field value from the selected set will be assigned the given weightstatic TermWeightorTermWeightor. termFreqWeightor(java.util.Map<java.lang.String,java.lang.Integer> frequencies, double n, double k)QueryTerms will be assigned a weight based on their term frequency More infrequent terms are weighted higher.static TermWeightorTermWeightor. termWeightor(double weight, java.util.Set<BytesRef> terms)QueryTerms with a term value from the selected set will be assigned the given weightstatic TermWeightorTermWeightor. termWeightor(double weight, BytesRef... terms)QueryTerms with a term value from the selected set will be assigned the given weightMethods in org.apache.lucene.monitor that return types with arguments of type TermWeightor Modifier and Type Method Description private static java.util.function.BiFunction<Query,TermWeightor,QueryTree>QueryAnalyzer. buildMapper(java.util.List<CustomQueryHandler> mappers)Methods in org.apache.lucene.monitor with parameters of type TermWeightor Modifier and Type Method Description QueryTreeQueryAnalyzer.Disjunction. apply(TermWeightor termWeightor)QueryTreeQueryAnalyzer.QueryBuilder. apply(TermWeightor termWeightor)(package private) QueryTreeQueryAnalyzer. buildTree(Query luceneQuery, TermWeightor weightor)Create aQueryTreefrom a passed in Query or Filterstatic TermWeightorTermWeightor. combine(TermWeightor... weightors)Combine weightors by multiplicationstatic QueryTreeQueryTree. conjunction(java.util.List<java.util.function.Function<TermWeightor,QueryTree>> children, TermWeightor weightor)Returns a conjunction of a set of child nodesstatic QueryTreeQueryTree. disjunction(java.util.List<java.util.function.Function<TermWeightor,QueryTree>> children, TermWeightor weightor)Returns a disjunction of a set of child nodesQueryTreeCustomQueryHandler. handleQuery(Query query, TermWeightor termWeightor)Builds aQueryTreenode from a queryQueryTreeRegexpQueryHandler. handleQuery(Query q, TermWeightor termWeightor)static QueryTreeQueryTree. term(Term term, TermWeightor weightor)Returns a leaf node for a particular termMethod parameters in org.apache.lucene.monitor with type arguments of type TermWeightor Modifier and Type Method Description static QueryTreeQueryTree. conjunction(java.util.List<java.util.function.Function<TermWeightor,QueryTree>> children, TermWeightor weightor)Returns a conjunction of a set of child nodesstatic QueryTreeQueryTree. disjunction(java.util.List<java.util.function.Function<TermWeightor,QueryTree>> children, TermWeightor weightor)Returns a disjunction of a set of child nodesConstructors in org.apache.lucene.monitor with parameters of type TermWeightor Constructor Description MultipassTermFilteredPresearcher(int passes, float minWeight, TermWeightor weightor, java.util.List<CustomQueryHandler> queryHandlers, java.util.Set<java.lang.String> filterFields)Construct a new MultipassTermFilteredPresearcherTermFilteredPresearcher(TermWeightor weightor, java.util.List<CustomQueryHandler> customQueryHandlers, java.util.Set<java.lang.String> filterFields)Creates a new TermFilteredPresearcher
-