Chapter 1 Solr In Action
1.1 do I need a search engine?
Chapter 1 Solr Introduction
Overview of this chapter:
· Data features processed by search engines
· Common search engine Use Cases
· Introduction to Solr core modules
· Reasons for choosing Solr
· Function Overview
W
Solr in action
Directory
Part 1 first recognized SOLR
1 Solr Introduction
2. Getting familiar with Solr
3 Solr core concepts
4. Configure Solr
5. Create an index
6. Text Analysis
Part
3.1 why SOLR?
In this section, we hope to provide some key information to help you determine whether SOLR is the right choice for your company's technical solutions. Let's start with SOLR's attraction to software architects.
3.1 SOLR in the eyes of software architects
When evaluating a new technology, software architects must consider a series of factors, inc
SOLR in action Note (2) scoring mechanism (similarity calculation) 1
This is a brief introduction to similarity calculation in search engine.
Content similarity calculation is modeled by the search engine's search model. It is the theoretical basis of the search engine and provides a mathematical model for quantitative correlation. Otherwise, it cannot be calculated. Of course, there is an idealized implici
DocumentEach document consists of one or more fields (field), each with its own type: string, text, etc. There are infinitely many types of domains in theory, because the type of a domain can consist of 0 or more analysis stages that determine how the domain is indexed.All domains have to specify a defined type.Query syntax:Requirements must appear:+ New +houseNew and HouseOptional term:New houseNew OR HouseCannot appear:New house-rentalNew house not rentalSOLR Default actions:ORSettings:? q=new
following command to start solr:
./solr start
The following logs are displayed:
[root@localhost bin]# ./solr startWaiting up to 30 seconds to see Solr running on port 8983 [-] Started Solr server on port 8983 (pid=9951). Happy searching!
Enter the./
the solr decompressed Directory:/usr/java/solr/solr-6.6.2/server/scripts/cloud-scripts
Run the following command:
./zkcli.sh -zkhost 192.168.0.102:2181,192.168.0.102:2182,192.168.0.102:2183 -cmd upconfig -confdir /usr/java/solr-cloud/solrhome1/core1/conf -confname myconf
After executing this command, you can go to the
Solr learning Summary (7) Overall Solr search engine architecture, solr Search Engine
After some efforts, I finally summarized all the solr content I know. We have discussed the installation and configuration of solr, the use of web management backend, the Query parameters
Solr learning Summary (1) Solr introduction and solr learning Summary
I have been working on Solr issues recently, researching Solr optimization, and modifying search engine bugs. In the past few days, I have finally had time to summarize and share these issues for your ref
Since SOLR is a solution to a large number of full-text indexing of data, because of the high concurrency problem, we need to consider SOLR's load balancing, SOLR provides a very easy master-slave replication configuration method, then we will configure the SOLR master-slave replicationIf we deployed the SOLR service o
SOLR and. NET Series courses (vii) SOLR master-slave replication Since SOLR is a solution to a large number of full-text indexing of data, due to the high concurrency problem, we have to consider SOLR's load balancing, SOLR provides a very simple master-slave replication configuration method, then we will configure the
Solr learning Summary (4) Solr query parameters, solr Parameters
It will not be involved today. net and database operations, mainly to summarize the Solr query parameters, or that sentence, only the basic content and query syntax of solr are clearly understood, and follow-up
. Net programmer Solr-5.3 journey (I) Solr getting started, solr-5.3solr
Reading directory
Introduction
What is Lunece?
What is Solr?
Build a JAVA environment
Variable configuration for JAVA environment setup
Simple Tomcat configuration
End
Introduction
A gentleman is born with good or false knowledge.
Java a
looking for an instance running SOLR.
- s shards> -The number of fragments is the default set of 1 splits.
-RF replicas> -The number of copies of each file in the collection. The default value is 1.
In this example, we will use the core name and the configuration directory-d parameter, the-c parameter. For all other parameters we use the default settings.Now browse SOLR's -5.0.0 \ Bin folder in the Command window and issue the following
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-
Shortly before the development of a project, need to use the SOLR, because so in the beginning to find information on the Internet, but found that most of the information is very one-sided, or just to explain how SOLR installed, or only to explain a certain part of SOLR, and a lot of information is the same, It is difficult to find a person to reprint another per
Window7
Jdk1.6.0 _ 14
Solr-4.7.2
Tomcat-6.0.37
The installation and configuration of SOLR home in SOLR mainly introduces the configuration based on JNDI. For other methods, refer to SOLR wiki.Configuration Based on JNDI
1: first create a SOLR running directory.
C: \
second use of access links to createlocalhost:8983/solr/admin/cores?action=createname=collectioninstancedir=collectionThe directory created by default is under SOLR-5.2.1/SERVER/SOLR 2. Modify the solr-5.2.1/server/solr/collectio
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. 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.