SOLR Database Import1. Create a table T_SOLR in MySQL and insert the test data.2, put E:\Solr\solr-4.10.4\example\example-DIH\solr\db\conf under the admin-extra.html, Admin-extra.menu-bottom.html,admin-extra.menu-top.html three files are also copied to the Conf.Open the E:\
1.Unzip the downloaded SOLR to D:\SOLR and copy the D:\solr\solr-4.10.2\example\webapps\solr.war to the Tomcat webapps\ directory. Unzip the Solr.war directly or start the Tomcat decompression Solr.war2.Create a new D:\solr\data directory, copy the D:\
1. Decompress SOLR[[Email protected] TMP] Tar-zxvf solr-4.7.0.tgz2. Move the SOLR package to the OPT directory:[[Email protected] TMP] Music/tmp/solr-4.7.0/opt/SOLR3. Copy SOLR. War in exmaple/webapps to Tomcat[[Email protected] TMP] makdir-P/opt/tomcat/webapps[[Email protec
Today, we collected some information about the spelling checker and tried to use the spelling checker.--= encountered a lot of problemsFour configurations for spell checking now I'm just a success, half of it.---------------------------------The spell checker feature provides a better user experience when searching, so the main search engine has this feature. Before this, I would like to briefly say what is the spelling checker, in fact, very good understanding, is that you enter the search term
I. SOLR learning materials
1. Official Materials
(1) Quick Start: getting started.
(2) API: http://lucene.apache.org/solr/4_9_0/index.html
(3) Reference: format, apache-solr-ref-guide-4.9.pdf
2. Books
(1) SOLR in action, based on version 4.7, is strongly recommended. This book is suitable for learning, and the of
errors caused SOLR to return an error page instead of the result of index success.
Where the above HTML code is formatted after rendering:
HTTP Status 405-http method POST is not supported by this URL
Type Status Report
Message HTTP method POST is not a supported by this URL
Description The specified HTTP method is not a allowed for the requested resource. Apache tomcat/7.0.54 Workaround:
After using Tomcat to deploy
solrHome, and create a solr. xml file. The configuration is as follows:Copy codeThe Code is as follows: The adminPath file is shown in the Code. It is best not to change it. The name in the core is random. It is best to have some practical significance, instanceDir. The directory of the core is specified here, and merchant is configured here, it means the merchant directory under solrHome.Here I will explain the multi-core configuration. Here I only
One, SOLR study related information
1. Official materials
(1) QuickStart: http://lucene.apache.org/solr/4_9_0/tutorial.html, with its own example project, provides a quick introduction to the basic use of SOLR.
(2) api:http://lucene.apache.org/solr/4_9_0/index.html
(3) reference:pdf format, apache-
Document the SOLR environment Setup, based on SOLR 4.6.0.First, configure TomcatDownload Tomcat 7.0. Create a new SOLR folder and unzip the tomcat to the SOLR directory:-zxvf apache-tomcat-7.0.69.To start Tomcat:startAccess the 8080 port test.Ii. Configuration of SOLRsolr:http://archive.apache.org/dist/lucene/
SOLR is equipped with a word breaker, but the word breaker has a filter with uppercase converted to lowercase, and the number is filtered. Like 123 Chinese ABC. 123 will be filtered out, so only check 1|12|123 will fail."SOLR numeric characters can not search for a problem" this blog post is more detailed, I am studying this article.According to the account to search, when the account in the database is an
a multi- core environment, you can access a core named mbartists in the following ways:Http://localhost:8080/solr/core0/select?q=dave%20matthews Instead of introducing the parameter name value pairs for the core name in the URL, a different contextis used. This allows you to perform your administrative tasks, search, and update operations like in single core . How to configure Multicore1, find the example folder in
Installation:
Jetty:
Modify SOLR. xml
Copy SOLR. XML to
Copy Jetty. XML, webdefault. XML, logging. properties from
Copy schema. XML, solrconfig. XML, SOLR. XML etc to
For multi-core Configuration
In SOLR. xml:
Copy schema. XML, solrconfig. XML to
Modify/etc/default/jetty file, add-dsolr.
Tags: style HTTP color OS Io strong File View the status of all cores Example Http: // 172.1663.233: 8983/SOLR/admin/cores? Action = Status View the status of a core Http: // 172.1663.233: 8983/SOLR/admin/cores? Action = Status core = collection3 Create a core You must provide the corename, instance path, config configuration, schema file, and data directory, Instancedir must be
of self-brought. Ii. SOLRConfigurationNew core:You can do this by opening the Web interface above. Click on the core admin menu to access the core management interface. Click the , prompting for a configuration file. So let's create a new folder called "Test" under the path to \SOLR-5.0.0\SERVER\SOLR. To the Solr-5.0.0\server\
, JDK1.7Integration steps1: Unzip the downloaded IK analyzer_2012_ff_hf1.zip compression package and copy the Ikanalyzer2012ff_u1.jar to Solr-4.10.4/example/solr-webapp/webapp/web-inf Under the/lib directory2: Create the directory classes under the Solr-4.10.4/example/solr-webapp/webapp/web-inf directory, Then copy the
: Extract "Solr-4.9.1.zip" to the "C:\NutchWorkPlat" directory and Name "SOLR".2.1.2 The second step: rename "Apache-solr-4.9.1.war" under "C:\NutchWorkPlat\solr\dist" to "Solr.war" and put it in "C:\NutchWorkPlat\tomcat\ WebApps "directory below. 2.1.3 Step Three: Modify the Tomcat configuration file "C:\NutchWorkPlat
follow the release
Zookeeper zookeeper-3.4.11Launch a standalone Tomcat see the previous article to build Solrcloud overall Solrcloud structureZookeeper ConfigurationAfter extracting the file as follows
Rename the zoo_sample.cfg under Conf to Zoo.cfg, modify the DataDir for the newly created Data folder, note that the path here is a forward slash, and the Windows default is not the sameTomcat ConfigurationNote: Because I am here in the same machine t
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.