SharePoint Foundation 2013在本地搜索新文件类型 [英] SharePoint Foundation 2013 on premises search new file types

查看:76
本文介绍了SharePoint Foundation 2013在本地搜索新文件类型的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在尝试将SharePoint on Premise网站上的SharePoint SharePoint Foundation升级到SharePoint 2013 Foundation。



搜索应用程序完全不同,我是我尝试添加文件类型并使用文本文件格式处理程序对其进行索引时失败。



这是我到目前为止所尝试的内容:

1)使用搜索服务应用程序添加文件类型:管理中心管理文件类型页面
2)将文件扩展名和图像添加到docicon.xml

3)执行New-SPEnterpriseSearchFileFormat -SearchApplication $ ssa -FormatId eq -FormatName Text -MimeType text / plain

4)执行后管理shell返回

Identity   :eq

姓名       :文字

MimeType   :text / plain

Extension  :.eq

BuiltIn    :False

已启用    :True

UseIFilter:True



5)这与.txt扩展名不同,后者返回以下为
身份   :txt

姓名       :文字

MimeType   :text / plain

Extension  :.txt

BuiltIn    :正确
已启用    :True

UseIFilter:False



6)已执行ReIndex和Full Crawl



7)ULS错误:
$


02/07/2019 14:16:05.43 NodeRunnerContent1-ce2c1d62-c8e(0x3BB8)
0x0668 搜索                       
文档解析             
ai3kk 高   
SandboxWorker [1]:2019-02-07 19:16:05.428Z  [8] RemoteSession - 无法解析文档。编码= iso-8859-1,FormatId = eq,DocId = http://office.towerautomotive.com/sites/TeamCyber​​Query/Upgrade/验证测试/运行时/ QAD2010SELaunchpadHome / QAD
2010SE Home / p_domain.help.eq  例外:Microsoft.Ceres.DocParsing.FormatHandlers.Filter.FilterLoadingException:过滤器加载错误。没有为扩展名'.eq'安装过滤器。      at Microsoft.Ceres.DocParsing.FormatHandlers.Filter.FilterLoader.GetFilterFromRegistry(String
extension,ILogWriter logger)      at Microsoft.Ceres.DocParsing.FormatHandlers.Filter.FilterLoader.Load(Stream data,String extension,Boolean extractStyle,ILogWriter logger,FilterFlags& filterFlags)      at Microsoft.Ceres.DocParsing.FormatHandlers.Filter.FilterWrapper..ct ...


02 / 07/2019 14:16:05.43 * NodeRunnerContent1-ce2c1d62-c8e(0x3BB8)
0x0668 搜索                       
文档解析             
ai3kk 高   
...或(流数据,字符串扩展,Boolean extractStyle,ILogWriter记录器)  &NBSP;   at Microsoft.Ceres.DocParsing.FormatHandlers.Filter.FilterFormatHandler。< Parse> d__c.MoveNext()  &NBSP;   at
Microsoft.Ceres.DocParsing.Runtime.Core.AbstractSession.DoParse(ParsingContext context)


02/07/2019 14:16:05.43 NodeRunnerContent1-ce2c1d62-c8e(0x3BB8)
0x3ABC 搜索  &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP;
文档解析  &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP;
ai3kk 高  &NBSP;
会话:无法解析文档。 Encoding = iso-8859-1,FormatId = eq,DocId = http://office.towerautomotive.com/sites/TeamCyber​​Query/Upgrade/Verification Testing / Runtime / QAD2010SELaunchpadHome / QAD 2010SE Home / p_domain.help.eq。
Session = d3b85511-b07a-4861-83ef-e66b2880aefd。 例外:Microsoft.Ceres.DocParsing.Runtime.Client.ParsingException:过滤器加载错误。没有为扩展名'.eq'安装过滤器。  &NBSP;   at Microsoft.Ceres.ContentEngine.Parsing.Evaluators.ContentHandler.Error(ParsingErrorCode
errorCode,Int64 internalErrorCode,String message)  &NBSP;   at Microsoft.Ceres.DocParsing.Runtime.Core.SessionManager.ContentSink.Write(IParsedContent parsedContent)  &NBSP;   at Microsoft.Ceres.DocParsing.Runtime.Core.AbstractSession.DoParse(ParsingContext
context)

02 / 07/2019 14:16:05.43 NodeRunnerContent1-ce2c1d62-c8e(0x3BB8)
0x179C 搜索  &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP;
文档解析  &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP;
ai3ei 中等 
DocParser - 解析失败导致文档的部分处理。原始错误代码为305005,错误消息为"解析文档时出错"http://office.towerautomotive.com/sites/TeamCyber​​Query/Upgrade/Verification
测试/运行时/ QAD2010SELaunchpadHome / QAD 2010SE主页/ p_domain.help .EQ"。过滤加载错误。没有为扩展名'.eq'安装过滤器。'。
3dea43aa-5da1-4150-ae3d-162aba077d44



有什么我做错了吗?我正在尝试使用内置格式处理程序抓取纯文本文档,但搜索说我需要加载过滤器。




   

解决方案

您好phildparker,


条目"BuiltIn:True"表示内置格式处理程序。条目"BuiltIn:False"表示第三方基于过滤器的格式处理程序。


条目"UseIFilter:True"表示需要自定义iFilter来解析文件类型。对于.txt扩展名,SharePoint具有默认文件处理程序,因此,它显示"UseIFilter:False"。


从错误消息:


" ; 解析失败导致部分处理该文件。原始错误代码为305005,错误消息为"错误
解析文档"http://office.towerautomotive.com/sites/TeamCyber​​Query/Upgrade/验证测试/运行时/ QAD2010SELaunchpadHome / QAD 2010SE主页/ p_domain.help .EQ"。过滤加载错误。没有为扩展名'.eq'安装过滤器。'
"


目前,没有可以解析文件类型".eq"的iFilter,您需要安装用于".eq"的iFilter文件类型。


有一个博客供您参考:


SharePoint 2013搜索文件扩展名


谢谢,


Wendy


We are trying to upgrade our SharePoint on Premise site from SharePoint 2010 Foundation to SharePoint 2013 Foundation.

The search application is quite different and I am unsuccessful in my attempts to add file types and get them indexed using the text file format handler.

Here is what I have tried so far:
1) Add file type using the Search Service Application : Manage File Types page in Central Admin
2) Add file extension and image to docicon.xml
3) execute New-SPEnterpriseSearchFileFormat -SearchApplication $ssa –FormatId eq –FormatName Text -MimeType text/plain
4) After execution the management shell returned
Identity   : eq
Name       : Text
MimeType   : text/plain
Extension  : .eq
BuiltIn    : False
Enabled    : True
UseIFilter : True

5) This is different than the .txt extension which returns the below
Identity   : txt
Name       : Text
MimeType   : text/plain
Extension  : .txt
BuiltIn    : True
Enabled    : True
UseIFilter : False

6) Executed ReIndex and Full Crawl

7) Error in ULS:

02/07/2019 14:16:05.43 NodeRunnerContent1-ce2c1d62-c8e (0x3BB8) 0x0668 Search                        Document Parsing              ai3kk High    SandboxWorker[1]: 2019-02-07 19:16:05.428Z  [8] RemoteSession - Failed to parse document. Encoding=iso-8859-1, FormatId=eq, DocId=http://office.towerautomotive.com/sites/TeamCyberQuery/Upgrade/Verification Testing/Runtime/QAD2010SELaunchpadHome/QAD 2010SE Home/p_domain.help.eq.  Exception: Microsoft.Ceres.DocParsing.FormatHandlers.Filter.FilterLoadingException: Filter loading error. No filter installed for extension '.eq'.     at Microsoft.Ceres.DocParsing.FormatHandlers.Filter.FilterLoader.GetFilterFromRegistry(String extension, ILogWriter logger)     at Microsoft.Ceres.DocParsing.FormatHandlers.Filter.FilterLoader.Load(Stream data, String extension, Boolean extractStyle, ILogWriter logger, FilterFlags& filterFlags)     at Microsoft.Ceres.DocParsing.FormatHandlers.Filter.FilterWrapper..ct...
02/07/2019 14:16:05.43* NodeRunnerContent1-ce2c1d62-c8e (0x3BB8) 0x0668 Search                        Document Parsing              ai3kk High    ...or(Stream data, String extension, Boolean extractStyle, ILogWriter logger)     at Microsoft.Ceres.DocParsing.FormatHandlers.Filter.FilterFormatHandler.<Parse>d__c.MoveNext()     at Microsoft.Ceres.DocParsing.Runtime.Core.AbstractSession.DoParse(ParsingContext context)
02/07/2019 14:16:05.43 NodeRunnerContent1-ce2c1d62-c8e (0x3BB8) 0x3ABC Search                        Document Parsing              ai3kk High    Session: Failed to parse document. Encoding=iso-8859-1, FormatId=eq, DocId=http://office.towerautomotive.com/sites/TeamCyberQuery/Upgrade/Verification Testing/Runtime/QAD2010SELaunchpadHome/QAD 2010SE Home/p_domain.help.eq. Session=d3b85511-b07a-4861-83ef-e66b2880aefd.  Exception: Microsoft.Ceres.DocParsing.Runtime.Client.ParsingException: Filter loading error. No filter installed for extension '.eq'.     at Microsoft.Ceres.ContentEngine.Parsing.Evaluators.ContentHandler.Error(ParsingErrorCode errorCode, Int64 internalErrorCode, String message)     at Microsoft.Ceres.DocParsing.Runtime.Core.SessionManager.ContentSink.Write(IParsedContent parsedContent)     at Microsoft.Ceres.DocParsing.Runtime.Core.AbstractSession.DoParse(ParsingContext context)
02/07/2019 14:16:05.43 NodeRunnerContent1-ce2c1d62-c8e (0x3BB8) 0x179C Search                        Document Parsing              ai3ei Medium  DocParser - A parsing failure caused the partial processing of the document. The original error code was 305005 and the error message was 'Error parsing document 'http://office.towerautomotive.com/sites/TeamCyberQuery/Upgrade/Verification Testing/Runtime/QAD2010SELaunchpadHome/QAD 2010SE Home/p_domain.help.eq'. Filter loading error. No filter installed for extension '.eq'.'. 3dea43aa-5da1-4150-ae3d-162aba077d44

Is there something I am doing wrong? I am trying to crawl documents that are plain text using the built in format handler but search is saying I need to load a filter.

   

解决方案

Hi phildparker,

The entry "BuiltIn:True" indicates a built-in format handler. The entry "BuiltIn:False" indicates a third-party filter-based format handler.

The entry "UseIFilter : True" indicates it needs a custom iFilter to parse the file type. For .txt extension, SharePoint have default file handler, so, it shows "UseIFilter : False".

From the error message:

"A parsing failure caused the partial processing of the document. The original error code was 305005 and the error message was 'Error parsing document 'http://office.towerautomotive.com/sites/TeamCyberQuery/Upgrade/Verification Testing/Runtime/QAD2010SELaunchpadHome/QAD 2010SE Home/p_domain.help.eq'. Filter loading error. No filter installed for extension '.eq'.'"

Currently, there is no iFilter which could parse the file type ".eq", you need to install an iFilter for the ".eq" file type.

There is a blog for your reference:

SharePoint 2013 Search File Extensions

Thanks,

Wendy


这篇关于SharePoint Foundation 2013在本地搜索新文件类型的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆