1. 程式人生 > >solr7.2.1自帶jetty的搭建

solr7.2.1自帶jetty的搭建

start -e cloud Welcome to the SolrCloud example! This interactive session will help you launch a SolrCloud cluster on your local workstation. To begin, how many Solr nodes would you like to run in your local cluster? (specify 1-4 nodes) [2]: Ok, let's start up 2 Solr nodes for your example SolrCloud cluster. Please enter the port for node1 [8983]: [回車] Please enter the port for node2 [7574]: [回車] Creating Solr home directory /usr/local/solr-7.2.1/example/cloud/node1/solr Cloning /usr/local/solr-7.2.1/example/cloud/node1 into /usr/local/solr-7.2.1/example/cloud/node2 Starting up Solr on port 8983 using command: "/usr/local/solr-7.2.1/bin/solr" start -cloud -p 8983 -s "/usr/local/solr-7.2.1/example/cloud/node1/solr" WARNING: Starting Solr as the root user is a security risk and not considered best practice. Exiting. Please consult the Reference Guide. To override this check, start with argument '
-force' ERROR: Failed to start Solr using command: "/usr/local/solr-7.2.1/bin/solr" start -cloud -p 8983 -s "/usr/local/solr-7.2.1/example/cloud/node1/solr" Exception : org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1) [[email protected] bin]# ./solr start -e cloud -force Welcome to the SolrCloud example! This interactive session will help you launch a SolrCloud cluster on your local workstation. To begin, how many Solr nodes would you like to run in your local cluster? (specify 1-4 nodes) [2]: [回車] Ok, let'
s start up 2 Solr nodes for your example SolrCloud cluster. Please enter the port for node1 [8983]: [回車] Please enter the port for node2 [7574]: [回車] Solr home directory /usr/local/solr-7.2.1/example/cloud/node1/solr already exists. /usr/local/solr-7.2.1/example/cloud/node2 already exists. Starting up Solr on
port 8983 using command: "/usr/local/solr-7.2.1/bin/solr" start -cloud -p 8983 -s "/usr/local/solr-7.2.1/example/cloud/node1/solr" -force Waiting up to 180 seconds to see Solr running on port 8983 [\] Started Solr server on port 8983 (pid=8058). Happy searching! Starting up Solr on port 7574 using command: "/usr/local/solr-7.2.1/bin/solr" start -cloud -p 7574 -s "/usr/local/solr-7.2.1/example/cloud/node2/solr" -z localhost:9983 -force Waiting up to 180 seconds to see Solr running on port 7574 [|] Started Solr server on port 7574 (pid=8251). Happy searching! INFO - 2018-02-19 21:43:23.535;
org.apache.solr.client.solrj.impl.ZkClientClusterStateProvider; Cluster at localhost:9983 ready Now let's

相關推薦

偽分散式Zookeeper+solr7.2.1jetty容器叢集搭建

搭建環境 zookeeper 3.4.11 solr7.2.1 jdk 8 Zookeeper叢集搭建 zookeeper解壓 建立cloud把zookeeper向/usr/local/cloud目錄下複製三份 zooke

solr7.2.1jetty搭建

start -e cloud Welcome to the SolrCloud example! This interactive session will help you launch a SolrCloud cluster on your local workstation. To begin, h

搜尋引擎solr7.2.1+Jetty 分詞及定義擴充套件詞庫的配置

分詞我理解的是,輸入的一句話,按照它自己定義的規則分為常用詞語。首先,Solr有自己基本的型別,string、int、date、long等等。  對於string型別,比如在你的core/conf/manage-schema檔案中,配置一個欄位型別為string型別,如果查詢

solr7.2.1--下載和tomcat8下搭建 轉載

注意:在訪問solr的時候 一定是 http://localhost:8090/solr/index.html/ 一定要帶上index.html, http://localhost:8090/solr/這樣會報404

solr7.2.1--下載和tomcat8下搭建

一、官網下載 (2)進入官網 (3)客官,選一個吧 (4)等待下載完畢(檔案還不小,哈哈,這還只是個開始.....) (5)下載解壓後,將資料夾拷貝☞本地D盤下 bin : Windows及Linux下的可執行檔案 contrib:

Lucene 7.2.1 定義Analyzer和TokenFilter

oge close protect .get one AC put stand hash 1.自定義Analyzer: import com.dys.lucene.filter.SameWordTokenFilter; import org.apache.lucene.a

.net Core 2.1 MVC+EF+Redis搭建

文件 dds cookie exception reg direct mvc+ef microsoft encoding 官方學習資料 搭建空MVC框架 1.創建一個空模板 2.創建文件夾 Controllers、Models、Views 3.在Contro

H5表單驗證2(h5驗證美化)

h5自帶驗證美化:要做出不一樣的表單驗證,我們要了解一些偽類及css選擇器。 :required和:optional :in-range和:out-of-range :valid和:invalid :read-only和:read-write //:required和

ArcGIS10.2Python2.7安裝擴充套件庫

安裝相關模組: 主要採用的是:pip install 檔案全稱.whl 的形式進行安裝。 相關擴充套件包下載地址: 其他關聯的模組,主要有pyparsing、matplotlib、openpyxl、setuptools、numpy、six、dateutil,直接在該網站中搜索下載對應版本即可。將擴充套件包放入

solr7.2.1整合ansj分詞器

       最近剛離職,為了儘快找到好的工作,不敢不好好學習,查漏補缺。之前的工作滿打滿算做了11個月,主要內容是搜尋業務介面的開發,主要使用的是solr引擎,工作期間由於忙於業務並沒有對solr的基礎進行過仔細的學習,這兩天先從solr

ubuntu 14.04下安裝cmake 3.2.2版本2.8.2

Either use a PPA or compile it yourself: Installation by a PPA (Upgrade to 3.2) sudo apt-get install software-properties-common sudo add-apt-repository p

opencv3.1demo的介紹和執行操作。

3calibration.cpp 三個相機的標定,沒有三個相機,所以沒測試 autofocus.cpp 自動對焦,沒有這種相機,沒測試 bgfg_segm.cpp   混合高斯模型的前景背景分割 camshiftdemo.cpp camshift跟蹤,預設開啟攝像頭,滑鼠選中一個物體即可跟蹤 calibrat

quartz 2.2.3 示例原始碼解讀example1~example5

Example1 第一個quartz示例 public class HelloJob implements Job { private static Logger _log = LoggerFactory.getLogger(HelloJob.class); p

測試回顧版-第十一講:Loadrunner8.1訂票系統指令碼實戰1

1:訂票 vuser_init,錄製登陸 action,一個完整的訂票流程 vuser_end,退出 具體 vuser_init 自動關聯sessionID,設定兩個事務,開啟網頁,登陸 /* ---------------------------------------

Linux下安裝Solr7.2.1以及配置Solr(CentOS7)

安裝Solr 1、下載Solr 2、上傳solr的安裝包     solr-7.2.1.tgz 3、解壓縮solr安裝包     tar -xvf solr-7.2.1.tgz -C /usr/local/ 4、進入solr解壓目錄,修改目錄名稱     c

MacApache搭建PHP開發環境(一)phpinfo

命令列: 開啟apache服務:sudo apachectl start  停止apache服務:sudo apachectl stop 重啟服務:sudo apachectl restart 檢視版

opencv3.1demo的介紹和執行操作

下列實驗基本都試過,有些需要根據自己的電腦修改一些路徑或者除錯引數.        值得注意的是,控制檯程式輸入有時候要在影象所在的視窗輸入相應的指令。我的電腦上安裝了vs2013和2015. vs2015+opencv3.1/2.4.9在我的電腦上經常有這個錯誤:xx

2.1 使用eclipse4.4 搭建 maven簡單結構專案。

1.前言 1.本部落格面向初級開發者。 2.本部落格為系列部落格,《1.X》系列為伺服器資料庫相關技術,前幾章為簡單搭建linux+tomcat+mysql+nginx+redis、《2.X》為java後臺技術前幾章為搭建mevan+springmvc4+m

Hive總結(一)Hive 2.1.0本地模式搭建教程

零.前言 Apache Hive是基於Hadoop的一個數據倉庫工具,可以將結構化的資料檔案對映為一張資料庫表,並提供簡單的SQL查詢功能,可以將SQL語句轉換為MapReduce任務進行執行。 其優點是學習成本低,可以通過類SQL語句快速實現簡單的MapRe

MacApache搭建PHP開發環境(三)PHP和MySQL統一utf8卻亂碼

1.新建查詢: 通過資料庫命令列或視覺化介面新建查詢: show variables like '%char%'; 如果看到查詢結果的value均為latin1,則繼續進行下面操作,否則繼續排查其它原因 2.檔案拷貝: 關閉資料庫服務 命令列open /usr/local/