- 在 connection.html 上展示 co-author 和 cited_graph, 已完成
- Search Bar, 已完成
- HotSearch 页面 3.1 需要添加收藏图标, 已完成 3.2 需要修改 es 数据 3.2.1 lwx&zr 制定接口 3.2.2 zr 处理 ES, lwx 用 toydata 跑通 index, search 页面的老师卡片
- ES数据格式: 用 pickle 打包
datas = [ { 'tid': 1, 'name': 'Quanshi Zhang', 'avatar': 'http://qszhang.com/files/photo.png', 'title': 'Associate professor', 'school': 'Shanghai Jiao Tong University', 'paper': '所有paper中的词连成一个字符串 空格隔开', 'all_field': '包括名字 paper 这些用户可能搜索的信息 所有的信息连成一个字符串 空格隔开' }, ]
es:
- Researcher.Name
- Researcher.Title
- Researcher.University
- Researcher.Avatar
- Researcher.ResearchInterest
db:
ID
Name
Avatar
Title
HomePage
University
Lab
Bio
: 个人简介Signature
DOB
: Date of BirthAddress
Email
Mottos
: "Learn the hard core knowledge" etc.ResearchInterest
Awards
: 获得的奖项Co_authors
: 合作者Papers
: 论文基本信息Cited_graph
: 论文被引数量Temperature
: 学者在搜索种出现的次数
- Search 页面, 正在做
build_data:
buildDB.py: 建立数据库
python root/mobile-net-work-ee447/app_lwx.py
/root/elasticsearch-head grunt server
https://www.cnblogs.com/zhengbin/p/6144394.html
su ela ./root/elasticsearch-6.8.14/bin/elasticsearch
/root/mobile-net-work-ee447/static