Find a lot of information about SOLR on the web and find it very incomplete, even in the official wiki.
Based on the SOLR application being researched at this stage, I will share some of my experience.
Today is to say: how to run up.
1 "First
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
SOLR and. NET Series courses (ii) SOLR's configuration file and its implicationsThis section will not cover the contents of. NET and database, but do not worry, this is the school hours SOLR must learn what to master, SOLR is not like other DLL
Introduction
SOLR is a stand-alone enterprise Search application server that provides API interfaces similar to Web-service.
The user can submit a certain format XML or JSON file to the SOLR server through the POST request of HTTP, and after the
SOLR Article Integration
SOLR principle
Solrcloud introduction of distributed full-text retrieval system http://my.oschina.net/004/blog/175768
constructs an index word breaker .
SOLR's Chinese participle.
In the previous chapter, how to use SOLR admin to add an index to the SOLR server, SOLR is a standalone enterprise Search application server that provides an API interface similar to Web-service. The user can submit an XML file of a certain format
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
Use solrj to add, delete, and query SOLR.
Reference:
Http://wiki.apache.org/solr/Solrj
Create a new project in Eclipse: testsolr
The LIB package of sorlj includes:
Code:
Create an item entity
package com.my.entity;import
1.SOLR is what.
SOLR is an open source, Lucene-based search server that is easy to add to WEB applications. SOLR provides a level search (that is, statistics), hit highlighting, and support for multiple output formats, including formats such as
FL: A list separated by commas (,). It is used to specify the list to be returned in the document results.FieldSet. The default value is"*All fields.
Deftype: Specify query parser. Commonly Used deftype = Lucene, deftype = dismax, deftype =
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.