![](/img/trans.png)
[英]Sphinx search SQl to get exact word
我在表格中的關鍵字列看起來像dog,dogs,dog and cat,dogs and cats 這是一個逗號分隔的單詞我現在已經嘗試獲取准確的詞,並且像這樣的查詢返回了我的結果,但不是我需要的,實際上它們匹配所有這些但我只需要在這個例子中獲得dog,在哪里的帖子 ID。 SELECT id FRO ...
[英]Sphinx search SQl to get exact word
我在表格中的關鍵字列看起來像dog,dogs,dog and cat,dogs and cats 這是一個逗號分隔的單詞我現在已經嘗試獲取准確的詞,並且像這樣的查詢返回了我的結果,但不是我需要的,實際上它們匹配所有這些但我只需要在這個例子中獲得dog,在哪里的帖子 ID。 SELECT id FRO ...
[英]Facet a Mutli-value(MVA) type field in sphinx
我在獅身人面像中執行了以下查詢, 我得到的是, 我想獲取 MVA_FIELD 中每個 ID 的計數。 例如,我只想要 0, 4, 13, ... 每個 id 的計數。 如何做到這一點? ...
[英]Order manticore/sphinx results by full text field alphabetically
我有一個具有以下配置的 manticore 索引:index book_archive { type = rt path = /book_archive rt_field = title rt_field = author charset_table = no ...
[英]sphinx, how correctly create sql_query for many joins
我有數據庫和相關表: user cars_posts userId -> FK for user.id user_cars userId -> FK for user.id categories makes models generations 我有這個 sql_query: 此查詢的 ...
[英]sphinx get MVA attribute count for each value group by the same MVA attribute
我試圖在 sphinx 2.2.10 上獲取 MVA 的計數問題是我在同一個表上有 2 個查詢,在嘗試運行它們時給了我不同的計數這里是查詢: 請注意, lang_skill_lvl 是 MVA,而 table_name 是兩個查詢的同一張表。 如果您嘗試獲取值 8001,8002,8003,8004 ...
[英]In several places, there is an instruction to "spin up a real AWX server". What does that mean?
在“官方”文檔和 Internet 上的其他地方,有“啟動 AWX 服務器”或“啟動真正的 AWX 服務器”的說明,但沒有說明如何實際執行此操作。 這是安裝 sphinx 的先決條件,但不清楚為什么會這樣。 注意:這是一個 AWX 服務器,又名塔,不是亞馬遜提供的服務。 這種區別使搜索引擎感到困惑 ...
[英]How to Add OR Condition in Laravel Sphinx query?
我正在使用fobia/laravel-sphinx包並想添加一個條件,如city != 0 or state != 0但or條件不起作用並給出 tjis 錯誤: “語法錯誤或訪問沖突:1064 sphinxql:語法錯誤,意外 OR,期望 $end 接近 'or ” 它使用\Fobia ...
[英]Does Sphinx index capital letters as the beginning of a word? If so what setting can over-ride this?
我剛剛在搜索iOS為IOS時發現了一個問題,但沒有找到。 所以我測試了其他詞,例如Market 。 它由Market和MARKET甚至MARKEt 。 它打破的地方是如果我制作任何其他字母大寫,即Camel Case : mArket ,'MarKet' 等。 iOS工作的唯一原因是它在我的co ...
[英]Problem with sphinx search when searching by second word in phrase
我有一個 sphinx 索引設置,其中包含一個包含以下數據的字段: 當我搜索“James”或“James Smi”時,它會返回正確的結果,但當我搜索“James S”時,它不會返回任何結果。 我還有一個實時索引 (RT),其中包含相同的數據,我能夠搜索“James S”並返回正確的結果。 這是我在主 ...
[英]How to use new RT index with existing large MySQL table with Sphinx / Manticore?
我有一個大 (200Gb) MySQL 表,它隨着新行不斷增長。 是否可以在 Manticore 中創建一個 RT 索引並用該表中的現有數據填充它? 或者是否可以使用新的charset_table更改現有的 RT 索引並可以搜索所有表數據,現在僅在更改索引后添加? ...
[英]How to search terms containing slash ("/") with Sphinx / Manticore?
我正在嘗試查找術語“/book”的匹配項,而不僅僅是“book”,但 Manticore 為這兩個術語返回相同的結果。 索引類型是 rt 並且charset_table包括斜杠(“/”)。 我怎樣才能只獲得“/book”匹配項? ...
[英]Manticore PHP PDO | Communication link failure: 1047 unknown command (code=22)
重新啟動服務器(Centos7)后,我似乎無法再使用 MySQL 連接到 Manticore。 現在搜索了幾個小時並嘗試了很多東西,到目前為止沒有任何效果。 請求 searchd 的狀態會給出有關要指定的端口的錯誤,盡管它是在 conf 文件中指定的。 有人有線索嗎? manticore.con ...
[英]Sphinx and RST: How to move caption BELOW table, just like in figures and other clever things?
我創建了一個帶有指令的網格表: 這是結果: 最大的問題是如何移動標題表 1:表格下方的電源連接器,有什么技巧嗎? 我敢肯定有,只是請不要深入挖掘 Sphinx 的源代碼,給我一些簡單的角色或可以做到的東西(CSS 或其他東西),理想情況下,像:align:這樣的內置角色:align: 對 ...
[英]MariaDB SphinxSE not accepting weights parameter
如果我嘗試這個查詢: 有用。 但是如果我嘗試給它權重,它會返回一個錯誤: 因錯誤而失敗: (MariaDB 報告的錯誤在那里被截斷,但我相信它說“期望為 0”) 和: 因錯誤而失敗: (同樣,SphinxSearch 返回的錯誤會被 MariaDB 截斷) 我找到的關於 ...
[英]Sphinx 2.3 to Sphinx 3.1 conversion
我有一個 sphinx 的數據源配置文件,其中包含以下代碼 此配置文件是使用 sphinx 2.3 規則制作的。 我想根據 sphinx 3.1 轉換腳本。 此轉換需要進行哪些更改? 我訪問了http://sphinxsearch.com/docs/sphinx3.html#sphinx-3以供參考 ...
[英]Sphinx Search returns less result as compared to MySql LIKE
當我嘗試簡單的 MySql 查詢時 它從我的數據庫中返回 278 條記錄,當我像這樣通過 Sphinx 搜索時 它只返回 112 條記錄。 有沒有辦法在 Sphinx 中獲得與 MySql 查詢相同的記錄? ...
[英]Geodist with where or match
我需要將這 2 個查詢合二為一,並按 ID 排序, 和 我使用 Manticore 3.6.0。 我不能像這樣使用 OR 語句 我也嘗試這樣: 而且也不工作。 還有其他選擇嗎? ...
[英]syntax error when importing django-sphinxsearch
我正在嘗試運行標准的 django 遷移命令,例如,python3 manage.py makemigrations,並且在使用 sphinxsearch 進行模塊導入時不斷出現語法錯誤。 我知道它已被棄用,但不幸的是,我正在對該站點進行少量添加,但目前還無法遷移到 elasticsearch。 ...
[英]Sphinx fails to reindex on Heroku
我有一個使用以下內容的 Rails 應用程序:Sphinx 2.2.11-id64-release (95ae9a6) Thinking Sphinx 4.4.1 Flying Sphinx 1.2.0 目前,我能夠成功地在開發中重新索引(rake ts:rebuild)。 當我這樣做時,我看到它生 ...
[英]What shall I use for full text search and fuzzy search on a social network django site with a postgresql database?
所以,我一直在為我的新 django 項目尋找一個搜索引擎,該項目有一個 postgresql 數據庫,我最終得到了 elasticsearch 和 sphinx。 我選擇了第二個,因為我認為如果你在很多帖子中搜索,你需要一個快速搜索,它使用更少的 memory,但是在查看了 sphinx 的實現 ...