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

123

/lucene-3.6.0/solr/core/src/java/org/apache/solr/update/processor/
H A DURLClassifyProcessor.java51 private static final String DEFAULT_URL_FIELDNAME = "url";
112 String url = (String) document.getFieldValue(urlFieldname);
114 URL normalizedURL = getNormalizedURL(url);
127 log.warn("cannot get the normalized url for \"" + url + "\" due to " + e.getMessage());
129 log.warn("cannot get the normalized url for \"" + url + "\" due to " + e.getMessage());
138 * @param url The input url
141 public URL getCanonicalUrl(URL url) { argument
158 length(URL url) argument
167 levels(URL url) argument
184 isTopLevelPage(URL url) argument
195 isLandingPage(URL url) argument
203 getNormalizedURL(String url) argument
215 landingPageSuffix(URL url) argument
225 getPathWithoutSuffix(URL url) argument
[all...]
/lucene-3.6.0/solr/contrib/dataimporthandler/src/test/org/apache/solr/handler/dataimport/
H A DTestURLDataSource.java37 String url = "http://example.com/";
39 variableResolver.addNamespace("dataimporter.request", Collections.<String,Object>singletonMap("baseurl", url));
43 assertEquals(url, dataSource.getBaseUrl());
/lucene-3.6.0/solr/contrib/dataimporthandler/src/java/org/apache/solr/handler/dataimport/
H A DBinURLDataSource.java78 URL url = null;
80 if (URIMETHOD.matcher(query).find()) url = new URL(query);
81 else url = new URL(baseUrl + query);
82 LOG.debug("Accessing URL: " + url.toString());
83 URLConnection conn = url.openConnection();
89 wrapAndThrow (SEVERE, e, "Exception in invoking url " + url);
H A DLineEntityProcessor.java35 * <li>url is the required location of the input file. If this value is
43 * Although envisioned for reading lines from a file or url, LineEntityProcessor may also be useful
61 private String url; field in class:LineEntityProcessor
85 url = context.getResolvedEntityAttribute(URL);
86 if (url == null) throw
93 * Reads lines from the url till it finds a lines that matches the
98 * from the url. However transformers can be used to create as
104 reader = new BufferedReader((Reader) context.getDataSource().getData(url));
144 public static final String URL = "url";
H A DPlainTextEntityProcessor.java33 * <p>An implementation of {@link EntityProcessor} which reads data from a url/file and give out a row which contains one String
53 String url = context.replaceTokens(context.getEntityAttribute(URL));
56 r = ds.getData(url);
58 wrapAndThrow(SEVERE, e, "Exception reading url : " + url);
68 wrapAndThrow(SEVERE, e, "Exception reading url : " + url);
H A DURLDataSource.java87 URL url = null;
89 if (URIMETHOD.matcher(query).find()) url = new URL(query);
90 else url = new URL(baseUrl + query);
92 LOG.debug("Accessing URL: " + url.toString());
94 URLConnection conn = url.openConnection();
115 "Exception in invoking url " + url, e);
/lucene-3.6.0/solr/client/ruby/solr-ruby/lib/solr/
H A Dconnection.rb18 attr_reader :url, :autocommit, :connection
20 # create a connection to a solr instance using the url for the solr
31 def initialize(url="http://localhost:8983/solr", opts={})
32 @url = URI.parse(url)
33 unless @url.kind_of? URI::HTTP
34 raise "invalid http url: #{url}"
44 @connection = Net::HTTP.new(@url.host, @url
[all...]
/lucene-3.6.0/solr/client/ruby/solr-ruby/test/unit/
H A Dconnection_test.rb32 assert_equal 'localhost', connection.url.host
33 assert_equal 8983, connection.url.port
34 assert_equal '/solr', connection.url.path
39 assert_equal '/index', connection.url.path
/lucene-3.6.0/lucene/contrib/queries/src/test/org/apache/lucene/search/
H A DDuplicateFilterTest.java34 private static final String KEY_FIELD = "url";
46 //Add series of docs with filterable fields : url, text and dates flags
74 private void addDoc(RandomIndexWriter writer, String url, String text, String date) throws IOException argument
77 doc.add(newField(KEY_FIELD,url,Field.Store.YES,Field.Index.NOT_ANALYZED));
91 String url=d.get(KEY_FIELD);
92 assertFalse("No duplicate urls should be returned",results.contains(url));
93 results.add(url);
105 String url=d.get(KEY_FIELD);
107 dupsFound=results.contains(url);
108 results.add(url);
[all...]
/lucene-3.6.0/solr/solrj/src/java/org/apache/solr/client/solrj/request/
H A DContentStreamUpdateRequest.java44 * @param url The URL to send the {@link org.apache.solr.common.util.ContentStream} to in Solr.
46 public ContentStreamUpdateRequest(String url) { argument
47 super(METHOD.POST, url);
/lucene-3.6.0/solr/solrj/src/test/org/apache/solr/client/solrj/
H A DSolrExampleTestHttpSolrServer.java40 String url = "http://localhost:" + port + context;
41 HttpSolrServer s = new HttpSolrServer(url);
H A DSolrExampleBinaryTest.java44 String url = "http://localhost:"+port+context;
45 CommonsHttpSolrServer s = new CommonsHttpSolrServer( url );
/lucene-3.6.0/solr/solrj/src/test/org/apache/solr/client/solrj/embedded/
H A DSolrExampleJettyTest.java45 String url = "http://localhost/?core=xxx";
46 CommonsHttpSolrServer s = new CommonsHttpSolrServer( url );
H A DSolrExampleStreamingTest.java44 String url = "http://localhost:"+port+context; // smaller queue size hits locks more often
45 CommonsHttpSolrServer s = new StreamingUpdateSolrServer( url, 2, 5 ) {
H A DMultiCoreExampleJettyTest.java87 String url = "http://localhost:"+port+context+"/"+name;
88 CommonsHttpSolrServer s = new CommonsHttpSolrServer( url );
H A DSolrExampleConcurrentUpdateSolrServerTest.java39 String url = "http://localhost:"+port+context; // smaller queue size hits locks more often
40 ConcurrentUpdateSolrServer s = new ConcurrentUpdateSolrServer( url, 2, 5 ) {
H A DSolrExampleStreamingBinaryTest.java40 String url = "http://localhost:"+port+context;
42 CommonsHttpSolrServer s = new StreamingUpdateSolrServer( url, 2, 5 ) {
/lucene-3.6.0/solr/solrj/src/test/org/apache/solr/common/util/
H A DContentStreamTest.java68 URL url = new URL( "http://svn.apache.org/repos/asf/lucene/dev/trunk/" );
71 URLConnection conn = url.openConnection();
80 assumeNoException("Unable to connect to " + url + " to run the test.", ex);
88 ContentStreamBase stream = new ContentStreamBase.URLStream( url );
104 stream = new ContentStreamBase.URLStream( url );
/lucene-3.6.0/solr/solrj/src/java/org/apache/solr/common/util/
H A DContentStreamBase.java74 private final URL url; field in class:ContentStreamBase.URLStream
76 public URLStream( URL url ) throws IOException {
77 this.url = url;
78 sourceInfo = "url";
82 URLConnection conn = this.url.openConnection();
85 name = url.toExternalForm();
/lucene-3.6.0/solr/core/src/java/org/apache/solr/util/
H A DSimplePostTool.java96 u = new URL(System.getProperty("url", DEFAULT_POST_URL));
98 fatal("System Property 'url' is not a valid URL: " + u);
207 private String appendParam(String url, String param) { argument
208 return url + (url.indexOf('?')>0 ? "&" : "?") + param;
243 * @param url
245 public static void doGet(String url) { argument
247 doGet(new URL(url));
249 fatal("The specified URL "+url+" is not a valid URL. Please check");
255 * @param url
257 doGet(URL url) argument
[all...]
/lucene-3.6.0/lucene/site/build/site/skin/
H A Dscreen.css74 background: url("images/header_white_line.gif") repeat-x bottom;
105 background-image: url(images/rc-t-l-5-1header-2searchbox-3searchbox.png);
129 /* background: #CFDCED url("images/tab-right.gif") no-repeat right top;*/
132 background-image: url(images/rc-t-r-5-1header-2tab-unselected-3tab-unselected.png);
140 /*background: url("images/tab-left.gif") no-repeat left top;*/
148 background-image: url(images/rc-t-l-5-1header-2tab-unselected-3tab-unselected.png);
169 background-image: url(images/rc-t-r-5-1header-2tab-selected-3tab-selected.png);
177 background-image: url(images/rc-t-l-5-1header-2tab-selected-3tab-selected.png);
213 background-image: url('images/chapter.gif');
243 background-image: url(image
[all...]
/lucene-3.6.0/lucene/site/src/documentation/skins/lucene/css/
H A Dscreen.css74 background: url("images/header_white_line.gif") repeat-x bottom;
105 background-image: url(images/rc-t-l-5-1header-2searchbox-3searchbox.png);
129 /* background: #CFDCED url("images/tab-right.gif") no-repeat right top;*/
132 background-image: url(images/rc-t-r-5-1header-2tab-unselected-3tab-unselected.png);
140 /*background: url("images/tab-left.gif") no-repeat left top;*/
148 background-image: url(images/rc-t-l-5-1header-2tab-unselected-3tab-unselected.png);
169 background-image: url(images/rc-t-r-5-1header-2tab-selected-3tab-selected.png);
177 background-image: url(images/rc-t-l-5-1header-2tab-selected-3tab-selected.png);
213 background-image: url('images/chapter.gif');
243 background-image: url(image
[all...]
/lucene-3.6.0/solr/test-framework/src/java/org/apache/solr/
H A DSolrJettyTestBase.java90 String url = "http://localhost:"+port+context;
91 CommonsHttpSolrServer s = new CommonsHttpSolrServer( url );
/lucene-3.6.0/solr/core/src/test/org/apache/solr/core/
H A DTestJmxMonitoredMap.java73 String url = "service:jmx:rmi:///jndi/rmi://:" + port + "/solrjmx";
74 JmxConfiguration config = new JmxConfiguration(true, null, url);
76 JMXServiceURL u = new JMXServiceURL(url);
/lucene-3.6.0/solr/contrib/uima/src/java/org/apache/solr/uima/processor/ae/
H A DOverridingParamsAEProvider.java57 URL url = this.getClass().getResource(aeFilePath);
58 XMLInputSource in = new XMLInputSource(url);

Completed in 519 milliseconds

123