Changes between Version 1 and Version 2 of TextIndexingAbstractionLayer
- Timestamp:
- Sep 12, 2006, 2:22:24 PM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TextIndexingAbstractionLayer
v1 v2 21 21 22 22 indexer = LuceneIndexer('/tmp/person-index', Person, 23 text_fields=['Person.biography'],24 23 {'first': 'Person.first_name', 25 'last': 'Person.last_name'}) 24 'last': 'Person.last_name'}, 25 text_fields=['Person.biography'] 26 ) 26 27 indexer.update() 27 28 indexer.search("brian -last:beck", order_by='last_name')