Searched defs:prototype (Results 1 - 3 of 3) sorted by relevance

/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/analysis/
H A DToken.java529 * Copy the prototype token's fields into this one. Note: Payloads are shared.
530 * @param prototype
532 public void reinit(Token prototype) { argument
533 copyBuffer(prototype.buffer(), 0, prototype.length());
534 positionIncrement = prototype.positionIncrement;
535 flags = prototype.flags;
536 startOffset = prototype.startOffset;
537 endOffset = prototype.endOffset;
538 type = prototype
547 reinit(Token prototype, String newTerm) argument
564 reinit(Token prototype, char[] newTermBuffer, int offset, int length) argument
[all...]
/lucene-3.6.0/solr/core/src/java/org/apache/solr/schema/
H A DSchemaField.java53 * of the properties of the prototype except the field name.
55 public SchemaField(SchemaField prototype, String name) { argument
56 this(name, prototype.type, prototype.properties, prototype.defaultValue );
H A DIndexSchema.java1074 final SchemaField prototype; field in class:IndexSchema.DynamicField
1076 DynamicField(SchemaField prototype) { argument
1077 super(prototype.name);
1078 this.prototype=prototype;
1087 return new SchemaField(prototype, name);
1092 return prototype.toString();
1133 super(source, dynamic.prototype, maxChars);
1171 df[i] = dynamicFields[i].prototype;
1328 if (df.matches(fieldName)) return df.prototype
[all...]

Completed in 17 milliseconds