/lucene-3.6.0/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/standard/config/ |
H A D | MultiTermRewriteMethodAttribute.java | 41 public void setMultiTermRewriteMethod(MultiTermQuery.RewriteMethod method); argument
|
H A D | MultiTermRewriteMethodAttributeImpl.java | 54 public void setMultiTermRewriteMethod(MultiTermQuery.RewriteMethod method) { argument 55 config.set(ConfigurationKeys.MULTI_TERM_REWRITE_METHOD, method);
|
/lucene-3.6.0/lucene/contrib/analyzers/common/src/java/org/tartarus/snowball/ |
H A D | Among.java | 46 this.method = null; 49 this.method = methodobject.getClass(). 61 public final Method method; /* method to use if substring matches */ field in class:Among 62 public final SnowballProgram methodobject; /* object to invoke method on */
|
/lucene-3.6.0/solr/core/src/java/org/apache/solr/servlet/cache/ |
H A D | Method.java | 25 public static Method getMethod(String method) { argument 27 return Method.valueOf(method.toUpperCase(Locale.ENGLISH));
|
H A D | HttpCacheHeaderUtil.java | 177 * @param method The request method (GET, POST, ...) used by this request 180 final HttpServletResponse resp, final Method method) { 182 if (Method.POST==method || Method.OTHER==method) { 205 * method will return "true" indicating that a 304 Status code can be 179 setCacheControlHeader(final SolrConfig conf, final HttpServletResponse resp, final Method method) argument
|
/lucene-3.6.0/solr/core/src/test/org/apache/solr/servlet/ |
H A D | NoCacheHeaderTest.java | 63 protected void doLastModified(String method) throws Exception { argument 66 HttpMethodBase get = getSelectMethod(method); 68 checkResponseBody(method, get); 77 get = getSelectMethod(method); 81 checkResponseBody(method, get); 85 get = getSelectMethod(method); 88 checkResponseBody(method, get); 93 get = getSelectMethod(method); 97 checkResponseBody(method, get); 102 get = getSelectMethod(method); 115 doETag(String method) argument 164 doCacheControl(String method) argument [all...] |
H A D | CacheHeaderTest.java | 89 protected void doLastModified(String method) throws Exception { argument 92 HttpMethodBase get = getSelectMethod(method); 94 checkResponseBody(method, get); 105 get = getSelectMethod(method); 109 checkResponseBody(method, get); 113 get = getSelectMethod(method); 117 checkResponseBody(method, get); 122 get = getSelectMethod(method); 127 checkResponseBody(method, get); 132 get = getSelectMethod(method); 145 doETag(String method) argument 217 doCacheControl(String method) argument [all...] |
H A D | CacheHeaderTestBase.java | 31 protected HttpMethodBase getSelectMethod(String method) { argument 34 if ("GET".equals(method)) { 36 } else if ("HEAD".equals(method)) { 38 } else if ("POST".equals(method)) { 46 protected HttpMethodBase getUpdateMethod(String method) { argument 50 if ("GET".equals(method)) { 52 } else if ("POST".equals(method)) { 54 } else if ("HEAD".equals(method)) { 66 protected void checkResponseBody(String method, HttpMethodBase resp) argument 69 if ("GET".equals(method)) { 114 doCacheControl(String method) argument 115 doETag(String method) argument 116 doLastModified(String method) argument [all...] |
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/util/ |
H A D | VirtualMethod.java | 28 * <p>Before the replacement method can be made abstract, the old method must kept deprecated. 29 * If somebody still overrides the deprecated method in a non-final class, 30 * you must keep track, of this and maybe delegate to the old method in the subclass. 33 * where the old and new method are declared:</p> 41 * If you try to create a second instance of for the same method/{@code baseClass} combination, an exception is thrown. 42 * <p>To detect if e.g. the old method was overridden by a more far subclass on the inheritance path to the current 52 * <p>{@link #getImplementationDistance} returns the distance of the subclass that overrides this method. 54 * This way also more complicated method rename scenarios can be handled 64 private final String method; field in class:VirtualMethod 74 VirtualMethod(Class<C> baseClass, String method, Class<?>... parameters) argument [all...] |
/lucene-3.6.0/solr/solrj/src/java/org/apache/solr/client/solrj/ |
H A D | SolrRequest.java | 39 private METHOD method = METHOD.GET; field in class:SolrRequest 48 this.method = m; 56 return method; 58 public void setMethod(METHOD method) { argument 59 this.method = method;
|
H A D | SolrServer.java | 317 * @param method specifies the HTTP method to use for the request, such as GET or POST 320 public QueryResponse query(SolrParams params, METHOD method) throws SolrServerException { argument 321 return new QueryRequest( params, method ).process( this );
|
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/search/ |
H A D | MultiTermQuery.java | 48 * <p>The recommended rewrite method is {@link 51 * performant rewrite method given the query. If you 78 /** A rewrite method that first creates a private Filter, 83 * <p> This method is faster than the BooleanQuery 104 /** A rewrite method that first translates each term into 112 * <p><b>NOTE</b>: This rewrite method will hit {@link 124 * <p><b>NOTE</b>: This rewrite method will hit {@link 132 * A rewrite method that first translates each term into 137 * This rewrite method only uses the top scoring terms so it will not overflow 138 * the boolean max clause count. It is the default rewrite method fo 326 setRewriteMethod(RewriteMethod method) argument [all...] |
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/search/ |
H A D | TestMultiTermConstantScore.java | 99 public static Query csrq(String f, String l, String h, boolean il, boolean ih, MultiTermQuery.RewriteMethod method) { argument 101 query.setRewriteMethod(method); 189 // must use a non score normalizing method for this.
|
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/search/ |
H A D | TestMultiTermConstantScore.java | 99 public static Query csrq(String f, String l, String h, boolean il, boolean ih, MultiTermQuery.RewriteMethod method) { argument 101 query.setRewriteMethod(method); 189 // must use a non score normalizing method for this.
|
/lucene-3.6.0/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/standard/ |
H A D | StandardQueryParser.java | 65 * {@link #parse(String, String)} method: 164 * return object to {@link Query}. For more reference about this method, check 196 * using this method will cause every single index Term in the Field 355 * not relevant then use this change the rewrite method. 357 public void setMultiTermRewriteMethod(MultiTermQuery.RewriteMethod method) { argument 360 attr.setMultiTermRewriteMethod(method); 363 // method); 621 * @deprecated this method was renamed to {@link #setDateResolutionMap(Map)}
|
H A D | QueryParserWrapper.java | 320 public void setMultiTermRewriteMethod(MultiTermQuery.RewriteMethod method) { argument 321 this.qpHelper.setMultiTermRewriteMethod(method); 362 // TODO Auto-generated method stub 367 // TODO Auto-generated method stub 417 * @exception ParseException throw in overridden method to disallow 431 * This method may be overridden, for example, to return a SpanNearQuery 434 * @exception ParseException throw in overridden method to disallow 442 * @exception ParseException throw in overridden method to disallow
|
/lucene-3.6.0/solr/core/src/java/org/apache/solr/handler/ |
H A D | SnapPuller.java | 191 private NamedList getNamedListResponse(PostMethod method) throws IOException { argument 193 int status = myHttpClient.executeMethod(method); 196 "Request failed for the url " + method); 198 return (NamedList) new JavaBinCodec().unmarshal(method.getResponseBodyAsStream()); 201 method.releaseConnection(); 369 * Helper method to record the last replication's details so that we can show them on the statistics page across 574 * Copy a file by the File#renameTo() method. If it fails, it is considered a failure 895 * The main method which downloads file 1049 //the method is command=filecontent 1090 private InputStream checkCompressed(HttpMethod method, InputStrea argument [all...] |
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/queryParser/ |
H A D | QueryParser.java | 40 * This class is generated by JavaCC. The most important method is 96 * use a different method for date conversion. 399 * the rewrite method. 401 public void setMultiTermRewriteMethod(MultiTermQuery.RewriteMethod method) { argument 402 multiTermRewriteMethod = method; 487 * collator using this method will cause every single index Term in the 566 * @exception ParseException throw in overridden method to disallow 745 * This method may be overridden, for example, to return 748 * @exception ParseException throw in overridden method to disallow 766 * @exception ParseException throw in overridden method t [all...] |
/lucene-3.6.0/lucene/site/build/site/skin/ |
H A D | prototype.js | 275 invoke: function(method) { 278 return value[method].apply(value, args); 401 method: 'post', 435 if (this.options.method == 'get') 438 this.transport.open(this.options.method, url, 449 this.transport.send(this.options.method == 'post' ? body : null); 460 if (this.options.method == 'post') { 885 var method = element.tagName.toLowerCase(); 886 var parameter = Form.Element.Serializers[method](element); 895 var method [all...] |
/lucene-3.6.0/lucene/site/src/documentation/skins/common/scripts/ |
H A D | prototype.js | 275 invoke: function(method) { 278 return value[method].apply(value, args); 401 method: 'post', 435 if (this.options.method == 'get') 438 this.transport.open(this.options.method, url, 449 this.transport.send(this.options.method == 'post' ? body : null); 460 if (this.options.method == 'post') { 885 var method = element.tagName.toLowerCase(); 886 var parameter = Form.Element.Serializers[method](element); 895 var method [all...] |
/lucene-3.6.0/solr/client/ruby/flare/public/javascripts/ |
H A D | prototype.js | 428 invoke: function(method) { 431 return value[method].apply(value, args); 807 method: 'post', 815 this.options.method = this.options.method.toLowerCase(); 836 this.method = this.options.method; 839 if (!['get', 'post'].include(this.method)) { 841 params['_method'] = this.method; 842 this.method [all...] |