![](/img/trans.png)
[英]Is it possible to upgrade from Solr 5.x to Solr 8.x?
考慮將我們的太陽能實例從版本 5 升級到版本 8。 我使用了索引升級工具,但它不允許將版本 7 之前的索引創建升級到版本 8。 線程“主”org.apache.lucene.index.IndexFormatTooOldException 中的異常:不支持格式版本(資源 BufferedCh ...
[英]Is it possible to upgrade from Solr 5.x to Solr 8.x?
考慮將我們的太陽能實例從版本 5 升級到版本 8。 我使用了索引升級工具,但它不允許將版本 7 之前的索引創建升級到版本 8。 線程“主”org.apache.lucene.index.IndexFormatTooOldException 中的異常:不支持格式版本(資源 BufferedCh ...
[英]SOLR replication counter keeps resetting
我有一個 SOLR 主節點和幾個客戶端節點(SOLR 5.2.1)的設置; 客戶端設置為每小時復制一次。 有時,自動復制會中斷:一些節點停止獲取主索引。 我在 UI 中看到了索引版本的差異,所以它可以到達主節點。 我也可以手動啟動復制(“立即復制”有效),因此沒有磁盤空間或其他通信問題。 但它只是不 ...
[英]Apache Solr Query Parse Error during data import when using SolrEntityProcessor
當我嘗試導入 schooLocationDetails solr 核心時,出現以下錯誤。 使用 Solr 5.3.1 Exception while processing: opportunityDetails document: SolrInputDocument(fields: []):org ...
[英]how to add a new field to existing documents in solr
我在 solr 中索引了 5 個文檔。 所以現在我想在所有文檔(即 5 個文檔)中插入一個新字段。 是否可以在不重新索引所有文檔的情況下插入新字段? ...
[英]Solr Search_api_attachment failing while Indexing from drush
配置: PHP 5.6 Solr-5.5.5 RHEL7 drupal7 search_api_attachments 7.x 通過 UI 對 ndes 進行索引成功,但通過附件搜索不起作用。 通過drush sapi-i 'my_Index_name'索引時,會出現以下錯誤: 但是 Solr ...
[英]Method for converting a Document from the index into a SolrDocument suitable for inclusion in a SolrQueryResponse
努力尋找將 Document 從索引轉換為適合包含在 Solr-core-5.5.2.jar 的 SolrQueryResponse 中的 SolrDocument 的方法 solr-core-5.2.1.jar 有一個ResponseWriterUtil.toSolrDocument(Docum ...
[英]local param not working in solr 8 but working in solr 5
我正在從 solr 5.5 遷移到 solr 8. solr 5.5 的查詢看起來像 - 但是在 solr 8.0 上給出錯誤並出現錯誤 - 來自http://localhost:8080/products的服務器錯誤:org.apache.solr.fieldsearch.Syntax_1_'是一 ...
[英]Upgrade solr 4.10 index to solr 5.5
我正在嘗試將當前的solr 4.10.4安裝程序升級到solr 5.5.5。 有誰知道如何升級索引? ...
[英]Index only plain text from HTML in solr
我只需要索引 HTML 中的純文本並拒絕所有其他 HTML 標簽。 例如:我有 html 喜歡 我只想索引 body 標簽下的“標題”文本,並拒絕 solr 的_text_字段中的所有其他 HTML 標簽。 我試過<charFilter class="solr.HTMLStripCha ...
[英]in-place updates using solrJ
我正在嘗試實現文檔的就地更新。 Solr版本-5.5.2 Schema.xml- solrconfig.xml- 正在使用UpdateHandler- DirectUpdateHandler2 根據此文章,目標字段是非索引(索引=“假”),非存儲(存儲=“假”) ...
[英]Solr Suggest Component and OutOfMemory Error
我在Solr 5.5中使用了Solr建議程序組件,其中包含很多地址數據。 我的機器已為Solr分配了20Gb RAM,而機器總共有32GB RAM。 我有一個具有以下要點的通訊簿核心- 我的solrconfig.xml看起來像這樣- 處理程序的定義如下: 問題陳述 ...
[英]Achieve soft-commit programmatically
AutoSoftCommit 和 autoCommit 在 solrConfig.xml 中配置。 我可以使用 Java 在我的應用程序級別配置這些設置嗎? 我想知道的是,我可以使用 SolrJ 庫配置 autoSoftCommit 和 autoCommit 嗎? 我問這個問題的原因是,應用 ...
[英]How to create solr core in Dockerfile and may the local directory to container /opt/solr directory
我正在使用以下docker-compose.yml和Dockerfile構建solr容器 docker-compose.yml Docker文件 但是無法使用以下錯誤構建容器 錯誤:服務“ solr”生成失敗:命令“ / bin / sh -c solr crea ...
[英]Solr remove quotes from multivalued value or update at once
我已使用CURL命令將數據索引到我的SOLR核心,其中數據為CSV格式。 該命令為curl 'http://localhost:8983/solr/my_collection/update?commit=true' --data-binary @my_docs.csv -H 'Content- ...
[英]Does solr by default creates or .cfs segment file or is it based on the config?
我是否懷疑我是否在Linux機器上運行solr 5.2.1,當我檢查索引數據目錄中的段文件時,我在https://lucene.apache中看到了很多.cfs文件(這是復合文件段)的更多詳細信息。 .org / solr / guide / 6_6 / indexconfig-in-solrc ...
[英]Solr - Java heap space tuning for Sitecore
在我們的Sitecore 8.2安裝中,我們使用Solr 5.1.0作為索引系統。 最近,我們遇到了一些類似這樣的問題: [sitecore_analytics_index] org.apache.solr.common.SolrException; org.apache.solr ...
[英]Moving existing Solr to new machine
G'Day。 提前致歉,直到幾周前我才聽說過Solr! 我正在寫一個新系統。 為此,我需要在VM中運行舊系統,以便可以看到應用程序功能的優點。 我已經在運行數據庫,簡單。 我已經安裝並正在運行Solr 5.5.4。 我知道那是舊的,但是我得知該應用程序依賴於Solr的年份。 我 ...
[英]relevance by keyword solr
如何根據關鍵字的位置對查詢結果進行排序? 我僅在標簽字段開始搜索 當我有 solr搜索查詢titi 蒂蒂測試傾斜 多多 我們應該設置什么參數來恢復該訂單? 蒂蒂測試傾斜 多多 solr搜索查詢titi 我使用Drup ...
[英]Solr: different sort result between 2 core
我有Solr的這2個核心,一個叫做目錄,另一個叫做special_page。 它包含來自同一數據庫的數據,區別在於目錄包含的字段比其他目錄多(目錄在solr 5中是特殊的,在solr 4中是特殊的,是不同的solr版本)。 問題是,當我必須對這些特定數據進行排序時,例如。 id為1的s ...
[英]RSolr::Error::Http - 500 Internal Server Error
我正在升級solr 5.3.1,當我在semaphoreci上運行specs時出現以下錯誤 RSolr :: Error :: Http:RSolr :: Error :: Http - 500內部服務器錯誤錯誤:{msg = SolrCore'default'由於init失敗而無效: ...