Test data volume: 10407608Num Docs: 10407608One of the most common queries in a project is to query data within a certain period of time, and obtain data through SQL query for about 30 s.SELECT * FROM 'Tf _ hotspotdata_copy_test 'WHERE collectTime
Today personal Coding module test, so spare time to continue to study SOLR, and then incidentally wrote an example, casually, SOLR really not familiar, look forward to know love search friends, and common progress.1. Configure the Schema.xml file
The following is the use of SOLR requirements in a real web application
Use SOLR to achieve the e-commerce website of the product information search function, according to keywords, classification, price search product information, can be sorted by
First, queryVisit our SOLR admin's action page:
By clicking Execute Query, you can query the following results:
Second, deleteCreating a Query object for the information to be searched, Lucene generates the final query syntax based on the query
ObjectiveIf you use SOLR in your system, then you will certainly encounter the need to reverse the data from SOLR, and after the production index based on the database data, the SOLR index data is relatively accurate, often encountered in the
1. Use of technology
Java JSP JS Shiro CAs SOLR
2. Arrangement of programming ideas
1) Login
1. Login with SSO:
A): SSO performs login verification, login page Sso,sso through user name, password, verification code to find out if the database
Before you introduce the usage of Elasticsearch, let's talk about why you should use it. First of all to learn the search engine, certainly inevitably have heard LUCENE,SOLR and Elasticsearch are based on it. Spinx many articles, but the database is
Recent projects need to use hbase for real-time queries, because HBase supports only one-level indexes, that is, the use of Rowkey as an index query, so there is not enough support for a multi-conditional filter query, and without establishing a two-
Use Groupingsearch to group search resultsPackage org.apache.lucene.search.grouping Description
This module can be used to group the search results of Lucene, the specified single domain is aggregated. For example, a document with the same author
1. The design of the table
1.1 pre-creating regions By default, a region partition is created automatically when the HBase table is created, and when the data is imported, all HBase clients write the data to this region until the region is large
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.