Searched refs:msg (Results 1 - 25 of 52) sorted by relevance

123

/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/index/
H A DIndexNotFoundException.java28 public IndexNotFoundException(String msg) { argument
29 super(msg);
H A DCheckIndex.java270 private void msg(String msg) { argument
272 infoStream.println(msg);
328 msg("ERROR: could not read any segments file in directory");
365 msg("ERROR: could not open segments file in directory");
375 msg("ERROR: could not read segment file version in directory");
443 msg("Segments file=" + segmentsFileName + " numSegments=" + numSegments
455 msg(":");
459 msg("\nERROR: this index appears to be created by a newer version of Lucene than this tool was compiled on; please re-compile this tool on the matching version of Lucene; exiting");
479 msg(" "
[all...]
/lucene-3.6.0/solr/core/src/java/org/apache/solr/core/
H A DSolrException.java28 public SolrException(ErrorCode code, String msg, boolean alreadyLogged) { argument
29 super(code, msg, alreadyLogged);
32 public SolrException(ErrorCode code, String msg, Throwable th, boolean alreadyLogged) { argument
33 super(code, msg, th, alreadyLogged);
36 public SolrException(ErrorCode code, String msg, Throwable th) { argument
37 super(code, msg, th);
44 public SolrException(ErrorCode code, String msg) { argument
45 super(code, msg);
/lucene-3.6.0/lucene/contrib/analyzers/common/src/java/org/apache/lucene/analysis/compound/hyphenation/
H A DHyphenationException.java28 public HyphenationException(String msg) { argument
29 super(msg);
/lucene-3.6.0/lucene/backwards/src/test-framework/java/org/apache/lucene/util/
H A D_TestIgnoredException.java25 _TestIgnoredException(String msg) { argument
26 super(msg);
29 _TestIgnoredException(String msg, Throwable t) { argument
30 super(msg, t);
/lucene-3.6.0/solr/solrj/src/java/org/apache/solr/common/
H A DSolrException.java64 public SolrException(ErrorCode code, String msg) { argument
65 this(code, msg, null, false);
73 public SolrException(ErrorCode code, String msg, boolean alreadyLogged) { argument
74 this(code, msg, null, alreadyLogged);
82 public SolrException(ErrorCode code, String msg, Throwable th, boolean alreadyLogged) { argument
83 super(msg,th);
88 public SolrException(ErrorCode code, String msg, Throwable th) { argument
89 this(code, msg, th, (th instanceof SolrException) ? ((SolrException)th).logged : false);
100 public SolrException(int code, String msg) { argument
101 super(msg);
109 SolrException(int code, String msg, boolean alreadyLogged) argument
119 SolrException(int code, String msg, Throwable th, boolean alreadyLogged) argument
129 SolrException(int code, String msg, Throwable th) argument
165 log(Logger log, String msg, Throwable e) argument
182 logOnce(Logger log, String msg, Throwable e) argument
[all...]
/lucene-3.6.0/lucene/contrib/facet/src/examples/org/apache/lucene/facet/example/
H A DExampleUtils.java32 public static void log(Object msg) { argument
34 System.out.println(msg.toString());
/lucene-3.6.0/lucene/contrib/misc/src/java/org/apache/lucene/store/
H A DWindowsDirectory.cpp32 char *msg; local
38 NULL, error, MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), (LPTSTR) &msg, 0, NULL );
39 env->ThrowNew(ioex, msg);
40 LocalFree(msg);
47 void throwException(JNIEnv *env, const char *clazz, const char *msg) argument
52 env->ThrowNew(exc, msg);
/lucene-3.6.0/solr/contrib/dataimporthandler/src/java/org/apache/solr/handler/dataimport/
H A DDataImportHandlerException.java68 public static void wrapAndThrow(int err, Exception e, String msg) { argument
72 throw new DataImportHandlerException(err, msg, e);
/lucene-3.6.0/solr/core/src/java/org/apache/solr/client/solrj/embedded/
H A DJettySolrRunner.java223 public void info(String msg,Object arg0, Object arg1) {} argument
224 public void debug(String msg,Throwable th){} argument
225 public void debug(String msg,Object arg0, Object arg1){} argument
226 public void warn(String msg,Object arg0, Object arg1){} argument
227 public void warn(String msg, Throwable th){} argument
/lucene-3.6.0/dev-tools/scripts/
H A DbuildAndPushRelease.py36 def log(msg):
38 f.write(msg)
44 msg = ' FAILED: %s [see log %s]' % (command, LOG)
45 print msg
46 raise RuntimeError(msg)
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/index/
H A DTestCompoundFile.java83 private void assertSameStreams(String msg, argument
88 assertNotNull(msg + " null expected", expected);
89 assertNotNull(msg + " null test", test);
90 assertEquals(msg + " length", expected.length(), test.length());
91 assertEquals(msg + " position", expected.getFilePointer(),
102 assertEqualArrays(msg + ", remainder " + remainder, expectedBuffer,
109 private void assertSameStreams(String msg, argument
119 assertSameStreams(msg + ", seek(mid)", expected, actual);
125 private void assertSameSeekBehavior(String msg, argument
132 assertSameStreams(msg
156 assertEqualArrays(String msg, byte[] expected, byte[] test, int start, int len) argument
[all...]
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/index/
H A DTestCompoundFile.java83 private void assertSameStreams(String msg, argument
88 assertNotNull(msg + " null expected", expected);
89 assertNotNull(msg + " null test", test);
90 assertEquals(msg + " length", expected.length(), test.length());
91 assertEquals(msg + " position", expected.getFilePointer(),
102 assertEqualArrays(msg + ", remainder " + remainder, expectedBuffer,
109 private void assertSameStreams(String msg, argument
119 assertSameStreams(msg + ", seek(mid)", expected, actual);
125 private void assertSameSeekBehavior(String msg, argument
132 assertSameStreams(msg
156 assertEqualArrays(String msg, byte[] expected, byte[] test, int start, int len) argument
[all...]
/lucene-3.6.0/solr/solrj/src/java/org/apache/solr/client/solrj/impl/
H A DStreamingUpdateSolrServer.java164 StringBuilder msg = new StringBuilder();
165 msg.append( method.getStatusLine().getReasonPhrase() );
166 msg.append( "\n\n" );
167 msg.append( method.getStatusText() );
168 msg.append( "\n\n" );
169 msg.append("request: ").append(method.getURI());
170 handleError( new Exception( msg.toString() ) );
H A DConcurrentUpdateSolrServer.java184 StringBuilder msg = new StringBuilder();
185 msg.append(response.getStatusLine().getReasonPhrase());
186 msg.append("\n\n");
187 msg.append("\n\n");
188 msg.append("request: ").append(method.getURI());
189 handleError(new Exception(msg.toString()));
H A DCommonsHttpSolrServer.java421 StringBuilder msg = new StringBuilder();
422 msg.append( method.getStatusLine().getReasonPhrase() );
423 msg.append( "\n\n" );
424 msg.append( method.getStatusText() );
425 msg.append( "\n\n" );
426 msg.append( "request: "+method.getURI() );
427 throw new SolrException(statusCode, java.net.URLDecoder.decode(msg.toString(), "UTF-8") );
/lucene-3.6.0/lucene/contrib/facet/src/test/org/apache/lucene/facet/taxonomy/writercache/cl2o/
H A DTestCharBlockArray.java85 private static void assertEqualsInternal(String msg, StringBuilder expected, CharBlockArray actual) { argument
86 assertEquals(msg, expected.length(), actual.length());
88 assertEquals(msg, expected.charAt(i), actual.charAt(i));
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/search/
H A DTestSpanQueryFilter.java76 public void assertContainsDocId(String msg, DocIdSet docIdSet, int docId) throws Exception { argument
78 assertTrue(msg, it.advance(docId) != DocIdSetIterator.NO_MORE_DOCS);
79 assertTrue(msg, it.docID() == docId);
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/search/
H A DTestSpanQueryFilter.java76 public void assertContainsDocId(String msg, DocIdSet docIdSet, int docId) throws Exception { argument
78 assertTrue(msg, it.advance(docId) != DocIdSetIterator.NO_MORE_DOCS);
79 assertTrue(msg, it.docID() == docId);
/lucene-3.6.0/lucene/contrib/misc/src/test/org/apache/lucene/index/
H A DTestFieldNormModifier.java151 String msg = "i=" + i + ", " + scores[i] + " <= " + lastScore;
152 assertTrue(msg, scores[i] <= lastScore);
153 //System.out.println(msg);
188 String msg = "i=" + i + ", " + scores[i] + " >= " + lastScore;
189 assertTrue(msg, scores[i] >= lastScore);
190 //System.out.println(msg);
242 String msg = "i=" + i + ", " + scores[i] + " == " + lastScore;
243 assertTrue(msg, scores[i] == lastScore);
244 //System.out.println(msg);
/lucene-3.6.0/solr/core/src/java/org/apache/solr/update/processor/
H A DLogUpdateProcessorFactory.java150 final String msg = cmd.optimize ? "optimize" : "commit";
151 toLog.add(msg, "");
152 if (logDebug) { log.debug(msg); }
/lucene-3.6.0/solr/core/src/java/org/apache/solr/util/
H A DSimplePostTool.java172 static void warn(String msg) { argument
173 System.err.println("SimplePostTool: WARNING: " + msg);
176 static void info(String msg) { argument
177 System.out.println("SimplePostTool: " + msg);
180 static void fatal(String msg) { argument
181 System.err.println("SimplePostTool: FATAL: " + msg);
/lucene-3.6.0/solr/core/src/test/org/apache/solr/handler/admin/
H A DCoreAdminHandlerTest.java108 String msg = "File XPath failure: file=" + file.getPath() + " xpath="
110 fail(msg);
/lucene-3.6.0/lucene/contrib/misc/src/test/org/apache/lucene/misc/
H A DTestLengthNormModifier.java159 String msg = "i=" + i + ", "+scores[i]+" <= "+lastScore;
160 assertTrue(msg, scores[i] <= lastScore);
161 //System.out.println(msg);
203 String msg = "i=" + i + ", "+scores[i]+" >= "+lastScore;
204 assertTrue(msg, scores[i] >= lastScore);
205 //System.out.println(msg);
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/util/
H A DFieldCacheSanityChecker.java328 private final String msg; field in class:FieldCacheSanityChecker.Insanity
330 public Insanity(InsanityType type, String msg, CacheEntry... entries) { argument
340 this.msg = msg;
351 public String getMsg() { return msg; }

Completed in 37 milliseconds

123