Package org.apache.solr.schema
Class CopyField
java.lang.Object
org.apache.solr.schema.CopyField
CopyField contains all the information of a valid copy fields in an index.- Since:
- solr 1.4
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCopyField(SchemaField source, SchemaField destination) CopyField(SchemaField source, SchemaField destination, int maxChars) -
Method Summary
-
Field Details
-
UNLIMITED
public static final int UNLIMITED- See Also:
-
-
Constructor Details
-
CopyField
-
CopyField
- Parameters:
source- The SchemaField of the source field.destination- The SchemaField of the destination field.maxChars- Maximum number of chars in source field to copy to destination field. If equal to 0, there is no limit.
-
-
Method Details
-
getLimitedValue
-
getSource
- Returns:
- source SchemaField
-
getDestination
- Returns:
- destination SchemaField
-
getMaxChars
public int getMaxChars()- Returns:
- the maximum number of chars in source field to copy to destination field.
-