我使用solr搜索机构文件......每个文件包含多个字段,如姓名,城市,州,国家,......;
我只是试图寻找乔治梅森大学"使用以下查询: 姓名:(乔治梅森大学)... solr返回的前两名结果是:
"solr_id": 1964,
"rg_id": 3298,
"rg_parent_id": 0,
"name": "George Mason University",
"ext_name": "",
"city": "Fairfax",
"country": "US",
"state": "VA",
"type": "academic",
"ext_city": "",
"zip": "22030-4444",
"_version_": 1474905441958887400,
"score": 2.1657412
"solr_id": 288843,
"rg_id": 304652,
"rg_parent_id": 888,
"name": "George Mason University Bookstore",
"ext_name": "",
"city": "Fairfax",
"country": "US",
"state": "VA",
"type": "corporate/serv",
"ext_city": "",
"zip": "22030",
"_version_": 1474905459859128300,
"score": 2.1657412
事实上,名字较长的文件(乔治梅森大学书店)给出了与正确字段名称相同的分数...我也设置了omitnorms = False以使normlength生效...任何人都可以让我知道我的查询有什么问题?我会提前感谢任何帮助和建议...
此致
阿里