This should be possible...
> something like this :
>
> conn.add_field_action(
> 'laboratory_name',
> xappy.FieldActions.INDEX_FREETEXT ||
> xappy.FieldActions.COLLAPSE,
> weight=10,
> language=lang,
> spell=True
> )
... but you'd do this by adding two separate actions to the field:
conn.add_field_action(
'laboratory_name',
xappy.FieldActions.INDEX_FREETEXT,
weight=10,
langage=lang,
spell=True)
conn.add_field_action(
'laboratory_name',
xappy.FieldActions.COLLAPSE)
(Untested code, but the above is how it's intended to be done.)
--
Celestial Navigation Limited, incorporated in England & Wales
(registration number 06978117), registered office address: 58
Kingsway, Duxford, Cambridgeshire, CB224QN, UK.