1
2 connection.add_field_action('itemid', xappy.FieldActions.INDEX_EXACT)
3 connection.add_field_action('wikiname', xappy.FieldActions.INDEX_EXACT)
4 connection.add_field_action('wikiname', xappy.FieldActions.SORTABLE)
5
6
7
8 connection.add_field_action('title', xappy.FieldActions.INDEX_FREETEXT, weight=5, language=language)
9 connection.add_field_action('title', xappy.FieldActions.SORTABLE)
10
11 connection.add_field_action('content', xappy.FieldActions.INDEX_FREETEXT, language=language, spell=True)
MoinMoin: Xapian2009/API Changes/FieldStructure (last edited 2009-07-26 14:25:26 by DmitriiMiliaev)