Searched refs:collect (Results 1 - 25 of 108) sorted by relevance

12345

/lucene-3.6.0/solr/client/ruby/solr-ruby/lib/solr/importer/
H A Ddelimited_file_source.rb26 headers = lines[0].split(@splitter).collect{|h| h.chomp}
29 data = headers.zip(line.split(@splitter).collect{|s| s.chomp})
H A Dhpricot_mapper.rb18 doc.search(path.to_s).collect { |e| e.inner_html }
H A Dxpath_mapper.rb19 doc.find(xpath.to_s).collect do |node|
H A Dmapper.rb32 field_mapping.collect {|orig_field_name| mapped_field_value(orig_data, orig_field_name)}.flatten
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/search/
H A DCollector.java69 * Scorer#score()} within the collect method to compute the
74 * <p><b>NOTE:</b> The doc that is passed to the collect
79 * a simple example showing how to collect docIDs into a
97 * public void collect(int doc) {
126 * Called before successive calls to {@link #collect(int)}. Implementations
128 * {@link #collect(int)}), should save the passed-in Scorer and call
143 public abstract void collect(int doc) throws IOException; method in class:Collector
147 * {@link #collect(int)} will correspond to reader.
150 * in {@link #collect(int)}.
161 * order (smallest to largest) to {@link #collect}
[all...]
H A DTotalHitCountCollector.java39 public void collect(int doc) { method in class:TotalHitCountCollector
H A DPositiveScoresOnlyCollector.java39 public void collect(int doc) throws IOException { method in class:PositiveScoresOnlyCollector
41 c.collect(doc);
H A DTermCollectingRewrite.java38 if (t == null || !collector.collect(t, enumerator.difference()))
48 boolean collect(Term t, float boost) throws IOException; method in interface:TermCollectingRewrite.TermCollector
H A DCachingCollector.java124 public void collect(int doc) throws IOException { method in class:CachingCollector.ScoreCachingCollector
130 other.collect(doc);
148 // Too many docs to collect -- clear cache
156 other.collect(doc);
172 other.collect(doc);
196 other.collect(curDocs[curUpto++]);
230 public void collect(int doc) throws IOException { method in class:CachingCollector.NoScoreCachingCollector
234 other.collect(doc);
252 // Too many docs to collect -- clear cache
256 other.collect(do
[all...]
H A DMultiCollector.java104 public void collect(int doc) throws IOException { method in class:MultiCollector
106 c.collect(doc);
H A DTimeLimitingCollector.java117 * without allowing the wrapped collector to collect current doc. A greedy one would
118 * first allow the wrapped hit collector to collect current doc and only then
136 * Calls {@link Collector#collect(int)} on the decorated {@link Collector}
143 public void collect(final int doc) throws IOException { method in class:TimeLimitingCollector
148 collector.collect(doc);
154 collector.collect(doc);
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/search/
H A DTestCachingCollector.java61 public void collect(int doc) throws IOException {} method in class:TestCachingCollector.NoOpCollector
78 // collect 1000 docs
80 cc.collect(i);
94 public void collect(int doc) throws IOException {
111 // collect 130 docs, this should be enough for triggering cache abort.
113 cc.collect(i);
133 for (int i = 0; i < 10; i++) cc.collect(i);
140 for (int i = 0; i < 10; i++) cc.collect(i);
162 for (int i = 0; i < numDocs; i++) cc.collect(i);
166 cc.collect(numDoc
[all...]
H A DMultiCollectorTest.java44 public void collect(int doc) throws IOException { method in class:MultiCollectorTest.DummyCollector
75 c.collect(1);
97 c.collect(1);
H A DTestSubScorerFreqs.java77 private final EnumSet<Occur> collect; field in class:TestSubScorerFreqs.CountingCollector
83 if (collect.contains(Occur.SHOULD))
89 if (collect.contains(Occur.MUST_NOT))
95 if (collect.contains(Occur.MUST))
105 public CountingCollector(Collector other, EnumSet<Occur> collect) { argument
107 this.collect = collect;
117 public void collect(int doc) throws IOException { method in class:TestSubScorerFreqs.CountingCollector
125 other.collect(doc);
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/search/
H A DTestCachingCollector.java61 public void collect(int doc) throws IOException {} method in class:TestCachingCollector.NoOpCollector
78 // collect 1000 docs
80 cc.collect(i);
94 public void collect(int doc) throws IOException {
111 // collect 130 docs, this should be enough for triggering cache abort.
113 cc.collect(i);
133 for (int i = 0; i < 10; i++) cc.collect(i);
140 for (int i = 0; i < 10; i++) cc.collect(i);
162 for (int i = 0; i < numDocs; i++) cc.collect(i);
166 cc.collect(numDoc
[all...]
H A DMultiCollectorTest.java44 public void collect(int doc) throws IOException { method in class:MultiCollectorTest.DummyCollector
75 c.collect(1);
97 c.collect(1);
H A DTestSubScorerFreqs.java77 private final EnumSet<Occur> collect; field in class:TestSubScorerFreqs.CountingCollector
83 if (collect.contains(Occur.SHOULD))
89 if (collect.contains(Occur.MUST_NOT))
95 if (collect.contains(Occur.MUST))
105 public CountingCollector(Collector other, EnumSet<Occur> collect) { argument
107 this.collect = collect;
117 public void collect(int doc) throws IOException { method in class:TestSubScorerFreqs.CountingCollector
125 other.collect(doc);
/lucene-3.6.0/solr/client/ruby/flare/vendor/plugins/flare/lib/flare/
H A Dcontext.rb29 excluded = @solr_config[:facets_exclude] ? @solr_config[:facets_exclude].collect {|e| e.to_s} : []
46 excluded = @solr_config[:facets_exclude] ? @solr_config[:facets_exclude].collect {|e| e.to_s} : []
59 facet_queries = @facet_queries.collect do |k,v|
67 qa = applied_facet_queries.collect {|map| q = @facet_queries[map[:name]][:real_query]; map[:negative] ? "-(#{q})" : q}
132 query = queries.collect{|q| "#{q[:negative] ? '-' : ''}(#{q[:query]})"}.join(' AND ')
139 filters.collect do |filter|
/lucene-3.6.0/solr/core/src/java/org/apache/solr/search/
H A DDelegatingCollector.java60 public void collect(int doc) throws IOException { method in class:DelegatingCollector
61 delegate.collect(doc);
H A DDocSetDelegateCollector.java39 public void collect(int doc) throws IOException { method in class:DocSetDelegateCollector
40 collector.collect(doc);
43 // optimistically collect the first docs in an array
/lucene-3.6.0/solr/core/src/java/org/apache/solr/search/grouping/collector/
H A DFilterCollector.java48 public void collect(int doc) throws IOException { method in class:FilterCollector
51 delegate.collect(doc);
/lucene-3.6.0/lucene/contrib/join/src/java/org/apache/lucene/search/join/
H A DTermsCollector.java56 public void collect(int doc) throws IOException { method in class:TermsCollector
/lucene-3.6.0/solr/client/ruby/solr-ruby/lib/solr/request/
H A Ddismax.rb39 hash[:sort] = @sort_values.collect do |sort|
/lucene-3.6.0/solr/contrib/clustering/src/java/org/apache/solr/handler/clustering/carrot2/
H A DCarrotParams.java5 import com.google.common.collect.ImmutableSet;
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/index/
H A DTestOmitTf.java309 public final void collect(int doc) throws IOException {
313 super.collect(doc);
327 public final void collect(int doc) throws IOException {
331 super.collect(doc);
348 public final void collect(int doc) throws IOException {
353 super.collect(doc);
367 public final void collect(int doc) throws IOException {
372 super.collect(doc);
386 public final void collect(int doc) throws IOException {
388 super.collect(do
406 public void collect(int doc) throws IOException { method in class:TestOmitTf.CountingHitCollector
[all...]

Completed in 4449 milliseconds

12345