Http://ayueer.spaces.live.com/blog/cns! 9e99e1260983291b! 1338. The entry uses SOLR to build a Chinese search application
To build a small search application, the data source already exists in MySQL. The previous version uses MySQL like. This upgrade requires enhanced scalability and performance, add some features.
There are several options available,
1. ext
-analysis.jar to Tomcat webapps/solr/web-inf/lib/.
3 "Change the Schema.xml file to make the word breaker work. If you've seen the previous article, Schema.xml's location is below c:/solr-tomcat/solr/conf/.
Change content to:
XML code
··· ······ ···
4 "Restart your tomcat, OK.
Report:
[SOLR word order]
, and when some nodes fail, they are automatically assigned other nodes to work instead.
Disadvantages
There is only one developer (the current Elasticsearch GitHub organization is more than that, already has a fairly active maintainer)
Not enough automatic (not suitable for the current new index warmup API)
About SOLRSOLR (read as "solar") is an open source enterprise search platform
SOLR is based on SOLR to achieve a better site search scalability and reduce the workload of programmers, because SOLR provides a more comprehensive search engine solutions, so in portals, forums and other systems commonly used in this scenario. Provides a complete cluster s
Overview:There is often a need to query for certain content when developing a website. If you do a search based on a database query, the efficiency is often very bad because you want to do fuzzy matching on multiple fields. In this case, SOLR can be used to improve the efficiency of the search. SOLR is a stand-alone en
SOLR
1. Solr server setup
LJava environment setup
Download linux JDK 6 from this website:
Http://java.sun.com/javase/downloads/index.jsp
After installing JDK, edit/ect/profile, add these code to the end of the file
JAVA_HOME =/usr/java/jdk1.6.0 _ 16
PATH = $ JAVA_HOME/bin: $ PATH
CLASSPATH =.: $ JAVA_HOME/lib/dt. jar: $ JAVA_HOME/lib/tools. jar
Export JAVA_HOME
Export PATH
Export CLASSPATH
/Usr/java/jdk1.
-text Search server written in Java that runs in a servlet container such as Apache Tomcat or jetty. SOLR uses the Lucene Java Search Library as the core of full-text indexing and searching, and has a rest-like Http/xml and JSON API. SOLR's powerful external configuration makes it possible to adapt to multiple types of
Provided based on the Lucene search engine and open-source with Apache Software License license. SOLR is (based on the Lucene site) "an open-source enterprise search Server Based on Lucene Java Search Library, with XML/HTTP and JSON APIs, highlighted hit results, and face-to-face combination
The last article briefly introduces the application of lucid, And now analyzes the LWE-CORE
Lucidworks enterprise can be used for free, but not open source, understand the structure of this SOLR-based application is of great help, lucidworks enterprise SOLR-based application called LWE-CORE
Last full text search (SOLR
Use SOLR to quickly implement full-text search for Django. Http://fzuslideblog.appspot.com/2010/03/25/django_solr_search.htmlsource address
Django does not provide full-text search, but there are many options for adding full-text search to Django. You can use sphinx, Lucene, xapian, and so on. Here we use Lucene-based
Tags: mongodb solr search engine ubuntu JSONEnvironment: Ubuntu 12.04 Solr 5.1.0 MongoDB db version:v2.0.4 1. SOLR Configuration and MongoDB installationSOLR installation configuration is now very simple, refer to the Official document: Http://lucene.apache.org/solr/quick
Integrates PHP applications and Solr search engines. Why do you need a search engine? Is database alone insufficient? If you only create a small website, the database is enough. But when you create a neutral or large application, the search engine is more clear why do you need a se
Using solr in. net to improve search efficiency (getting started). netsolrOverview:
When developing a website, you often need to query certain content. In this case, if the search function is based on the database query, the efficiency is often very poor because Fuzzy Matching is required for multiple fields. In this case, So
SOLR uses the Lucene search library as the core, provides full-text indexing and search for open source enterprise platforms, provides rest of the Http/xml and JSON APIs, and if you're new to SOLR, get started with me! This tutorial takes solr4.8 as a test environment, and the JDK version requires version 1.7 and later
Enter keywords in the search box to search for keyword-related keyword records from MongoDB.The user selects one of the relevant keywords as the last keyword to query data from SOLR.1 CREATE INDEX: Check all records from SQL Goodsinfo table, SOLR. AddRange (); Solr.commit () to create an index2 client searches in SQL t
SOLR Introduction to Enterprise-Class search engine
SOLR is an independent enterprise-class search engine server and provides API interfaces similar to the Web-service. Documents can be put into an indexed library in XML format through the HTTP protocol. Also receives XML
SOLR is an open-source Enterprise Search Service Based on luncene. It provides a package and ready-to-use solution [using luncene integration requires processing index management, analyzer, and other issues, self-implementation is still relatively troublesome] SOLR provides a lot of auxiliary functions for external HTTP services. The core is integrating with lunc
, ikanalyzer configuration file can be a good solution to this problem.1. Add Industry wordsOpen IKAnalyzer.cfg.xml and you will see that the configuration file is written very clearly, as long as the installation of Stopword.dic format custom a name, such as Xxx.dic placed in the current directory of the same level, and can be accessed by specifying it in the profile IKAnalyzer.cfg.xml. (It is important to note that the Thesaurus file encoding format must be UTF-8 without BOM header)For example
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.