Method: ODBA::FulltextIndex#fetch_ids
- Defined in:
- lib/odba/index.rb
#fetch_ids(search_term, meta = nil) ⇒ Object
:nodoc:
381 382 383 384 385 386 |
# File 'lib/odba/index.rb', line 381 def fetch_ids(search_term, =nil) # :nodoc: limit = .respond_to?(:limit) && .limit rows = ODBA.storage.retrieve_from_fulltext_index(@index_name, search_term, limit) set_relevance(, rows) rows.collect { |row| row.at(0) } end |