OpenACS Search

Site wide search implemented with service contracts, currently supports PostgreSQL via the tsearch2 driver and Oracle via the [intermedia-driver].

 

 

Package Documentation

Procedure Files

lib/navbar.adp        
lib/navbar.tcl        
lib/search.adp        
lib/search.tcl        
tcl/apm-callback-procs.tcl        
tcl/extra-args-procs.tcl       Handle extra arguments not defined in service contract. 
tcl/search-convert-procs.tcl       Binaries conversion procedures for the search package. 
tcl/search-procs.tcl       full-text search engine 
tcl/syndicate-procs.tcl       Syndication callback and support routines. 

Procedures

callback::search::action::contract       Do something with a search datasource Called by the indexer after having created the datasource. 
callback::search::action::impl::syndicate       create or replace the record in the syndication table for the given object_id See photo-album-search-procs for an example of what you need to do in the FtsContentProvider datasource proc to make something syndicable. 
callback::search::datasource::contract       This callback is invoked by the search indexer when and object is indexed for search. 
callback::search::driver_info::contract       This callback returns information about the search engine implementation 
callback::search::extra_arg::contract       Generate a query fragment for search filtering by extra argument Argument name will be the implementation name called Search driver should call this for every extra argument and then build the search query using the query fragments returned 
callback::search::extra_arg::impl::object_type       Implement per object type search 
callback::search::extra_arg::impl::package_ids       Implement per package_id search 
callback::search::index::contract       This callback is invoked from the search::indexer scheduled procedure to add an item to the index 
callback::search::search::contract       This callback is invoked when a search is to be performed. 
callback::search::summary::contract       This callback is invoked to return an HTML fragment highlighting the terms in query 
callback::search::unindex::contract       This callback is invoked to remove and item from the search index. 
callback::search::update_index::contract       This callback is invoked from the search::indexer scheduled procedure to update an item already in the index 
callback::search::url::contract       This callback is invoked when a URL needs to be generated for an object. 
search::content_filter        
search::content_get        
search::convert::binary_to_text       Converts the binary file to text and returns this as a string. 
search::dequeue       Remove an object from the search queue 
search::dotlrn::get_community_id       if dotlrn is installed find the package's community_id 
search::driver_name       Return the name of the current search driver. 
search::extra_args       List of extra_args to pass to search::search callback 
search::extra_args_names       List of names of extra args implemented 
search::extra_args_page_contract       Generate ad_page_contract fragment for extra_args options Get all the callback impls for extra_args and add a page contract declaration 
search::indexer       Search indexer loops over the existing entries in the search_observer_queue table and calls the appropriate driver functions to index, update, or delete the entry. 
search::install::after_instantiate       Package after instantiation callback proc. 
search::is_guest_p       Checks whether the logged-in user is a guest 
search::queue       Add an object to the search_observer_queue table with an event. 

SQL Files

sql/postgresql/search-create.sql        
sql/postgresql/search-drop.sql        
sql/postgresql/search-packages-create.sql        
sql/postgresql/search-packages-drop.sql        
sql/postgresql/search-sc-create.sql        
sql/postgresql/search-sc-drop.sql        
sql/postgresql/search-tables-create.sql        
sql/postgresql/search-tables-drop.sql        
sql/postgresql/syndication-create.sql        
sql/postgresql/upgrade/upgrade-4.5-4.5.1.sql        
sql/postgresql/upgrade/upgrade-5.2.0d1-5.2.0d2.sql        
sql/postgresql/upgrade/upgrade-5.2.0d2-5.2.0d3.sql        

Content Pages

www/
      advanced-search.adp
      advanced-search.tcl
      index.adp
      index.tcl
      search.adp
      search.tcl
      test.adp
  Contact Us
  Project Open Business Solutions S.L.

Calle Aprestadora 19, 12o-2a

08902 Hospitalet de Llobregat (Barcelona)

Spain

 Tel Europe: +34 609 953 751
 Tel US: +1 415 200 2465
 Mail: info@project-open.com