Solr
ylzhjlinux
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
flume source using mysql-replication-listener to realtime copy data from mysql
https://bitbucket.org/winebarrel/mysql-replication-listener http://flume.apache.org/FlumeUserGuide.html#a-simple-examplehttps://www.cyberagent.co.jp/recruit/techreport/report/id=7474https://do...原创 2014-12-18 11:46:06 · 188 阅读 · 0 评论 -
Solr: index product and price for sellers and perfoming query and sorting
In my current project, the modle seller has multiply products with price, I want to index products and query them then sorting them by price , seller's credit ,the distance between the seller and ...原创 2015-08-25 16:58:53 · 162 阅读 · 0 评论 -
Solr: Using FunctionQuery in SOLR Sort Syntax
In my project, I got a similar problem likeshttp://stackoverflow.com/questions/27701533/using-functionquery-in-solr-sort-syntax I want to sort my documents by a custom score using function ...原创 2015-07-07 17:36:48 · 218 阅读 · 0 评论 -
Solr: integrate carrot2 with solr-5.1.0
I already integrated carrot2 with solr-4.x with my customerized chinese tokenizer successfully.But I run some errors following my series of blogs http://ylzhj02.iteye.com/blog/2152348 to adopt ca...原创 2015-07-01 10:42:22 · 195 阅读 · 0 评论 -
Solr: Spatial Search
1. schema <fieldType name="location_rpt" class="solr.SpatialRecursivePrefixTreeFieldType" geo="true" distErrPct="0.025" maxDistErr="0.001" distanceUnits="kilometers"/&原创 2015-06-26 14:59:54 · 360 阅读 · 0 评论 -
Solr: Synonym Query
1. config schema.xml<fieldtype name="text_ch" class="solr.TextField"> <analyzer type="index"> <tokenizer class="org.lionsoul.jcseg.analyzer.JcsegTokenizerFactory" mode=&qu原创 2015-06-18 17:59:03 · 218 阅读 · 0 评论 -
SOLR: tika with OCR engine
I want to parse the content not just the metadata of a jpg picture. The following code is the test classimport java.io.File;import java.io.FileInputStream;import java.io.IOException;impo...原创 2015-06-12 15:03:35 · 540 阅读 · 0 评论 -
Solr: Install tesseract-ocr
Install dependency#tar -jxzf leptonica-1.69.tar.bz2#cd leptonica-1.69#./configure#make -j4#sudo make install-------------------------- download tesseract-ocr-3.02.02.tar.gz #tar -xzf t...原创 2015-06-11 16:35:45 · 172 阅读 · 0 评论 -
用 Apache Tika 理解信息内容
www.ibm.com/developerworks/cn/opensource/tutorials/os-apache-tika/ http://www.tutorialspoint.com/tika/tika_quick_guide.htm原创 2015-06-09 16:53:20 · 147 阅读 · 0 评论 -
Solr: 5.2.1 install and config
1. upload solr-5.2.1.tgz install_solr_service.sh to the same dir2.# install_solr_service.sh solr-5.2.1.tgz 3. #cd /var/solr/ #vi solr.in.shmodify solr's jvm configure#SOLR_HEAP="10...原创 2015-09-01 18:50:15 · 177 阅读 · 0 评论 -
Storm: monitor storm with supervisor
#yum install supervisor#vi /etc/supervisord.conf[program:storm-supervisor]command=/opt/apache-storm-0.9.3/bin/storm supervisoruser=rootautostart=trueautorestart=truestartsecs=10st...原创 2015-09-02 15:58:29 · 250 阅读 · 0 评论 -
Solr: realtime ingest data from mysql to solr using flume
• Create an easy ETL job to load data from MySQL to Hadoop and vice versa (using Apache Flume and other tools)• Create a near-real-time replication channel between MySQL and Hadoop...原创 2014-12-04 14:52:01 · 129 阅读 · 0 评论 -
Solr: integrate with hadoop
References、http://hortonworks.com/hadoop-tutorial/searching-data-solr/http://hortonworks.com/blog/hdp-2-1-apache-solr-hadoop-search/https://cwiki.apache.org/confluenc...原创 2014-12-03 11:20:15 · 122 阅读 · 0 评论 -
Running Solr on HDFS
https://cwiki.apache.org/confluence/display/solr/Running+Solr+on+HDFS原创 2014-11-27 17:25:21 · 199 阅读 · 0 评论 -
OpenNLP integrate with solr
https://wiki.apache.org/solr/OpenNLP原创 2014-11-07 17:20:22 · 334 阅读 · 0 评论 -
Apache SOLR and Carrot2 integration strategies 2
In order to use custom chinese tokenizer(eg. jcseg). Following the next steps1. download carrot2 souce code and import it to eclipse#git clone git://github.com/carrot2/carrot2.git#cd carrot2...原创 2014-11-04 17:39:29 · 194 阅读 · 0 评论 -
Apache SOLR and Carrot2 integration strategies 1
deploy carrot2-webapp1. download soucre code#git clone git://github.com/carrot2/carrot2.git 2.compile#cd carrot2#ant webapp 3.deploy#cp tmp/webapp/carrot2-webapp.war /path/to/tom...原创 2014-10-30 14:31:40 · 164 阅读 · 0 评论 -
Solr: Clustering documents with carrot
1. Configure clutering in solrconfig.xml<searchComponent name="clustering" enable="true" class="solr.clustering.ClusteringComponent" > <lst na...原创 2014-10-29 16:43:59 · 122 阅读 · 0 评论 -
Solr:eclipse开发环境
import solr source code to eclipse1. # tar xvf solr-4.10.1-src.tgz2. #cd solr-4.10.13. #ant eclipse (must install ant maven ivy . such as by #apt-get install ivy)4. import project from e...原创 2014-10-23 11:48:56 · 147 阅读 · 0 评论 -
Solr: Using solrJ to operate solr
Referenceshttp://www.solrtutorial.com/solrj-tutorial.htmlhttps://cwiki.apache.org/confluence/display/solr/Using+SolrJ原创 2015-05-22 13:29:12 · 128 阅读 · 0 评论 -
Flume: morphline sink with solr 5.1.0
1. down flume 1.5.2 source code and change solr version to 5.1.0 2. compile and install3. cp solr 4.10.1 related jars to lib dir to sove this errorCloudSolrServer' (current frame, stack[2])...原创 2015-05-21 16:38:37 · 212 阅读 · 0 评论 -
Solr : realtime recommender
https://github.com/pferrel/solr-recommender Referenceshttp://ssc.io/deploying-a-massively-scalable-recommender-system-with-apache-mahout/https://github.com/pferrel...原创 2015-03-02 15:38:24 · 104 阅读 · 0 评论 -
Solr:Deploy solr to tomcat
Install tomcat7#sudo apt-get update#sudo apt-get install tomcat7#sudo apt-get install tomcat7-adminhttp://localhost:8080/#sudo vi /etc/tomcat7/tomcat-users.xml<tomcat-users> ...原创 2014-07-09 17:41:03 · 157 阅读 · 0 评论 -
Solr:Performing queries and handling results
The anatomy of a Solr requestRequest handlersRequest handlers are the entry points for essentially all requests to Solr. Their job is to receive a request, perform some function, and return a re...原创 2014-07-09 15:49:05 · 112 阅读 · 0 评论 -
Solr:Text analysis
------------------------------------------------------------------------------------------------------------------------------------Defining a custom field type for microblog text ...原创 2014-07-09 14:53:47 · 156 阅读 · 0 评论 -
Solr: Indexing 2
Field types for structured nontext fieldsIn general, Solr provides a number of built-in field types for structured data, such as numbers, dates, and geo location fields. String fieldsSolr pro...原创 2014-07-09 11:51:56 · 129 阅读 · 0 评论 -
Solr: Indexing 1
At a high level, the Solr indexing process distills down to three key tasks: Convert a document from its native format into a format supported by Solr,such as XML or JSON.Add the document to So...原创 2014-07-08 17:27:14 · 158 阅读 · 0 评论 -
Solr: Configuring Solr
--------------------------------------------------------------------------------------------------------------------------------------Query request handling ----------------------...原创 2014-07-08 14:55:36 · 118 阅读 · 0 评论 -
Solr:Key Solr concepts
DocumentA document, then, is a collection of fields that map to particular field types defined in a schema. Each field in a document has its content analyzed according to its field type, and the ...原创 2014-07-08 11:52:11 · 137 阅读 · 0 评论 -
Solr: Install
Download#wget https://archive.apache.org/dist/lucene/solr/4.7.0/solr-4.7.0.tgz Extract#tar zxf solr-4.7.0.tgz -C ~/ Start#cd ~/solr-4.7.0/example#java -jar start.jar Adimnhttp...原创 2014-07-07 16:13:48 · 182 阅读 · 0 评论 -
Solr: Solr Integrate with MongoDB
Install Mongo-Connectorpip install mongo-connectorpip uninstall mongo-connector git clone https://github.com/10gen-labs/mongo-connector.gitcd mongo-connectorpython setup.py install ...原创 2014-07-10 14:14:59 · 263 阅读 · 0 评论 -
Solr: Sharding and replication
Solr allows you to create multiple search indexes, each of which is represented by a Solr core. It is possible to partition your content across multiple Solr indexes (called sharding), as well as to ...原创 2014-07-10 15:09:11 · 182 阅读 · 0 评论 -
Solr: Query muticore in a single request
Solr supports the creation of multiple Solr cores, each of which contains a unique Solr index. Each core can bedefined to use different configuration files, including schema.xml. When an aggregated...原创 2014-07-30 16:54:34 · 100 阅读 · 0 评论 -
Solr: AutoSuggester
Referenceshttps://cwiki.apache.org/confluence/display/solr/Suggesterhttp://www.chepoo.com/solr-suggest-apply.html原创 2014-07-30 11:27:00 · 96 阅读 · 0 评论 -
Solr: Data Import Handler (DIH) with mysql
The Handler has to be registered in the solrconfig.xml as follows.<requestHandler name="/dataimport" class="org.apache.solr.handler.dataimport.DataImportHandler"> <lst name="defaults...原创 2014-07-17 14:54:29 · 137 阅读 · 0 评论 -
Data ETL tools for hadoop ecosystem Morphlines
when i usethere is a errorjava.lang.NoClassDefFoundError: org/kitesdk/morphline/api/MorphlineCompilationException at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Cla...原创 2014-12-25 11:39:45 · 346 阅读 · 0 评论 -
Solr: Personalized search and recommendations
One way organizations have tried to enhance this traditional search experience is by building profiles of theirusers in order to be able to provide more personalized search results to them based upon ...原创 2014-07-11 17:19:53 · 123 阅读 · 0 评论 -
Solr: SolrCloud
Distributed indexingDocument shard assignmentA document is assigned to one and only one shard per collection. Solr uses a component called a document router to determine which shard a document s...原创 2014-07-10 18:01:23 · 168 阅读 · 0 评论 -
Solr: Multilingual search
Because of the wide variations between languages, there is not a single, consistent model to follow when defining a field in Solr to properly handle a language. Some languages require their own stemm...原创 2014-07-10 18:01:04 · 135 阅读 · 0 评论 -
Solr: Solr client libraries
http://wiki.apache.org/solr/IntegratingSolr原创 2014-07-10 16:36:12 · 116 阅读 · 0 评论
分享