/lucene-3.6.0/solr/contrib/dataimporthandler/src/java/org/apache/solr/handler/dataimport/ |
H A D | DIHPropertiesWriter.java | 28 public void persist(Properties props); argument
|
/lucene-3.6.0/solr/contrib/dataimporthandler/src/test/org/apache/solr/handler/dataimport/ |
H A D | TestJdbcDataSource.java | 56 Properties props = new Properties(); field in class:TestJdbcDataSource 88 props.put(JdbcDataSource.JNDI_NAME, "java:comp/env/jdbc/JndiDB"); 96 Connection conn = jdbcDataSource.createConnectionFactory(context, props) 108 props.put(JdbcDataSource.JNDI_NAME, "java:comp/env/jdbc/JndiDB"); 109 props.put("user", "Fred"); 110 props.put("password", "4r3d"); 111 props.put("holdability", "HOLD_CURSORS_OVER_COMMIT"); 120 Connection conn = jdbcDataSource.createConnectionFactory(context, props) 138 props.put(JdbcDataSource.DRIVER, driver.getClass().getName()); 139 props [all...] |
/lucene-3.6.0/lucene/contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/feeds/ |
H A D | DocData.java | 33 private Properties props; field in class:DocData 40 props = null; 67 return props; 98 public void setProps(Properties props) { argument 99 this.props = props;
|
/lucene-3.6.0/lucene/contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/utils/ |
H A D | Config.java | 47 // For tests, if verbose is not turned on, don't print the props. 52 private Properties props; field in class:Config 75 // copy props lines to string 81 // read props from string 82 this.props = new Properties(); 83 props.load(new ByteArrayInputStream(sb.toString().getBytes())); 86 if (props.get("work.dir") == null) { 87 props.setProperty("work.dir", System.getProperty("benchmark.work.dir", "work")); 90 if (Boolean.valueOf(props.getProperty("print.props", DEFAULT_PRINT_PROP 107 Config(Properties props) argument [all...] |
/lucene-3.6.0/solr/core/src/java/org/apache/solr/schema/ |
H A D | FieldProperties.java | 96 static boolean on(int bitfield, int props) { argument 97 return (bitfield & props) != 0; 100 static boolean off(int bitfield, int props) { argument 101 return (bitfield & props) == 0; 105 int props = 0; 110 props |= propertyNameToInt(entry.getKey()); 113 return props;
|
H A D | SchemaField.java | 189 static SchemaField create(String name, FieldType ft, Map<String,String> props) { argument 192 if( props.containsKey( "default" ) ) { 193 defaultValue = props.get( "default" ); 195 return new SchemaField(name, ft, calcProps(name, ft, props), defaultValue ); 199 * Create a SchemaField w/ the props specified. Does not support a default value. 202 * @param props The props. See {@link #calcProps(String, org.apache.solr.schema.FieldType, java.util.Map)} 208 static SchemaField create(String name, FieldType ft, int props, String defValue){ argument 209 return new SchemaField(name, ft, props, defValue); 212 static int calcProps(String name, FieldType ft, Map<String, String> props) { argument [all...] |
H A D | FieldType.java | 175 protected void restrictProps(int props) { argument 176 if ((properties & props) != 0) { 179 + " invalid properties:" + propertiesToString(properties & props));
|
/lucene-3.6.0/solr/core/src/java/org/apache/solr/core/ |
H A D | CoreContainer.java | 347 NodeList props = (NodeList) xpath.evaluate("property", node, XPathConstants.NODESET); 349 for (int i=0; i<props.getLength(); i++) { 350 Node prop = props.item(i); 789 private void writeProperties(Writer w, Properties props, String indent) throws IOException { argument 790 for (Map.Entry<Object, Object> entry : props.entrySet()) {
|
/lucene-3.6.0/solr/core/src/java/org/apache/solr/handler/ |
H A D | ReplicationHandler.java | 547 Properties props = loadReplicationProperties(); 548 addVal(list, SnapPuller.PREVIOUS_CYCLE_TIME_TAKEN, props, Long.class); 549 addVal(list, SnapPuller.INDEX_REPLICATED_AT, props, Date.class); 550 addVal(list, SnapPuller.CONF_FILES_REPLICATED_AT, props, Date.class); 551 addVal(list, SnapPuller.REPLICATION_FAILED_AT, props, Date.class); 552 addVal(list, SnapPuller.TIMES_FAILED, props, Integer.class); 553 addVal(list, SnapPuller.TIMES_INDEX_REPLICATED, props, Integer.class); 554 addVal(list, SnapPuller.LAST_CYCLE_BYTES_DOWNLOADED, props, Long.class); 555 addVal(list, SnapPuller.TIMES_CONFIG_REPLICATED, props, Integer.class); 556 addVal(list, SnapPuller.CONF_FILES_REPLICATED, props, Strin 728 addVal(NamedList nl, String key, Properties props, Class clzz) argument [all...] |