SharePoint文档库 - 项级别搜索未按预期工作 [英] SharePoint document library - item level search not working as expected
问题描述
在SharePoint 2013资源库中,我有以下使用元数据更新的文档列表 。
In a SharePoint 2013 Library , I have below list of documents updated with metadata .
00d1106-AAAAA.pdf
00d1106-AAAAA.pdf
00D1150-AAAA-SC001036-wwwwwww.pdf
00D1150-AAAA-SC001036-wwwwwww.pdf
00G1275- WG72-SC001065-agers.pdf
00G1275-WG72-SC001065-agers.pdf
00G1316-WG72-SC001073-SSKKEERRRLL.pdf
00G1316-WG72-SC001073-SSKKEERRRLL.pdf
335950-MH64-S1071-Sam.pdf
335950-MH64-S1071-Sam.pdf
搜索行为:
案例1:
当我搜索具有完整名称的文件时,例如:335950 -MH64-S1071-Sam.pdf  ,我能够得到结果。
when I search for a file with complete name , for ex:335950-MH64-S1071-Sam.pdf , I'm able to get the result.
案例2:
当我搜索带有通配符名称的文件时,例如:335950 *   ,我可以得到结果。
when I search for a file with wildcard name , for ex:335950* , I'm able to get the result.
案例3:
当我搜索带有名字的文件时,例如:335950 ,我没有得到任何结果。对于其他文件名,我能够得到预期的结果。
when I search for a file with name , for ex:335950 , I'm not getting any result. for other file names I'm able to get the expected result.
即使是其他一些库,所有3个案例都能正常工作。不知道为什么有一个库案例3的某些文件失败了。有什么猜测或建议?
even with some other libraries all the 3 cases were working fine. Not sure why with one library Case 3 is getting failed with some of the files. Any guess or suggestions ?
我可以看到所有文件都已成功抓取。
I could see that all the files were crawled successfully .
谢谢你。
Subhash
推荐答案
您好Kris_sp2013,
我在我的SharePoint中进行了测试,根据我的测试:
当标题是335950-MH64-S1071-Sam时。 pdf,当我搜索带有标题的文件时,例如:335950,我可以得到结果。
当名称是335950-MH64-S1071时-Sam.pdf,当我搜索带有姓名的文件时,例如:335950,我无法得到结果。
有些房产使用断字符有些人没有。我认为Title就是其中之一。
b
我建议你做的是修改"查询"。搜索网页部分附加"*"每次输入后。这将作为通配符搜索。
https://docs.microsoft.com/en-us/sharepoint/dev/general-development/keyword-query-language-kql-syntax-reference
最好的问候,&
$
Lisa Chen
Hi Kris_sp2013,
I have done a test in my SharePoint, Per my test:
When the Title is 335950-MH64-S1071-Sam.pdf, when I search for a file with Title, for ex:335950, I'm able to get the result.
When the Name is 335950-MH64-S1071-Sam.pdf, when I search for a file with Name, for ex:335950 , I'm not able to get the result.
Some properties use word breakers and some don't. I think Title is one of them.
What I suggest you do is to modify the "query" of search web part to append "*" after every input. This would act as a wildcard search.
https://docs.microsoft.com/en-us/sharepoint/dev/general-development/keyword-query-language-kql-syntax-reference
Best Regards,
Lisa Chen
这篇关于SharePoint文档库 - 项级别搜索未按预期工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!