Solr资料
1. datahubcenter 先编译server
mvn compile
mvn install
2. 打成运行包
ant build
Debug模式启动:
./solr start -a "-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=1044" -f
设置启动内存(3G的JVM内存):
./solr start -a "-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=1044" -m 3g
正常启动:
./solr start -p 8983
1.删除索引管理界面运行,Documents节点下:
Request-Handler (qt) /update
Document Type XML
Document(s)
<delete><query>*:*</query></delete> <commit/>
2.重新索引:
内容文件:
datahubcenter/blob/master/src/main/java/com/bosyun/datahub/controller/ProductController.java
索引URL:
http://localhost:8983/solr/mark/fullImportProduct
相关推荐
spylyt 2020-09-11
upxiaofeng 2020-06-11
TyCoding 2020-05-03
upxiaofeng 2020-04-30
lionelf 2020-04-20
TyCoding 2020-04-08
TyCoding 2020-03-26
wenchanter 2020-03-26
roygbip 2020-02-16
wsxsxz 2020-02-03
lionelf 2020-02-03
lionelf 2020-02-03
TyCoding 2020-02-01
heniancheng 2020-01-31
lionelf 2020-01-30
TyCoding 2020-01-10