Branch: Tag:

2001-05-31

2001-05-31 06:08:28 by Johan Schön <js@opera.com>

Store and use document metadata. Also implemented db->remove_document()

Rev: lib/modules/Search.pmod/Database.pmod/Base.pmod:1.2
Rev: lib/modules/Search.pmod/Database.pmod/MySQL.pike:1.22
Rev: lib/modules/Search.pmod/Filter.pmod/Base.pike:1.5
Rev: lib/modules/Search.pmod/Grammar.pmod/Parser.pmod:1.2
Rev: lib/modules/Search.pmod/Indexer.pmod:1.6

55:    (filteroutput->uri_anchors[link_uri]));    db->insert_words(link_uri, 0, "anchor", words, source_hash);    } +  mapping md = (["title":1, +  "keywords": 1, +  "description": 1, +  "body": 1 ]) & filteroutput->fields; +  db->set_metadata(uri, language, md);    return filteroutput->links;   }