/usr/lib/python2.6/site-packages/boto/cloudsearch
NameSizeModeActions
document.py97800644editdlrm
document.pyc102450644editdlrm
document.pyo102450644editdlrm
domain.py156070644editdlrm
domain.pyc177850644editdlrm
domain.pyo177850644editdlrm
layer1.py341410644editdlrm
layer1.pyc329460644editdlrm
layer1.pyo329460644editdlrm
layer2.py30100644editdlrm
layer2.pyc24070644editdlrm
layer2.pyo24070644editdlrm
optionstatus.py87110644editdlrm
optionstatus.pyc95700644editdlrm
optionstatus.pyo95700644editdlrm
search.py137750644editdlrm
search.pyc139290644editdlrm
search.pyo139290644editdlrm
sourceattribute.py31560644editdlrm
sourceattribute.pyc26900644editdlrm
sourceattribute.pyo26900644editdlrm
__init__.py17310644editdlrm
__init__.pyc10000644editdlrm
__init__.pyo10000644editdlrm
Edit: /usr/lib/python2.6/site-packages/boto/cloudsearch/sourceattribute.pyo (2690B)
Ñò Å-õSc@sdefd„ƒYZdS(tSourceAttributecBs>eZdZdZd„Zed„ƒZeid„ƒ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/h|_|id|_h|_h|_dS(Ni(t data_copytValidDataFunctionst_data_functiontdata_maptdata_trim_title(tself((sD/usr/lib/python2.6/site-packages/boto/cloudsearch/sourceattribute.pyt__init__;s  cCs|iS(N(R(R ((sD/usr/lib/python2.6/site-packages/boto/cloudsearch/sourceattribute.pyt data_functionAscCsC||ijo&di|iƒ}td|ƒ‚n||_dS(Nt|s data_function must be one of: %s(Rtjoint ValueErrorR(R tvaluetvalid((sD/usr/lib/python2.6/site-packages/boto/cloudsearch/sourceattribute.pyR Es(RRR(t__name__t __module__t__doc__RR tpropertyR tsetter(((sD/usr/lib/python2.6/site-packages/boto/cloudsearch/sourceattribute.pyRs  N(tobjectR(((sD/usr/lib/python2.6/site-packages/boto/cloudsearch/sourceattribute.pyts