Claims
- 1. A method for retrieving documents from a database, comprising the steps of:creating a plurality of subdocuments from a plurality of documents stored in a database; scoring the subdocuments; sorting the subdocument scores via a modified heap sort, wherein said modified heap sort identifies the highest ranking subdocument from a portion of said subdocuments prior to a complete sort of said subdocuments; and upon completing said modified heap sort, displaying text from a document corresponding to said highest ranking subdocument.
- 2. The method of claim 1, wherein said portion of said subdocuments is equal to about half of said subdocuments.
- 3. The method of claim 1 further comprising displaying text from a plurality of documents wherein said display of said documents corresponds to a rank order of said subdocuments generated by said modified heap sort.
- 4. An apparatus for retrieving documents from a database, comprising:a computer coupled to a disk storage unit and to a display unit, said disk storage unit stores a database in at least one file; said computer retrieves data from said database file to create a plurality of subdocuments from a plurality of documents stored in a database file; said computer scores said subdocuments; said computer sorts the subdocument scores via a modified heap sort, wherein said modified heap sort identifies the highest ranking subdocument from a portion of said subdocuments prior to a complete sort of said subdocuments; and upon completing said modified heap sort, said computer displays on said display unit text retrieved from a document corresponding to said highest ranking subdocument.
- 5. The apparatus of claim 4, wherein said portion of said subdocuments is equal to about half of said subdocuments.
- 6. The apparatus of claim 4 wherein said computer displays text from a plurality of documents and wherein said display of said documents corresponds to a rank order of said subdocuments generated by said modified heap sort.
- 7. A computer readable media bearing sequences of computer executable instructions for retrieving documents from a database, comprising the computer-implemented steps of:creating a plurality of subdocuments from a plurality of documents stored in a database; scoring the subdocuments; sorting the subdocument scores via a modified heap sort, wherein said modified heap sort identifies the highest ranking subdocument from a portion of said subdocuments prior to a complete sort of said subdocuments; and upon completing said modified heap sort, displaying text from a document corresponding to said highest ranking subdocument.
- 8. The computer readable media bearing sequences of computer executable instructions of claim 7, wherein said portion of said subdocuments is equal to about half of said subdocuments.
- 9. The computer readable media bearing sequences of computer executable instructions of claim 7 comprising the computer-implemented step of displaying text from a plurality of documents wherein said display of said documents corresponds to a rank order of said subdocuments generated by said modified heap sort.
Parent Case Info
This application is a divisional of patent application Ser. No. 08/900,548 filed Jul. 25, 1997, now U.S. Pat No. 6,278,990.
US Referenced Citations (24)
Non-Patent Literature Citations (1)
Entry |
Lin et al., “Fast generation of long sorted runs for sorting a large file”, pp. 445-456, Sep. 1991. |