Searched refs:optimize (Results 1 - 25 of 45) sorted by relevance

12

/lucene-3.6.0/solr/core/src/java/org/apache/solr/update/
H A DCommitUpdateCommand.java23 public boolean optimize; field in class:CommitUpdateCommand
29 * During optimize, optimize down to <= this many segments. Must be >= 1
31 * @see org.apache.lucene.index.IndexWriter#optimize(int)
35 public CommitUpdateCommand(boolean optimize) { argument
37 this.optimize=optimize;
41 return "commit(optimize="+optimize
H A DDirectUpdateHandler.java248 if (cmd.optimize || cmd.expungeDeletes) {
249 openWriter(); // writer needs to be open to optimize
250 if(cmd.optimize) writer.optimize(cmd.maxOptimizeSegments);
256 if (cmd.optimize) {
/lucene-3.6.0/solr/core/src/java/org/apache/solr/handler/
H A DRequestHandlerUtils.java49 * Check the request parameters and decide if it should commit or optimize.
64 boolean optimize = params.getBool( UpdateParams.OPTIMIZE, false );
67 if( optimize || commit || force ) {
68 CommitUpdateCommand cmd = new CommitUpdateCommand( optimize );
76 //if( optimize ) {
77 // rsp.add( "optimize", true );
89 * Check the request parameters and decide if it should commit or optimize.
98 boolean optimize = params.getBool( UpdateParams.OPTIMIZE, false );
101 if( optimize || commit || force ) {
102 CommitUpdateCommand cmd = new CommitUpdateCommand( optimize );
[all...]
/lucene-3.6.0/solr/contrib/dataimporthandler/src/java/org/apache/solr/handler/dataimport/
H A DDIHWriter.java34 * @param optimize
36 public void commit(boolean optimize); argument
H A DSolrWriter.java101 public void commit(boolean optimize) { argument
103 CommitUpdateCommand commit = new CommitUpdateCommand(optimize);
/lucene-3.6.0/solr/core/src/test/org/apache/solr/core/
H A DTestSolrDeletionPolicy1.java64 assertU(optimize());
72 assertU(optimize());
80 assertU(optimize());
122 assertU(optimize());
/lucene-3.6.0/solr/scripts/
H A Doptimize87 rs=`curl ${curl_url} -s -H 'Content-type:text/xml; charset=utf-8' -d "<optimize/>"`
91 logMessage optimize failed
95 # check status of optimize request - original format
99 # check status of optimize request - new format
103 logMessage optimize request to Solr at ${curl_url} failed:
H A Dabo93 logMessage sending optimize to Solr server at ${curl_url}
94 rs=`curl ${curl_url} -s -H 'Content-type:text/xml; charset=utf-8' -d "<optimize/>"`
98 logMessage optimize failed
102 # check status of optimize request - original format
106 # check status of optimize request - new format
110 logMessage optimize request to Solr at ${curl_url} failed:
116 # successful optimize creates a snapshot file synchronously
/lucene-3.6.0/solr/core/src/test/org/apache/solr/highlight/
H A DHighlighterTest.java100 assertU(optimize());
109 assertU(optimize());
144 assertU(optimize());
186 assertU(optimize());
214 assertU(optimize());
237 assertU(optimize());
266 assertU(optimize());
288 assertU(optimize());
309 assertU(optimize());
331 assertU(optimize());
[all...]
H A DHighlighterConfigTest.java60 assertU(optimize());
H A DFastVectorHighlighterTest.java80 assertU(optimize());
/lucene-3.6.0/solr/core/src/test/org/apache/solr/
H A DMinimalSchemaTest.java57 assertNull(h.validateUpdate(optimize()));
H A DSampleTest.java59 assertU(optimize());
90 assertU("<optimize/>");
/lucene-3.6.0/solr/solrj/src/java/org/apache/solr/client/solrj/
H A DSolrServer.java158 * Performs an explicit optimize, causing a merge of all segments to one.
162 * Note: In most cases it is not required to do explicit optimize
166 public UpdateResponse optimize( ) throws SolrServerException, IOException { method in class:SolrServer
167 return optimize(true, true, 1);
182 * Performs an explicit optimize, causing a merge of all segments to one.
184 * Note: In most cases it is not required to do explicit optimize
190 public UpdateResponse optimize( boolean waitFlush, boolean waitSearcher ) throws SolrServerException, IOException { method in class:SolrServer
191 return optimize(waitFlush, waitSearcher, 1);
195 * Performs an explicit optimize, causing a merge of all segments to one.
197 * Note: In most cases it is not required to do explicit optimize
204 public UpdateResponse optimize(boolean waitFlush, boolean waitSearcher, int maxSegments ) throws SolrServerException, IOException { method in class:SolrServer
[all...]
/lucene-3.6.0/solr/client/ruby/solr-ruby/examples/delicious_library/
H A Ddl_importer.rb60 indexer.solr.optimize unless debu
/lucene-3.6.0/lucene/contrib/queries/src/test/org/apache/lucene/search/regex/
H A DTestSpanRegexQuery.java74 writer.optimize();
131 writer.optimize();
188 writerA.optimize();
195 writerB.optimize();
/lucene-3.6.0/solr/core/src/java/org/apache/solr/search/
H A DLuceneQueryOptimizer.java57 public TopDocs optimize(BooleanQuery original, method in class:LuceneQueryOptimizer
/lucene-3.6.0/solr/core/src/test/org/apache/solr/handler/
H A DSpellCheckerRequestHandlerTest.java98 assertU(optimize());
438 assertU(optimize());
/lucene-3.6.0/lucene/contrib/analyzers/stempel/src/java/org/egothor/stemmer/
H A DGener.java75 * @param orig the Trie to optimize
79 public Trie optimize(Trie orig) { method in class:Gener
H A DLift.java89 public Trie optimize(Trie orig) { method in class:Lift
H A DReduce.java76 * @param orig the Trie to optimize
79 public Trie optimize(Trie orig) { method in class:Reduce
/lucene-3.6.0/solr/client/ruby/solr-ruby/lib/solr/
H A Dconnection.rb114 # sends an optimize message to the server
115 def optimize method in class:Solr
/lucene-3.6.0/solr/core/src/test/org/apache/solr/search/
H A DTestQueryTypes.java76 assertU(optimize());
/lucene-3.6.0/solr/solrj/src/test/org/apache/solr/client/solrj/
H A DLargeVolumeTestBase.java111 resp = tserver.optimize();
114 // a commit/optimize can fail with a too many warming searchers exception
/lucene-3.6.0/lucene/contrib/analyzers/common/src/java/org/apache/lucene/analysis/de/
H A DGermanStemmer.java59 optimize( sb );
127 private void optimize( StringBuilder buffer ) method in class:GermanStemmer

Completed in 150 milliseconds

12