Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

全文搜索未索引文件内容 #58

Open
724399396 opened this issue Oct 18, 2019 · 0 comments
Open

全文搜索未索引文件内容 #58

724399396 opened this issue Oct 18, 2019 · 0 comments

Comments

@724399396
Copy link

724399396 commented Oct 18, 2019

您好,我需要能够检索文件的内容,但是我查了了代码之后发现只有将Title,Keywords,Description等存入ES中,但是我在演示Demo上看到是可以使用内容进行搜索的,我使用的代码是最新的master, commit hash dd28a31
es = append(es, ElasticSearchData{ Id: helper.Interface2Int(param["Id"]), Title: param["Title"].(string), Keywords: param["Keywords"].(string), Description: param["Description"].(string), Vcnt: helper.Interface2Int(param["Vcnt"]), Ccnt: helper.Interface2Int(param["Ccnt"]), Dcnt: helper.Interface2Int(param["Dcnt"]), Score: helper.Interface2Int(param["Score"]), Size: helper.Interface2Int(param["Size"]), Page: helper.Interface2Int(param["Page"]), DocType: helper.Interface2Int(param["DocType"]), DsId: helper.Interface2Int(param["DsId"]), Price: helper.Interface2Int(param["Price"]), TimeCreate: helper.Interface2Int(param["TimeCreate"]), })

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant