Skip to content

yanchunhuo/solr_client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

  • 对solr进行操作

一、环境准备

1、安装python依赖模块

  • pip install -r requirements.txt

2、操作数据导入

from solr.solr_dataimport import Solr_Dataimport
if __name__=='__main__':
    solr_dataimport=Solr_Dataimport('http://127.0.0.1:8881')
    solr_dataimport.delta_import('coreName','coreEntity')

avatar

Releases

No releases published

Packages

No packages published

Languages