- [關于搜索功能的 FAQ](#)
- [Office/PDF 文檔預覽 FAQ](#)
### 關于搜索功能的 FAQ
-
無論我怎樣嘗試,加密資料庫中的文件都不會出現在搜索結果中
這是因為服務器不能索引加密文件,因為它們是加密的。
-
我從社區版服務器切換到專業版服務器后,無論我搜索什么,都不會得到結果
默認情況下,搜索索引每 10 分鐘更新一次。所以,在第一次索引更新前,無論您搜索什么都不會返回結果。
為了使搜索能夠立即生效,您可以手動更新索引:
- 確保您已經啟動了 Seafile 服務器
-
手動更新搜索索引:
~~~
cd haiwen/seafile-pro-server-2.1.5
./pro/pro.py search --update
~~~
如果您的文件很多,這個過程會花費很長一段時間。
-
我想啟用對 office/pdf 文檔的全文搜索功能,所以我在配置文件中將 `index_office_pdf` 的值設置為 `true`,但它沒起作用。
在這種情況下,您需要做以下幾步:
1. 編輯 `/data/haiwen/pro-data/seafevents.conf` 文件,將 `index_office_pdf` 的值設置為 `true`
1. 重啟 Seafile 服務器:
~~~
cd /data/haiwen/seafile-pro-server-2.1.5
./seafile.sh restart
~~~
1. 刪除已經存在的搜索索引:
~~~
./pro/pro.py search --clear
~~~
1. 創建并且再次更新搜索索引:
~~~
./pro/pro.py search --update
~~~
### Office/PDF 文檔預覽 FAQ
### 怎么修改可預覽最大文件大小和頁面數?
在 `/data/haiwen/pro-data/seafevents.conf` 中的 `OFFICE CONVERTER` 配置部分添加配置選項
~~~
# the max size of documents to allow to be previewed online, in MB. Default is 2 MB
max-size = 2
# how many pages are allowed to be previewed online. Default is 50 pages
max-pages = 50
~~~
然后重啟 Seafile 服務
~~~
cd /data/haiwen/seafile-pro-server-1.7.0/
./seafile.sh restart
./seahub.sh restart
~~~
- 介紹
- 概覽
- Seafile 組件
- 研發路線圖
- 常見問題解答
- 修改日志
- 我要參與
- Linux 下部署 Seafile 服務器
- 部署 Seafile 服務器(使用 SQLite)
- 部署 Seafile 服務器(使用 MySQL)
- Nginx 下配置 Seahub
- Nginx 下啟用 Https
- Apache 下配置 Seahub
- Apache 下啟用 Https
- Seafile LDAP 配置
- 開機啟動 Seafile
- 防火墻設置
- Logrotate 管理系統日志
- 使用 Memcached
- 使用 NAT
- 非根域名下部署 Seahub
- 從 SQLite 遷移至 MySQL
- 安裝常見問題
- 升級
- Windows 下部署 Seafile 服務器
- 下載安裝 Windows 版 Seafile 服務器
- 安裝 Seafile 為 Windows 服務
- 所用端口說明
- 升級
- 從 Windows 遷移到 Linux
- 垃圾回收
- 部署 Seafile 專業版服務器
- 下載安裝 Seafile 專業版服務器
- 從社區版遷移至專業版
- 升級
- Amazon S3 下安裝
- OpenStackSwift 下安裝
- Ceph 下安裝
- 配置選項
- 文件搜索說明
- 集群部署
- 集群中啟用搜索和后臺服務
- NFS 下集群安裝
- 常見問題解答
- 軟件許可協議
- 服務器個性化配置
- ccnet.conf
- seafile.conf
- seahub_settings.py
- 發送郵件提醒
- 個性化郵件提醒
- 用戶管理
- 存儲容量與文件上傳/下載大小限制
- 自定義 Web
- 管理員手冊
- 賬戶管理
- 日志
- 備份與恢復
- Seafile FSCK
- Seafile GC
- WebDAV 和 FUSE 擴展
- WebDAV 擴展
- FUSE 擴展
- 安全選項
- 安全特性
- 日志和審計
- 開發文檔
- 編譯 Seafile
- Linux
- Windows
- Max OS X
- Server
- 開發環境
- 編程規范
- Web API
- Python API
- 數據模型
- 服務器組件
- 同步算法