Home
last modified time | relevance | path

Searched refs:max_docs (Results 1 – 18 of 18) sorted by relevance

/dports/textproc/py-orange3-text/orange3-text-1.3.1/orangecontrib/text/
H A Dnyt.py85 def search(self, query, date_from=None, date_to=None, max_docs=None, argument
101 if max_docs is None or max_docs > MAX_DOCS:
102 max_docs = MAX_DOCS
110 max_docs = min(data['response']['meta']['hits'], max_docs)
112 on_progress(len(records), max_docs)
114 for page in range(1, math.ceil(max_docs/BATCH_SIZE)):
128 on_progress(len(records), max_docs)
130 if len(records) > max_docs:
131 records = records[:max_docs]
/dports/textproc/py-orange3-text/orange3-text-1.3.1/orangecontrib/text/tests/
H A Dtest_nyt.py83 c = self.nyt.search('slovenia', max_docs=10)
90 corpus = self.nyt.search('slovenia', from_date, to_date, max_docs=10)
102 c = self.nyt.search('slovenia', max_docs=25)
106 corpus = self.nyt.search('slovenia', max_docs=10)
120 self.nyt.search('slovenia', max_docs=25)
122 self.nyt.search('slovenia', max_docs=25)
128 def on_progress(progress, max_docs): argument
131 self.assertEqual(max_docs, 25)
133 self.nyt.search('slovenia', max_docs=25, on_progress=on_progress)
140 c = self.nyt.search('slovenia', max_docs=25, should_break=should_break)
[all …]
/dports/www/p5-WWW-Scripter/WWW-Scripter-0.032/t/
H A Dhistory.t102 $mech = new WWW::Scripter max_docs => 3, max_history => 27;
103 is $mech->max_docs, 3, 'max_docs constructor arg';
105 $mech->max_docs(4);
107 is $mech->max_docs, 4, 'max_docs accessor';
110 is $mech->max_docs, 54, 'max_history based on stack_depth';
112 $mech->max_docs(2);
157 $mech->max_docs(2);
/dports/textproc/py-elasticsearch-curator/curator-5.8.4/test/integration/
H A Dtest_rollover.py122 max_docs = '5'
132 testvars.rollover_both.format(alias, max_age, max_docs))
147 max_docs = '2'
158 testvars.rollover_both.format(alias, max_age, max_docs))
173 max_docs = '2'
183 testvars.rollover_both.format(alias, max_age, max_docs))
197 max_docs = '2'
207 testvars.rollover_both.format(alias, max_age, max_docs))
222 max_docs = '2'
232 testvars.rollover_bad_settings.format(alias, max_age, max_docs))
/dports/textproc/py-gensim/gensim-4.0.1/gensim/test/
H A Dsvd_error.py76 def __init__(self, corpus, max_docs, max_terms): argument
78 self.max_docs, self.max_terms = max_docs, max_terms
81 for doc in itertools.islice(self.corpus, self.max_docs):
/dports/science/afni/afni-AFNI_21.3.16/src/svm/
H A Dsvm_classify.c34 long max_docs,max_words_doc,lld; in main() local
48 nol_ll(docfile,&max_docs,&max_words_doc,&lld); /* scan size of input file */ in main()
/dports/textproc/py-elasticsearch-curator/curator-5.8.4/curator/cli_singletons/
H A Drollover.py37 ctx, name, max_age, max_docs, max_size, extra_settings, new_index, wait_for_active_shards, argument
/dports/textproc/p5-Plucene/Plucene-1.25/lib/Plucene/Search/
H A DHits.pm50 $self->max_docs(200);
/dports/textproc/py-gensim/gensim-4.0.1/gensim/
H A Dutils.py1062 def __init__(self, corpus, max_docs=None): argument
1079 self.max_docs = max_docs
1082 return itertools.islice(self.corpus, self.max_docs)
1085 return min(self.max_docs, len(self.corpus))
/dports/www/p5-WWW-Scripter/WWW-Scripter-0.032/lib/WWW/
H A DScripter.pod83 =item max_docs
90 one less than the number of recorded pages. C<max_docs> considers 0 to be
95 If the number of items in history exceeds C<max_docs>, WWW::Scripter will still keep the request ob…
96 you can go back more than C<max_docs> times and previously visited pages
443 =item max_docs
445 =item max_docs ( $new_value )
H A DScripter.pm79 exists $args{max_docs}
80 and $args{stack_depth} = -1+delete$args{max_docs};
/dports/textproc/py-elasticsearch-curator/curator-5.8.4/docs/asciidoc/
H A Dactions.asciidoc965 max_docs: 1000000
974 <<option_max_age,max_age>>, <<option_max_docs,max_docs>>,
980 <<option_max_docs,max_docs>>, or <<option_max_size,max_size>> options are
1000 max_docs: 1000000
1016 * <<option_max_docs,max_docs>> The maximum number of documents allowed in an
H A Doptions.asciidoc25 * <<option_max_docs,max_docs>>
404 max_docs: 1000000
764 NOTE: At least one of <<option_max_age,max_age>>, <<option_max_docs,max_docs>>,
775 == max_docs
786 max_docs: 1000000
789 NOTE: At least one of <<option_max_age,max_age>>, <<option_max_docs,max_docs>>,
813 NOTE: At least one of <<option_max_age,max_age>>, <<option_max_docs,max_docs>>,
2783 max_docs: 1000000
H A Dexamples.asciidoc759 max_docs: 1000000
/dports/www/p5-WWW-Scripter/WWW-Scripter-0.032/
H A DChanges212max_docs and max_history have been added. Mech’s stack_depth
213 is now honoured. (max_docs is an off-by-one alias to
/dports/textproc/py-elasticsearch-curator/curator-5.8.4/curator/
H A Dactions.py2288 max_docs = 2147483519
2290 if doc_count > (max_docs * self.number_of_shards):
2293 'shard is {2}'.format(doc_count, self.number_of_shards, max_docs)
/dports/textproc/py-elasticsearch/elasticsearch-7.15.2/elasticsearch/client/
H A D__init__.pyi343 max_docs: Optional[Any] = ...,
759 max_docs: Optional[Any] = ...,
1087 max_docs: Optional[Any] = ...,
/dports/textproc/py-elasticsearch/elasticsearch-7.15.2/elasticsearch/_async/client/
H A D__init__.pyi343 max_docs: Optional[Any] = ...,
759 max_docs: Optional[Any] = ...,
1087 max_docs: Optional[Any] = ...,