/lucene-3.6.0/solr/core/src/java/org/apache/solr/search/ |
H A D | SolrSortField.java | 30 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 D | WeightedSpanTerm.java | 26 * 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 D | WeightedTerm.java | 19 /** 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 D | TermFreqIterator.java | 27 * 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 D | HighFrequencyDictionary.java | 77 public long weight() { method in class:HighFrequencyDictionary.HighFrequencyIterator
|
H A D | LuceneDictionary.java | 70 public long weight() { method in class:LuceneDictionary.TermIterator
|
/lucene-3.6.0/lucene/contrib/spellchecker/src/java/org/apache/lucene/search/suggest/ |
H A D | BufferingTermFreqIteratorWrapper.java | 46 freqs[freqIndex++] = source.weight(); 51 public long weight() { method in class:BufferingTermFreqIteratorWrapper
|
H A D | UnsortedTermFreqIteratorWrapper.java | 52 public long weight() { method in class:UnsortedTermFreqIteratorWrapper
|
H A D | FileDictionary.java | 64 public long weight() { method in class:FileDictionary.FileIterator
|
/lucene-3.6.0/lucene/contrib/spellchecker/src/test/org/apache/lucene/search/suggest/ |
H A D | TermFreqArrayIterator.java | 48 public long weight() { method in class:TermFreqArrayIterator
|
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/search/ |
H A D | ConjunctionScorer.java | 32 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 D | DisjunctionMaxScorer.java | 43 * @param weight 57 public DisjunctionMaxScorer(Weight weight, float tieBreakerMultiplier, argument 59 super(similarity, weight);
|
H A D | DisjunctionSumScorer.java | 61 * @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 D | FilteredQuery.java | 63 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 D | PhraseScorer.java | 40 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 D | TestPositiveScoresOnlyCollector.java | 33 public SimpleScorer(Weight weight) { argument 34 super(weight); 78 Weight fake = new TermQuery(new Term("fake", "weight")).createWeight(searcher);
|
H A D | TestTopDocsMerge.java | 44 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 D | TestPositiveScoresOnlyCollector.java | 33 public SimpleScorer(Weight weight) { argument 34 super(weight); 78 Weight fake = new TermQuery(new Term("fake", "weight")).createWeight(searcher);
|
H A D | TestTopDocsMerge.java | 44 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 D | PathNode.java | 28 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 D | SegTokenPair.java | 40 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 D | SegToken.java | 52 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 D | SpanNearClauseFactory.java | 28 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 D | SrndQuery.java | 26 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 D | RemoteSearchable.java | 51 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);
|