pears.IXSResult
Generated schema reference. Regenerate this page from the SQL unload; keep hand-maintained business notes in the narrative namespace.
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 | 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
-- 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