ó FRTc@sdefd„ƒYZdS(tSourceAttributecBs>eZdZdZd„Zed„ƒZejd„ƒZRS(sL Provide information about attributes for an index field. A maximum of 20 source attributes can be configured for each index field. :ivar default: Optional default value if the source attribute is not specified in a document. :ivar name: The name of the document source field to add to this ``IndexField``. :ivar data_function: Identifies the transformation to apply when copying data from a source attribute. :ivar data_map: The value is a dict with the following keys: * cases - A dict that translates source field values to custom values. * default - An optional default value to use if the source attribute is not specified in a document. * name - the name of the document source field to add to this ``IndexField`` :ivar data_trim_title: Trims common title words from a source document attribute when populating an ``IndexField``. This can be used to create an ``IndexField`` you can use for sorting. The value is a dict with the following fields: * default - An optional default value. * language - an IETF RFC 4646 language code. * separator - The separator that follows the text to trim. * name - The name of the document source field to add. tCopyt TrimTitletMapcCs/i|_|jd|_i|_i|_dS(Ni(t data_copytValidDataFunctionst_data_functiontdata_maptdata_trim_title(tself((sM/opt/freeware/lib/python2.7/site-packages/boto/cloudsearch/sourceattribute.pyt__init__;s  cCs|jS(N(R(R ((sM/opt/freeware/lib/python2.7/site-packages/boto/cloudsearch/sourceattribute.pyt data_functionAscCsA||jkr4dj|jƒ}td|ƒ‚n||_dS(Nt|s data_function must be one of: %s(Rtjoint ValueErrorR(R tvaluetvalid((sM/opt/freeware/lib/python2.7/site-packages/boto/cloudsearch/sourceattribute.pyR Es(RRR(t__name__t __module__t__doc__RR tpropertyR tsetter(((sM/opt/freeware/lib/python2.7/site-packages/boto/cloudsearch/sourceattribute.pyRs  N(tobjectR(((sM/opt/freeware/lib/python2.7/site-packages/boto/cloudsearch/sourceattribute.pyts