friendica-github/doc/database/db_post-searchindex.md

34 lines
1.3 KiB
Markdown
Raw Normal View History

2024-01-17 21:10:33 +00:00
Table post-searchindex
===========
Content for all posts
Fields
------
| Field | Description | Type | Null | Key | Default | Extra |
| ---------- | --------------------------------------------------------- | ---------------- | ---- | --- | ------- | ----- |
| uri-id | Id of the item-uri table entry that contains the item uri | int unsigned | NO | PRI | NULL | |
| network | | char(4) | YES | | NULL | |
| private | 0=public, 1=private, 2=unlisted | tinyint unsigned | YES | | NULL | |
| searchtext | Simplified text for the full text search | mediumtext | YES | | NULL | |
2024-01-21 16:39:28 +00:00
| created | | datetime | YES | | NULL | |
2024-01-17 21:10:33 +00:00
Indexes
------------
| Name | Fields |
| ---------- | -------------------- |
| PRIMARY | uri-id |
2024-01-21 16:39:28 +00:00
| created | created |
2024-01-17 21:10:33 +00:00
| searchtext | FULLTEXT, searchtext |
Foreign Keys
------------
| Field | Target Table | Target Field |
|-------|--------------|--------------|
| uri-id | [item-uri](help/database/db_item-uri) | id |
Return to [database documentation](help/database)