US20080306939A1 - Use of fixed-width field array with inverted index - Google Patents

Use of fixed-width field array with inverted index Download PDF

Info

Publication number
US20080306939A1
US20080306939A1 US12/133,876 US13387608A US2008306939A1 US 20080306939 A1 US20080306939 A1 US 20080306939A1 US 13387608 A US13387608 A US 13387608A US 2008306939 A1 US2008306939 A1 US 2008306939A1
Authority
US
United States
Prior art keywords
search
fixed
computer
width field
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Abandoned
Application number
US12/133,876
Inventor
Shivajee Bhattacharjee
William Alan Press
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Oracle International Corp
Original Assignee
BEA Systems Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by BEA Systems Inc filed Critical BEA Systems Inc
Priority to US12/133,876 priority Critical patent/US20080306939A1/en
Assigned to ORACLE INTERNATIONAL CORPORATION reassignment ORACLE INTERNATIONAL CORPORATION ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: PRESS, WILLIAM, BHATTACHARJEE, SHIVAJEE
Publication of US20080306939A1 publication Critical patent/US20080306939A1/en
Assigned to ORACLE INTERNATIONAL CORPORATION reassignment ORACLE INTERNATIONAL CORPORATION ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: BEA SYSTEMS, INC.
Abandoned legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/31Indexing; Data structures therefor; Storage structures
    • G06F16/316Indexing structures
    • G06F16/319Inverted lists

Definitions

  • Inverted Indexes are a way to process documents for effective document search. Inverted Indexes typically use token valves for words in the document. These tokens are then arranged in order along with associated indications of what documents contain the token (word). The search for words in documents then becomes an ordered search for the tokens in the Inverted Index. This is less computationally expensive than a search of all the documents at search time, but the creation of the Inverted Index can take significant amounts of time.
  • FIG. 1 shows a search server using a fixed-width field array.
  • FIG. 2 shows an embodiment with an inverted index used in conjunction with a fixed-width field array.
  • FIG. 3 shows a search system where all metadata associated with a document is used to create an Inverted Index.
  • FIG. 4A shows a search system wherein some metadata fields associated with a document are not used to create an Inverted Index.
  • FIG. 4B shows another example with multiple fixed-width field arrays.
  • FIG. 5 shows an example of the updating of a fixed-width field array.
  • FIG. 6 shows a flow chart illustrating a method of the present invention.
  • FIG. 1 shows an exemplary search server using a fixed-width field array.
  • a computer based system 100 can use a fixed-width field array 102 storing numeric rank data associated with documents.
  • the system 100 can provide result data using the numeric rank data obtained from the fixed-width field array.
  • Rank data can be quickly accessed and updated in the fixed-width field array 102 .
  • FIG. 2 shows an embodiment with an inverted index used in conjunction with a fixed-width field array.
  • a computer based system 200 can comprise an inverted index 202 for a number of documents and a fixed-width field array 204 storing data associated with documents.
  • the system can provide result data using the information obtained from the fixed-width field array.
  • the use of the fixed-width field array 204 with the inverted index 202 can avoid the need to do a costly update of the inverted index in some cases.
  • FIG. 3 shows an example of a system where an archive includes documents 304 and 306 .
  • the metadata associated with documents such as metadata 304 a and 306 a , can be put in the Inverted Index 310 . This allows for searches to find documents based on tags or other metadata such as author information.
  • Document Rank can be used in a search system to indicate a search-independent ranking of the document. Some documents can be ranked higher due to the importance of the authors, number of users or other factors.
  • An example of such a system is given in the patent application “USING CONNECTIONS BETWEEN USERS AND DOCUMENTS TO RANK DOCUMENTS IN AN ENTERPRISE SEARCH SYSTEM” Ser. No. 11/461,549 (attorney docket number BEAS-02040us1) that is incorporated herein by reference.
  • FIG. 4A shows computer based search server 405 including an archive 404 including an inverted index 406 for a number of documents and a fixed-width field array 420 storing data associated with the documents.
  • the search server 405 can provide search results using information obtained from the fixed-width field array 420 .
  • the use of a fixed-width field array can allow frequently updated metadata to not require a re-indexing of the inverted index.
  • a search API 402 at application 403 can be used to access data in the search server 405 containing an archive 404 .
  • the search server 405 can be adapted to find documents matching a search criterion.
  • the non-indexed field data can be in a fixed-width field array 420 .
  • This fixed width field array can be memory-mapped or accessed in another manner. Position in the array 420 can correspond to the document number. This makes the updating and search of the array very simple.
  • the non-indexed field value can be a rank value such as a search-independent rank value.
  • the search-independent rank can be frequently updated for every document without causing the re-indexing of the inverted index.
  • the fixed-width field arrays can be used for any numeric value used for any purpose associated with the search engine (including simply returning values to the users). For example, a catalogue company may change prices frequently and want to store them within the search engine but not within the inverted index.
  • the inverted index can be searched using search terms to obtain a search-dependent rank.
  • the search-dependent rank can be combined with search-independent rank, such as values that stored in fixed-width field array 420 , to get an overall rank value.
  • Searches can be done by accessing both the inverted index and the fixed-width field array.
  • the fixed-width field array can be created automatically when a fixed-width field, such as a number field, is to be associated with documents.
  • a fixed-width field such as a number field
  • rank can include price, time, size value or other such values.
  • the document data in the inverted index 406 can include at least some metadata 410 ; and at least some documents, can have at least one field 412 that is not placed in the inverted index.
  • FIG. 4B shows an example with multiple fixed-width field arrays.
  • the multiple fixed-width field arrays can store different field data.
  • FIG. 5 is an example that shows an update of a fixed-width field value. Rather than requesting a reordering of the inverted index, the value in a fixed-width field array can be easily accessed and modified. Certain higher level languages make such accessing and updating very simple.
  • each fixed-width field is 4 bytes
  • FIG. 6 shows an example of the accessing of the data by a search system.
  • a search for the term “shoe” is done.
  • step 602 the inverted index is checked for the term “shoe” in the inverted index 406 . This gets a list of document numbers.
  • step 604 the documents associated with the document numbers from the document set 407 are obtained.
  • steps 606 the rank values (or other fixed-width field data) are obtained from fixed-width field array 420 .
  • the search returns can be provided to the user.
  • the search results can be returned using the rank values obtained from the fixed-width field array.
  • the fixed-width field array can be memory mapped.
  • a field can represent its values in an array, where the values are indexed in array by document number. This array can be persisted on disk, and memory-mapping can be used to access this on-disk array as if it were an in-memory data structure. This can allow for both efficient access and efficient updating of the field's values.
  • users can update field values without having to modify the inverted index, which is computationally expensive (as modifying values in the inverted index requires first deleting a document, then re-indexing the new version of the document, and finally recreating the inverted index).
  • This feature can be used for storing and updating values associated with document rank, such as graffiti-rank; in this case, the field value is of fixed width.
  • a memory-mapped numeric field is a vector indexed by the document number, and the value it holds is the document's rank value.
  • a memory-mapped data structure can be used to store the fixed-width field values separately from the inverted index data structure.
  • the API and Search Server can represent c field types that are supported as memory-mapped on the search server for fast update.
  • these field types can be 32-bit integers and floating point numbers (int32 and float, respectively). Note that other fixed-width data types could be supported as well (such as uint32, double, int64, and uint64, to name just a few), though they are not described in this example.
  • the Search Server can use type names sent from the API to determine whether the associated value should be added to the Inverted Index or to the fixed-width field array.
  • a given document can contain any number of numeric field instances.
  • the API can bundle one or more documents in a document set object, also known as a “docset”.
  • a docset is sent to the Search Server, the API is said to make an “IndexRequest”. This can be for adding/replacing documents in the Search Server, updating fields in existing documents in the Search Server, or removing documents from the Search Server.
  • the IndexRequest arrives at the Search Server, it can be parsed. Each document in the docset can then be represented by a ParseDocument object. In addition to having a data structure for holding the document's numeric field values, it can also have a flag for keeping track of whether the document contains only fast-update fields. This flag can be referred to as the “fastupdateOnly” flag, and any document for which this flag is true is referred to as a “fastupdateOnly” document.
  • fastupdateOnly documents can be updated simply by changing the associated value in the fixed-width fast-update (i.e., non-indexed) field, whereas all other documents must be updated in the manner appropriate for updating the inverted index (i.e., deleting the original document, adding the modified document, and recreating the inverted index).
  • the system can be more conservative about modifying the memory-mapped fast-update fields. Exemplary precautions are described below.
  • the fast-update field values can be changed directly without any other processing.
  • queries could be running against the fast-update fields concurrent with the changes being made. They would read the most up-to-date value in the fast-update field, depending upon the timing of the query and the update request.
  • Each archive can contain several memory-mapped field instances. These can be represented by a map of memory-mapped field instances keyed by the fieldnames.
  • the goal here was to provide scoring by memory-mapped fields as no different as when scoring with non-memory-mapped numeric field values. So, during scoring we use the lexicon to determine if we are dealing with a memory-mapped field and then use that to get the value of the memory-mapped field.
  • Embodiments of the present invention can include computer-based methods and systems which may be implemented using conventional general purpose or a specialized digital computer(s) or microprocessor(s), programmed according to the teachings of the present disclosure. Appropriate software coding can readily be prepared by programmers based on the teachings of the present disclosure.
  • Embodiments of the present invention can include a computer readable medium, such as computer readable storage medium.
  • the computer readable storage medium can have stored instructions which can be used to program a computer to perform any of the features present herein.
  • the storage medium can include, but is not limited to, any type of disk including floppy disks, optical discs, DVD, CD-ROMs, micro drive, and magneto-optical disks, ROMs, RAMs, EPROMs, EEPROMs, DRAMs, flash memory or any media or device suitable for storing instructions and/or data.
  • the present invention can include software for controlling both the hardware of a computer, such as general purpose/specialized computer(s) or microprocessor(s), and for enabling them to interact with a human user or other mechanism utilizing the results of the present invention.
  • software may include, but is not limited to, device drivers, operating systems, execution environments/containers, and user applications.
  • Embodiments of the present invention can include providing code for implementing processes of the present invention.
  • the providing can include providing code to a user in any manner.
  • the providing can include transmitting digital signals containing the code to a user; providing the code on a physical media to a user; or any other method of making the code available.
  • Embodiments of the present invention can include a computer-implemented method for transmitting the code which can be executed at a computer to perform any of the processes of embodiments of the present invention.
  • the transmitting can include transfer through any portion of a network, such as the Internet; through wires, the atmosphere or space; or any other type of transmission.
  • the transmitting can include initiating a transmission of code; or causing the code to pass into any region or country from another region or country.
  • a transmission to a user can include any transmission received by the user in any region or country, regardless of the location from which the transmission is sent.
  • Embodiments of the present invention can include a signal containing code which can be executed at a computer to perform any of the processes of embodiments of the present invention.
  • the signal can be transmitted through a network, such as the Internet; through wires, the atmosphere or space; or any other type of transmission.
  • the entire signal need not be in transit at the same time.
  • the signal can extend in time over the period of its transfer. The signal is not to be considered as a snapshot of what is currently in transit.

Abstract

A computer based system can comprise an inverted index for a number of documents and a fixed-width field array storing data associated with the documents. The system provides results data using information obtained from the fixed-width field array.

Description

    CLAIM OF PRIORITY
  • This application claims priority from the following co-pending application, which is hereby incorporated in their entirety: U.S. Provisional Patent Application No.: 60/942,951 entitled “METHOD FOR CREATING A PERSISTENT, SCALEABLE, RAPIDLY-UPDATE STORAGE AND RETRIEVAL OF RELEVANCY RANKING META DATA”, by Bhattachaijee, et al., filed on Jun. 8, 2007 (Attorney Docket No.: BEAS-02246US0).
  • BACKGROUND
  • Inverted Indexes are a way to process documents for effective document search. Inverted Indexes typically use token valves for words in the document. These tokens are then arranged in order along with associated indications of what documents contain the token (word). The search for words in documents then becomes an ordered search for the tokens in the Inverted Index. This is less computationally expensive than a search of all the documents at search time, but the creation of the Inverted Index can take significant amounts of time.
  • BRIEF DESCRIPTION OF THE DRAWINGS
  • FIG. 1 shows a search server using a fixed-width field array.
  • FIG. 2 shows an embodiment with an inverted index used in conjunction with a fixed-width field array.
  • FIG. 3 shows a search system where all metadata associated with a document is used to create an Inverted Index.
  • FIG. 4A shows a search system wherein some metadata fields associated with a document are not used to create an Inverted Index.
  • FIG. 4B shows another example with multiple fixed-width field arrays.
  • FIG. 5 shows an example of the updating of a fixed-width field array.
  • FIG. 6 shows a flow chart illustrating a method of the present invention.
  • DETAILED DESCRIPTION
  • FIG. 1 shows an exemplary search server using a fixed-width field array.
  • A computer based system 100 can use a fixed-width field array 102 storing numeric rank data associated with documents. The system 100 can provide result data using the numeric rank data obtained from the fixed-width field array.
  • The use of a fixed-width field array 102 can speed up the updating of an archive with the numeric rank data. Rank data can be quickly accessed and updated in the fixed-width field array 102.
  • FIG. 2 shows an embodiment with an inverted index used in conjunction with a fixed-width field array.
  • A computer based system 200 can comprise an inverted index 202 for a number of documents and a fixed-width field array 204 storing data associated with documents. The system can provide result data using the information obtained from the fixed-width field array.
  • The use of the fixed-width field array 204 with the inverted index 202 can avoid the need to do a costly update of the inverted index in some cases.
  • FIG. 3 shows an example of a system where an archive includes documents 304 and 306. The metadata associated with documents, such as metadata 304 a and 306 a, can be put in the Inverted Index 310. This allows for searches to find documents based on tags or other metadata such as author information.
  • One disadvantage is that frequently updated metadata could cause significant computational efforts. One example of such frequently updated metadata is metadata for Document Rank. Document Rank can be used in a search system to indicate a search-independent ranking of the document. Some documents can be ranked higher due to the importance of the authors, number of users or other factors. An example of such a system is given in the patent application “USING CONNECTIONS BETWEEN USERS AND DOCUMENTS TO RANK DOCUMENTS IN AN ENTERPRISE SEARCH SYSTEM” Ser. No. 11/461,549 (attorney docket number BEAS-02040us1) that is incorporated herein by reference.
  • FIG. 4A shows computer based search server 405 including an archive 404 including an inverted index 406 for a number of documents and a fixed-width field array 420 storing data associated with the documents. The search server 405 can provide search results using information obtained from the fixed-width field array 420.
  • The use of a fixed-width field array can allow frequently updated metadata to not require a re-indexing of the inverted index.
  • A search API 402 at application 403 can be used to access data in the search server 405 containing an archive 404. The search server 405 can be adapted to find documents matching a search criterion.
  • In one example, the non-indexed field data can be in a fixed-width field array 420. This fixed width field array can be memory-mapped or accessed in another manner. Position in the array 420 can correspond to the document number. This makes the updating and search of the array very simple.
  • The non-indexed field value can be a rank value such as a search-independent rank value. In this way, the search-independent rank can be frequently updated for every document without causing the re-indexing of the inverted index.
  • In one embodiment, the fixed-width field arrays can be used for any numeric value used for any purpose associated with the search engine (including simply returning values to the users). For example, a catalogue company may change prices frequently and want to store them within the search engine but not within the inverted index.
  • The inverted index can be searched using search terms to obtain a search-dependent rank. The search-dependent rank can be combined with search-independent rank, such as values that stored in fixed-width field array 420, to get an overall rank value.
  • In one embodiment, there can be multiple fixed-width field arrays that store multiple values.
  • Searches can be done by accessing both the inverted index and the fixed-width field array.
  • In one embodiment, the fixed-width field array can be created automatically when a fixed-width field, such as a number field, is to be associated with documents. Examples other than rank can include price, time, size value or other such values.
  • In the example of FIG. 4A, the document data in the inverted index 406 can include at least some metadata 410; and at least some documents, can have at least one field 412 that is not placed in the inverted index.
  • FIG. 4B shows an example with multiple fixed-width field arrays. The multiple fixed-width field arrays can store different field data.
  • FIG. 5 is an example that shows an update of a fixed-width field value. Rather than requesting a reordering of the inverted index, the value in a fixed-width field array can be easily accessed and modified. Certain higher level languages make such accessing and updating very simple.
  • In one embodiment, for example, if each fixed-width field is 4 bytes, then

  • Fixed-width field address=array starting address+4 (document number)
  • FIG. 6 shows an example of the accessing of the data by a search system. In this example, a search for the term “shoe” is done.
  • In step 602, the inverted index is checked for the term “shoe” in the inverted index 406. This gets a list of document numbers. In step 604, the documents associated with the document numbers from the document set 407 are obtained. In steps 606, the rank values (or other fixed-width field data) are obtained from fixed-width field array 420.
  • In step 608, the search returns can be provided to the user. The search results can be returned using the rank values obtained from the fixed-width field array.
  • The fixed-width field array can be memory mapped. A field can represent its values in an array, where the values are indexed in array by document number. This array can be persisted on disk, and memory-mapping can be used to access this on-disk array as if it were an in-memory data structure. This can allow for both efficient access and efficient updating of the field's values.
  • Exemplary Non-Limiting Example
  • An exemplary non-limiting example is described below.
  • In one embodiment, users can update field values without having to modify the inverted index, which is computationally expensive (as modifying values in the inverted index requires first deleting a document, then re-indexing the new version of the document, and finally recreating the inverted index). This feature can be used for storing and updating values associated with document rank, such as graffiti-rank; in this case, the field value is of fixed width. In one embodiment, a memory-mapped numeric field is a vector indexed by the document number, and the value it holds is the document's rank value. Thus, a memory-mapped data structure can be used to store the fixed-width field values separately from the inverted index data structure.
  • In one example, the API and Search Server can represent c field types that are supported as memory-mapped on the search server for fast update. In one example, these field types can be 32-bit integers and floating point numbers (int32 and float, respectively). Note that other fixed-width data types could be supported as well (such as uint32, double, int64, and uint64, to name just a few), though they are not described in this example.
  • The Search Server can use type names sent from the API to determine whether the associated value should be added to the Inverted Index or to the fixed-width field array.
  • In one embodiment, a given document can contain any number of numeric field instances. To send documents to the Search Server, the API can bundle one or more documents in a document set object, also known as a “docset”. When a docset is sent to the Search Server, the API is said to make an “IndexRequest”. This can be for adding/replacing documents in the Search Server, updating fields in existing documents in the Search Server, or removing documents from the Search Server.
  • When the IndexRequest arrives at the Search Server, it can be parsed. Each document in the docset can then be represented by a ParseDocument object. In addition to having a data structure for holding the document's numeric field values, it can also have a flag for keeping track of whether the document contains only fast-update fields. This flag can be referred to as the “fastupdateOnly” flag, and any document for which this flag is true is referred to as a “fastupdateOnly” document.
  • If queries are prevented from reading the fast-update fields while index requests are being processed, then each document can be processed in the manner appropriate to that document: fastupdateOnly documents can be updated simply by changing the associated value in the fixed-width fast-update (i.e., non-indexed) field, whereas all other documents must be updated in the manner appropriate for updating the inverted index (i.e., deleting the original document, adding the modified document, and recreating the inverted index).
  • If queries are not prevented from reading the fast-update fields while index requests are being processed, then, in one embodiment, the system can be more conservative about modifying the memory-mapped fast-update fields. Exemplary precautions are described below.
  • In one embodiment, if live queries are running against the one copy of the memory-mapped data structure(s), then only existing values can be updated. Appending new values to the data structure(s), which can occur when adding new documents or adding new field instances, could result in live queries running against an invalid data region, since the memory-mapped field would have to be un-mapped and then re-mapped upon resizing or creating a new instance of the field.
  • Thus, when processing update requests, we can loop through each document in the docset to check if it's a fastupdateOnly document or not. If any of them are not a fastupdateOnly document, the entire request should be treated as a regular (i.e., non-optimized) update request (that is, by marking the previously existing document in the Search Server as deleted and re-indexing the entire new document).
  • If all of the documents in the docset are fastupdateOnly, then we are dealing with memory-mapped-only update request. Then, we can see if a memory-mapped field instance already exists for the document number. If so, would be able to update this value. If the memory-mapped field doesn't exist, then could add the field value using a regular update request.
  • If all of the documents are fastupdateOnly documents and memory-mapped field instances exist for each of the fields in the range of the documents being updated, the fast-update field values can be changed directly without any other processing. In this case, queries could be running against the fast-update fields concurrent with the changes being made. They would read the most up-to-date value in the fast-update field, depending upon the timing of the query and the update request.
  • If documents are added using a regular update request, newly added documents or field instances could be incorporated into the existing index during a merge operation. This merge operation could occur at a later time than the documents' being indexed, and it could involve taking a mutually exclusive lock that prevents query requests or index requests from accessing either the inverted index or the memory-mapped data structures.
  • Each archive can contain several memory-mapped field instances. These can be represented by a map of memory-mapped field instances keyed by the fieldnames.
  • The goal here was to provide scoring by memory-mapped fields as no different as when scoring with non-memory-mapped numeric field values. So, during scoring we use the lexicon to determine if we are dealing with a memory-mapped field and then use that to get the value of the memory-mapped field.
  • Embodiments of the present invention can include computer-based methods and systems which may be implemented using conventional general purpose or a specialized digital computer(s) or microprocessor(s), programmed according to the teachings of the present disclosure. Appropriate software coding can readily be prepared by programmers based on the teachings of the present disclosure.
  • Embodiments of the present invention can include a computer readable medium, such as computer readable storage medium. The computer readable storage medium can have stored instructions which can be used to program a computer to perform any of the features present herein. The storage medium can include, but is not limited to, any type of disk including floppy disks, optical discs, DVD, CD-ROMs, micro drive, and magneto-optical disks, ROMs, RAMs, EPROMs, EEPROMs, DRAMs, flash memory or any media or device suitable for storing instructions and/or data. The present invention can include software for controlling both the hardware of a computer, such as general purpose/specialized computer(s) or microprocessor(s), and for enabling them to interact with a human user or other mechanism utilizing the results of the present invention. Such software may include, but is not limited to, device drivers, operating systems, execution environments/containers, and user applications.
  • Embodiments of the present invention can include providing code for implementing processes of the present invention. The providing can include providing code to a user in any manner. For example, the providing can include transmitting digital signals containing the code to a user; providing the code on a physical media to a user; or any other method of making the code available.
  • Embodiments of the present invention can include a computer-implemented method for transmitting the code which can be executed at a computer to perform any of the processes of embodiments of the present invention. The transmitting can include transfer through any portion of a network, such as the Internet; through wires, the atmosphere or space; or any other type of transmission. The transmitting can include initiating a transmission of code; or causing the code to pass into any region or country from another region or country. A transmission to a user can include any transmission received by the user in any region or country, regardless of the location from which the transmission is sent.
  • Embodiments of the present invention can include a signal containing code which can be executed at a computer to perform any of the processes of embodiments of the present invention. The signal can be transmitted through a network, such as the Internet; through wires, the atmosphere or space; or any other type of transmission. The entire signal need not be in transit at the same time. The signal can extend in time over the period of its transfer. The signal is not to be considered as a snapshot of what is currently in transit.
  • The forgoing description of preferred embodiments of the present invention has been provided for the purposes of illustration and description. It is not intended to be exhaustive or to limit the invention to the precise forms disclosed. Many modifications and variations will be apparent to one of ordinary skill in the relevant arts. For example, steps preformed in the embodiments of the invention disclosed can be performed in alternate orders, certain steps can be omitted, and additional steps can be added. The embodiments were chosen and described in order to best explain the principles of the invention and its practical application, thereby enabling others skilled in the art to understand the invention for various embodiments and with various modifications that are suited to the particular used contemplated. It is intended that the scope of the invention be defined by the claims and their equivalents.

Claims (23)

1. A computer based system comprising:
an inverted index for a number of documents and;
a fixed-width field array storing data associated with the documents;
wherein the system provides result data using information obtained from the fixed-width field array.
2. The computer-based system of claim 1,
wherein the fixed-width field array is memory-mapped.
3. The computer based system of claim 1,
wherein the system provides search results using information obtained from the fixed-width field array.
4. The computer based system of claim 1,
wherein the fixed-width field array has data indexed by document number.
5. The computer based system of claim 1,
wherein the inverted index and fixed-width field are part of an archive.
6. The computer based system of claim 5,
wherein certain archive updates modify the fixed-width field array without modifying the inverted index.
7. The computer based system of claim 1,
wherein the fixed-width field array stores document rank values.
8. The computer based system of claim 7,
wherein the rank values are used to order search results provided to the user.
9. The computer based system of claim 8,
wherein the rank data is combined with search relevance data to produce the order of search results.
10. A computer based search server comprising:
an archive including an inverted index for a number of documents and a fixed-width field array storing data associated with the documents;
wherein the search server provides search results using information obtained from the fixed-width field array;
wherein the fixed-width field array stores document rank data used to order the search results to the user.
11. A computer based search server of claim 10,
wherein the fixed-width field array has data indexed by document number.
12. The computer-based system of claim 10, wherein the fixed-width field array is memory-mapped.
13. A computer based search server of claim 10,
wherein certain archive updates modify the fixed-width field array without modifying the inverted index.
14. A computer based search server of claim 10,
wherein the rank values are used to order the search results provided to the user.
15. A computer based search server of claim 10,
wherein the rank data is combined with search relevance data to produce the order of search results.
16. A computer-based search system includes:
a search API accessing data in a search server, the API adapted to find documents matching a search criterion;
one or more search server archives storing document data in an inverted index, the document data in the inverted index including at least some metadata,
wherein at least some documents have at least one field that is not placed in the inverted index.
17. The computer-based search system of claim 16,
wherein the field contains values that are of a fixed width.
18. The computer-based search system of claim 14,
wherein the field data are memory-mapped in an array.
19. The computer-based search system of claim 16,
wherein the position in the array corresponds to the document number.
20. The computer-based search system of claim 16,
wherein the field is a rank value.
21. The computer-based search system of claim 20,
wherein the rank value is a search-independent rank value.
22. The computer-based search system of claim 16,
wherein the documents are searched for key terms to obtain a search-dependent rank.
23. The computer-based search system of claim 22,
wherein the search-dependent rank is combined with the search-independent rank to get an overall rank value.
US12/133,876 2007-06-08 2008-06-05 Use of fixed-width field array with inverted index Abandoned US20080306939A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US12/133,876 US20080306939A1 (en) 2007-06-08 2008-06-05 Use of fixed-width field array with inverted index

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US94295107P 2007-06-08 2007-06-08
US12/133,876 US20080306939A1 (en) 2007-06-08 2008-06-05 Use of fixed-width field array with inverted index

Publications (1)

Publication Number Publication Date
US20080306939A1 true US20080306939A1 (en) 2008-12-11

Family

ID=40096798

Family Applications (2)

Application Number Title Priority Date Filing Date
US12/133,895 Active 2029-07-26 US8019738B2 (en) 2007-06-08 2008-06-05 Use of fixed field array for document rank data
US12/133,876 Abandoned US20080306939A1 (en) 2007-06-08 2008-06-05 Use of fixed-width field array with inverted index

Family Applications Before (1)

Application Number Title Priority Date Filing Date
US12/133,895 Active 2029-07-26 US8019738B2 (en) 2007-06-08 2008-06-05 Use of fixed field array for document rank data

Country Status (1)

Country Link
US (2) US8019738B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8694507B2 (en) 2011-11-02 2014-04-08 Microsoft Corporation Tenantization of search result ranking

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090182723A1 (en) * 2008-01-10 2009-07-16 Microsoft Corporation Ranking search results using author extraction
US10394754B2 (en) 2010-03-08 2019-08-27 International Business Machines Corporation Indexing multiple types of data to facilitate rapid re-indexing of one or more types of data
CN103377240B (en) * 2012-04-26 2017-03-01 阿里巴巴集团控股有限公司 Information providing method, processing server and merging server
US10296650B2 (en) * 2015-09-03 2019-05-21 Oracle International Corporation Methods and systems for updating a search index

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050165838A1 (en) * 2004-01-26 2005-07-28 Fontoura Marcus F. Architecture for an indexer

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050165838A1 (en) * 2004-01-26 2005-07-28 Fontoura Marcus F. Architecture for an indexer

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8694507B2 (en) 2011-11-02 2014-04-08 Microsoft Corporation Tenantization of search result ranking
US9626440B2 (en) 2011-11-02 2017-04-18 Microsoft Technology Licensing, Llc Tenantization of search result ranking
US10565273B2 (en) 2011-11-02 2020-02-18 Microsoft Technology Licensing, Llc Tenantization of search result ranking

Also Published As

Publication number Publication date
US8019738B2 (en) 2011-09-13
US20080319988A1 (en) 2008-12-25

Similar Documents

Publication Publication Date Title
US9977802B2 (en) Large string access and storage
US10685017B1 (en) Methods and systems for efficient query rewriting
JP6006267B2 (en) System and method for narrowing a search using index keys
US8051045B2 (en) Archive indexing engine
US9256607B2 (en) Efficient file access in a large repository using a two-level cache
US7467163B1 (en) System and method to manipulate large objects on enterprise server data management system
US11537578B2 (en) Paged column dictionary
US8271530B2 (en) Method and mechanism for managing and accessing static and dynamic data
US20090193406A1 (en) Bulk Search Index Updates
US9959347B2 (en) Multi-layer search-engine index
US8832081B2 (en) Structured large object (LOB) data
US20150106401A1 (en) System and methods for metadata management in content addressable storage
US20060106849A1 (en) Idle CPU indexing systems and methods
US7979438B2 (en) Document management method and apparatus and document search method and apparatus
US7299404B2 (en) Dynamic maintenance of web indices using landmarks
JP2006107446A (en) Batch indexing system and method for network document
US20100274795A1 (en) Method and system for implementing a composite database
US10963454B2 (en) System and method for bulk removal of records in a database
US8019738B2 (en) Use of fixed field array for document rank data
US6625596B1 (en) Docubase indexing, searching and data retrieval
US7636710B2 (en) System and method for efficient file content searching within a file system
EP3457287A1 (en) Hierarchical virtual file systems for accessing data sets
US11144580B1 (en) Columnar storage and processing of unstructured data
US20220398235A1 (en) Method and apparatus for storing object tokens in a database
US20110029570A1 (en) Systems and methods for contextualized caching strategies

Legal Events

Date Code Title Description
AS Assignment

Owner name: ORACLE INTERNATIONAL CORPORATION, CALIFORNIA

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:BHATTACHARJEE, SHIVAJEE;PRESS, WILLIAM;REEL/FRAME:021492/0280;SIGNING DATES FROM 20080708 TO 20080904

AS Assignment

Owner name: ORACLE INTERNATIONAL CORPORATION, CALIFORNIA

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:BEA SYSTEMS, INC.;REEL/FRAME:025986/0548

Effective date: 20110202

STCB Information on status: application discontinuation

Free format text: ABANDONED -- FAILURE TO RESPOND TO AN OFFICE ACTION