/lucene-3.6.0/solr/core/src/java/org/apache/solr/update/ |
H A D | CommitUpdateCommand.java | 23 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 D | DirectUpdateHandler.java | 248 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 D | RequestHandlerUtils.java | 49 * 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 D | DIHWriter.java | 34 * @param optimize 36 public void commit(boolean optimize); argument
|
H A D | SolrWriter.java | 101 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 D | TestSolrDeletionPolicy1.java | 64 assertU(optimize()); 72 assertU(optimize()); 80 assertU(optimize()); 122 assertU(optimize());
|
/lucene-3.6.0/solr/scripts/ |
H A D | optimize | 87 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 D | abo | 93 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 D | HighlighterTest.java | 100 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 D | HighlighterConfigTest.java | 60 assertU(optimize());
|
H A D | FastVectorHighlighterTest.java | 80 assertU(optimize());
|
/lucene-3.6.0/solr/core/src/test/org/apache/solr/ |
H A D | MinimalSchemaTest.java | 57 assertNull(h.validateUpdate(optimize()));
|
H A D | SampleTest.java | 59 assertU(optimize()); 90 assertU("<optimize/>");
|
/lucene-3.6.0/solr/solrj/src/java/org/apache/solr/client/solrj/ |
H A D | SolrServer.java | 158 * 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 D | dl_importer.rb | 60 indexer.solr.optimize unless debu
|
/lucene-3.6.0/lucene/contrib/queries/src/test/org/apache/lucene/search/regex/ |
H A D | TestSpanRegexQuery.java | 74 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 D | LuceneQueryOptimizer.java | 57 public TopDocs optimize(BooleanQuery original, method in class:LuceneQueryOptimizer
|
/lucene-3.6.0/solr/core/src/test/org/apache/solr/handler/ |
H A D | SpellCheckerRequestHandlerTest.java | 98 assertU(optimize()); 438 assertU(optimize());
|
/lucene-3.6.0/lucene/contrib/analyzers/stempel/src/java/org/egothor/stemmer/ |
H A D | Gener.java | 75 * @param orig the Trie to optimize 79 public Trie optimize(Trie orig) { method in class:Gener
|
H A D | Lift.java | 89 public Trie optimize(Trie orig) { method in class:Lift
|
H A D | Reduce.java | 76 * @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 D | connection.rb | 114 # 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 D | TestQueryTypes.java | 76 assertU(optimize());
|
/lucene-3.6.0/solr/solrj/src/test/org/apache/solr/client/solrj/ |
H A D | LargeVolumeTestBase.java | 111 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 D | GermanStemmer.java | 59 optimize( sb ); 127 private void optimize( StringBuilder buffer ) method in class:GermanStemmer
|