Searched defs:weight (Results 1 - 25 of 57) sorted by relevance

123

/lucene-3.6.0/solr/core/src/java/org/apache/solr/search/
H A DSolrSortField.java30 public SortField weight(IndexSearcher searcher) throws IOException; method in interface:SolrSortField
/lucene-3.6.0/lucene/contrib/highlighter/src/java/org/apache/lucene/search/highlight/
H A DWeightedSpanTerm.java26 * Lightweight class to hold term, weight, and positions used for scoring this
34 * @param weight
37 public WeightedSpanTerm(float weight, String term) { argument
38 super(weight, term);
43 * @param weight
47 public WeightedSpanTerm(float weight, String term, boolean positionSensitive) { argument
48 super(weight, term);
H A DWeightedTerm.java19 /** Lightweight class to hold term and a weight value used for scoring this term
23 float weight; // multiplier field in class:WeightedTerm
25 public WeightedTerm (float weight,String term) argument
27 this.weight=weight;
41 * @return the weight associated with this term
45 return weight;
57 * @param weight the weight associated with this term
59 public void setWeight(float weight) argument
[all...]
/lucene-3.6.0/lucene/contrib/spellchecker/src/java/org/apache/lucene/search/spell/
H A DTermFreqIterator.java27 * Interface for enumerating term,weight pairs.
31 public long weight(); method in interface:TermFreqIterator
44 public long weight() { method in class:TermFreqIterator.TermFreqIteratorWrapper
H A DHighFrequencyDictionary.java77 public long weight() { method in class:HighFrequencyDictionary.HighFrequencyIterator
H A DLuceneDictionary.java70 public long weight() { method in class:LuceneDictionary.TermIterator
/lucene-3.6.0/lucene/contrib/spellchecker/src/java/org/apache/lucene/search/suggest/
H A DBufferingTermFreqIteratorWrapper.java46 freqs[freqIndex++] = source.weight();
51 public long weight() { method in class:BufferingTermFreqIteratorWrapper
H A DUnsortedTermFreqIteratorWrapper.java52 public long weight() { method in class:UnsortedTermFreqIteratorWrapper
H A DFileDictionary.java64 public long weight() { method in class:FileDictionary.FileIterator
/lucene-3.6.0/lucene/contrib/spellchecker/src/test/org/apache/lucene/search/suggest/
H A DTermFreqArrayIterator.java48 public long weight() { method in class:TermFreqArrayIterator
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/search/
H A DConjunctionScorer.java32 public ConjunctionScorer(Weight weight, float coord, Collection<Scorer> scorers) throws IOException { argument
33 this(weight, coord, scorers.toArray(new Scorer[scorers.size()]));
36 public ConjunctionScorer(Weight weight, float coord, Scorer... scorers) throws IOException { argument
37 super(weight);
H A DDisjunctionMaxScorer.java43 * @param weight
57 public DisjunctionMaxScorer(Weight weight, float tieBreakerMultiplier, argument
59 super(similarity, weight);
H A DDisjunctionSumScorer.java61 * @param weight The weight to be used.
71 public DisjunctionSumScorer(Weight weight, List<Scorer> subScorers, int minimumNrMatchers) throws IOException { argument
72 super(weight);
92 public DisjunctionSumScorer(Weight weight, List<Scorer> subScorers) throws IOException { argument
93 this(weight, subScorers, 1);
H A DFilteredQuery.java63 final Weight weight = query.createWeight (searcher);
68 // pass these methods through to enclosed query's weight
78 return weight.sumOfSquaredWeights() * getBoost() * getBoost(); // boost sub-weight
83 weight.normalize(v * getBoost()); // incorporate boost
84 value = weight.getValue();
89 Explanation inner = weight.explain (ir, i);
117 return FilteredQuery.getFilteredScorer(indexReader, similarity, weight, this, filter);
127 * @param weight the weight t
132 getFilteredScorer(final IndexReader indexReader, final Similarity similarity, final Weight weight, final Weight wrapperWeight, final Filter filter) argument
[all...]
H A DPhraseScorer.java40 PhraseScorer(Weight weight, PhraseQuery.PostingsAndFreq[] postings, argument
42 super(similarity, weight);
44 this.value = weight.getValue();
133 public String toString() { return "scorer(" + weight + ")"; }
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/search/
H A DTestPositiveScoresOnlyCollector.java33 public SimpleScorer(Weight weight) { argument
34 super(weight);
78 Weight fake = new TermQuery(new Term("fake", "weight")).createWeight(searcher);
H A DTestTopDocsMerge.java44 public void search(Weight weight, Collector collector) throws IOException { argument
45 subSearcher.search(weight, null, collector);
48 public TopDocs search(Weight weight, int topN) throws IOException { argument
49 return subSearcher.search(weight, null, topN);
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/search/
H A DTestPositiveScoresOnlyCollector.java33 public SimpleScorer(Weight weight) { argument
34 super(weight);
78 Weight fake = new TermQuery(new Term("fake", "weight")).createWeight(searcher);
H A DTestTopDocsMerge.java44 public void search(Weight weight, Collector collector) throws IOException { argument
45 subSearcher.search(weight, null, collector);
48 public TopDocs search(Weight weight, int topN) throws IOException { argument
49 return subSearcher.search(weight, null, topN);
/lucene-3.6.0/lucene/contrib/analyzers/smartcn/src/java/org/apache/lucene/analysis/cn/smart/hhmm/
H A DPathNode.java28 public double weight; field in class:PathNode
33 if (weight < pn.weight)
35 else if (weight == pn.weight)
50 temp = Double.doubleToLongBits(weight);
69 if (Double.doubleToLongBits(weight) != Double
70 .doubleToLongBits(other.weight))
H A DSegTokenPair.java40 public double weight; field in class:SegTokenPair
42 public SegTokenPair(char[] idArray, int from, int to, double weight) { argument
46 this.weight = weight;
62 temp = Double.doubleToLongBits(weight);
85 if (Double.doubleToLongBits(weight) != Double
86 .doubleToLongBits(other.weight))
H A DSegToken.java52 public int weight; field in class:SegToken
66 * @param weight word frequency
68 public SegToken(char[] idArray, int start, int end, int wordType, int weight) { argument
73 this.weight = weight;
89 result = prime * result + weight;
114 if (weight != other.weight)
/lucene-3.6.0/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/surround/query/
H A DSpanNearClauseFactory.java28 increase the weight of an existing one.
95 protected void addSpanQueryWeighted(SpanQuery sq, float weight) { argument
98 w = Float.valueOf(w.floatValue() + weight);
100 w = Float.valueOf(weight);
104 public void addTermWeighted(Term t, float weight) throws IOException { argument
107 addSpanQueryWeighted(stq, weight);
H A DSrndQuery.java26 private float weight = (float) 1.0; field in class:SrndQuery
30 weight = w; /* as parsed from the query text */
34 public float getWeight() { return weight; }
39 protected void weightToString(StringBuilder r) { /* append the weight part of a query */
49 q.setBoost(getWeight() * q.getBoost()); /* weight may be at any level in a SrndQuery */
/lucene-3.6.0/lucene/contrib/remote/src/java/org/apache/lucene/search/
H A DRemoteSearchable.java51 public void search(Weight weight, Filter filter, Collector results) argument
53 local.search(weight, filter, results);
73 public TopDocs search(Weight weight, Filter filter, int n) throws IOException { argument
74 return local.search(weight, filter, n);
77 public TopFieldDocs search(Weight weight, Filter filter, int n, Sort sort) argument
79 return local.search (weight, filter, n, sort);
94 public Explanation explain(Weight weight, int doc) throws IOException { argument
95 return local.explain(weight, doc);

Completed in 196 milliseconds

123