Changeset 237
- Timestamp:
- 04/24/08 03:36:19 (7 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/yet_another_index_structure/lib/picolena/templates/app/models/finder.rb
r232 r237 9 9 @query = Query.extract_from(raw_query) 10 10 @raw_query= raw_query 11 Index Reader.ensure_existence11 Index.ensure_existence 12 12 @per_page=results_per_page 13 13 @offset=(page.to_i-1)*results_per_page branches/yet_another_index_structure/lib/picolena/templates/app/models/indexer.rb
r236 r237 27 27 indexing_list_chunks.each_with_thread{|chunk| 28 28 chunk.each{|filename| 29 add _or_update_file(filename)29 add(filename) 30 30 } 31 31 } 32 end33 34 def add_or_update_file(complete_path)35 add_file(complete_path)36 32 end 37 33
