Show pageOld revisionsBacklinksExport to PDFFold/unfold allBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== pears.IXSResult ====== <WRAP center round info> Generated schema reference. Regenerate this page from the SQL unload; keep hand-maintained business notes in the narrative namespace. </WRAP> ===== Description ===== Used for temporarily storing Index Server search results. ===== Columns ===== ^ Column ^ Type ^ Null ^ Default ^ Comment ^ | **IXSQueryID** | char(20) | NOT NULL | | | | **RecordID** | char(20) | NOT NULL | | | | Score | integer | NULL | | | | HitCount | integer | NULL | | | | Rank | integer | NULL | | | ===== Primary Key ===== * IXSQueryID, RecordID ===== Foreign Keys ===== ^ Constraint ^ Columns ^ References ^ Delete/update action ^ | IXSStatus | IXSQueryID | [[database:tables:pears_ixsstatus|pears.IXSStatus (IXSQueryID)]] | NOT NULL; ON DELETE CASCADE | ===== Referenced By ===== * No incoming foreign keys found. ===== Indexes ===== ^ Name ^ Type ^ Columns ^ Detail ^ | IXSResultRecID | Unique index | RecordID, IXSQueryID | | ===== Triggers ===== * No triggers found. ===== Original SQL ===== <code sql> -- IQX database structure split by table -- Source: IQXDatabaseStructure - with comments.sql -- Table: "pears"."IXSResult" -- Table comment: Used for temporarily storing Index Server search results. -- Statement count: 4 CREATE TABLE "pears"."IXSResult" ( "IXSQueryID" char(20) NOT NULL ,"RecordID" char(20) NOT NULL ,"Score" integer NULL ,"HitCount" integer NULL ,"Rank" integer NULL ,PRIMARY KEY ("IXSQueryID" ASC,"RecordID" ASC) ) go COMMENT ON TABLE "pears"."IXSResult" IS 'Used for temporarily storing Index Server search results.' go ALTER TABLE "pears"."IXSResult" ADD NOT NULL FOREIGN KEY "IXSStatus" ("IXSQueryID" ASC) REFERENCES "pears"."IXSStatus" ("IXSQueryID") ON DELETE CASCADE go CREATE UNIQUE INDEX "IXSResultRecID" ON "pears"."IXSResult" ( "RecordID","IXSQueryID" ) go </code> database/tables/pears_ixsresult.txt Last modified: 2026/08/07 19:24by 127.0.0.1