GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  SEARCH::INVERTEDINDEX::UPDATE (3)

.ds Aq ’

NAME

Search::InvertedIndex::Update - A container for a mass data update for a -group/-index.

CONTENTS

SYNOPSIS

DESCRIPTION

Provides a container for the information to perform an update for a -group/-index tuple.

CHANGES

1.01 2002.05.24 - Cleaned up ’new’ method to improve performance.

    Public API

Inherits ’get’,’set’,’clear’ and ’exists’ methods from Class::NamedParms

    Initialization

new({ -group => $group, -index => $index, -keys => { ... ) [ -data = > $data ] });> Returns and optionally initializes a new Search::InvertedIndex::Update object.

Examples:



  my $update = Search::InvertedIndex::Update->new;

  my $update = Search::InvertedIndex::Update->new({ -group => $group,
                                                    -index => $index,
                                                     -data => $index_data,
                                                     -keys => {
                                                                                                               $key0 => 10,
                                                                                                                           $key1 => 20,
                                                                                                                           $key2 => 15,
                                                                                                                 },
                                                                                                 });



Inherits ’get/set’ methods from Class::NamedParms

The -keys parameter is a reference to a hash containing all the keys for this index and their assigned rankings. Rankings are allowed to be integer values between -32768 and +32767 inclusive.

The -group and -index are required, the -keys are optional. The Update object is used for update by replacement of all -keys for the specified -group and -index. All existing keys are deleted and the passed -keys is used to insert a completely new set of keys for the specified index/group.

The -data parameter is optional, but if passed will replace the existing -data record for the -index.

COPYRIGHT

Copyright 1999, Benjamin Franz (<URL:http://www.nihongo.org/snowhare/>) and FreeRun Technologies, Inc. (<URL:http://www.freeruntech.com/>). All Rights Reserved. This software may be copied or redistributed under the same terms as Perl itelf.

AUTHOR

Benjamin Franz

TODO

Everything.

VERSION

1.01 2002.05.24 - Changed initialization to improve performance
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 SEARCH::INVERTEDINDEX::UPDATE (3) 2002-05-25

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.