<< | Index | >>
* ODDB::State::Global#search * ODDB::Session#search_migel_products * ODDB::App#search_migel_products * MIGEL_SERVER.migelid.search_by_migel_code * Migel::Model::Migelid.search_by_migel_code * MIGEL_SERVER.search_migel_migelid * Migel::Util::Server#search_migelid_fulltext * ODBA.cache.retrieve_from_index #=> search from description index (migel_fulltext_index_de) * Migel::Util::Server#search_migelid_by_name #=> search from name prefix (artikelname z.B. "SIGVARIS 503 A-D/F KKL2 S kurz off")
migel> rebuild_fulltext_index_tables -> Array source.size: 557 source.size: 557 source.size: 30737 source.size: 30737
migel> Migel::Model::Product.send('search_by_company_name_de', 'sigvaris').length -> 10992 migel> Migel::Model::Product.send('search_by_company_name_de', 'hartman').length -> 0 migel> Migel::Model::Product.send('search_by_company_name_de', 'IVF Hartmann AG').length -> 644 # production migel> Migel::Model::Product.send('search_by_article_name_de', 'sigvaris').length -> 0 migel> products.values.select{|prod| prod.full_description(:de) =~ /SANOR/ }.length -> 0 migel> rebuild_fulltext_index_tables # => rebuld method does not work -> [] migel> init_fulltext_index_tables -> [] migel> products.length -> 0
migel_model_product_pharmacode
migel> ODBA.cache.index_keys('migel_model_product_pharmacode') -> [] migel> Migel::Model::Product.all.length -> 0