-
Notifications
You must be signed in to change notification settings - Fork 741
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
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
您好,我需要能够检索文件的内容,但是我查了了代码之后发现只有将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"]), })
The text was updated successfully, but these errors were encountered: