
Apache Solr
文章平均质量分 76
chenzehe
这个作者很懒,什么都没留下…
展开
-
Apache Solr Tutorial
转自Solr文档:http://lucene.apache.org/solr/api/doc-files/tutorial.html Solr TutorialOverviewThis document covers the basics of running Solr using an exampleschema, and some sample data...原创 2012-04-28 08:50:49 · 155 阅读 · 0 评论 -
Solr下载包目录结构
1、下载Solr包解压后有如下目录:2、client: Convenient language-specific client APIs for talking to Solr.3、contrib: Solr contrib modules. These are extensions to Solr. The final JAR file for...原创 2012-04-28 09:10:40 · 131 阅读 · 0 评论 -
Solr's home directory and Solr cores
When Solr starts, the very first thing it does is determine where the Solr home directory is. Chapter 8, Deployment covers the various ways to tell Solr where it is, but by default it's the directory ...原创 2012-04-28 10:15:44 · 119 阅读 · 0 评论 -
在Tomcat下部署Solr Example
1、安装并配置好tomcat 2、在tomcat的目录conf/Catalina/localhost/solr.xml下创建该文件,若Catalina等文件夹不存在则手动创建文件内容如下: <?xml version="1.0" encoding="utf-8"?> <Context docBase="/home/chenzehe/apache...原创 2012-04-28 12:07:14 · 111 阅读 · 0 评论 -
Solr 创建索引 XML格式
Solr receives commands and possibly document data through HTTP POST.One way to send an HTTP POST is through the Unix command line program curl (also available on Windows through Cygwin: http://www.cyg...原创 2012-05-11 21:09:28 · 183 阅读 · 0 评论 -
Solr 配置 SchemaXml
The schema.xml file contains all of the details about which fields your documents can contain, and how those fields should be dealt with when adding documents to the index, or when querying those ...原创 2012-05-16 08:17:37 · 197 阅读 · 0 评论 -
Solr 创建索引 From DataBase
The Data Import Handler FrameworkSolr includes a very popular contrib module for importing data known as the DataImportHandler (DIH in short). It's a data processing pipeline built specificallyfor ...原创 2012-05-17 20:46:33 · 110 阅读 · 0 评论 -
Solr Searching(一)
In this chapter, you are going to learn about:• Request handlers• Query parameters• Solr's "lucene" query syntax The URL is http://192.168.0.248:9080/solr/admin/form.jsp,Click on...原创 2012-05-24 08:27:05 · 413 阅读 · 0 评论 -
Solr 搜索不为空值
1、被搜索的列必须被索引,否则搜索不到数据,设置schema.xml文件中该列的indexed为true,如下:<field name="picurl" type="string" indexed="true" stored="true" required="false" /> 2、solr搜索非空语法为['' TO *],可以在搜索URL中加上过虑条件fq,如下面表示原创 2012-07-27 11:37:33 · 1546 阅读 · 0 评论