摘要 |
A system (10) and method for information retrieval includes an input device (12), a storage device (14), an output device (18), and a data file (20) stored in the storage device (14) including n data records, and one or more index files (22) having data corresponding to a key value comprising information derived from a data record, and the record number of the data record containing the data from which the key value is derived. The retrieval system (10) further includes memory for storing a temporary solution bitmask n bits in length where each bit corresponds to a record in the data file (20) and logic (16) for accessing the data file (20) ascertaining the record number for each data record corresponding to a key value which satisfies the search criteria, and logic (16) for setting the bit corresponding to that record number in the temporary solution bitmask. The system (10) also preferably includes logic (16) for analyzing individual search criteria in a search query containing a plurality of search criteria to determine the extent to which the search is optimizable using the present invention, and logic (16) for combining each of the temporary solution bitmasks ascertained for particular search criteria in a query to obtain a final solution bitmask representative of the set of all data records satisfying the query. |