问题标签 [sharepoint-search]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
3618 浏览

sharepoint - 将搜索结果限制为当前站点/网站

我的要求是在子站点内搜索,如果我在特定子站点中搜索,结果应该来自当前子站点。这里一切正常。但是当我进行高级搜索时,它会给出所有站点范围的结果。

我无法创建范围,因为我们在一个网站集下有 1000 多个子网站,而我们有 50 多个网站集。

在查看高级搜索 Web 部件时,我没有看到类似于搜索框 Web 部件的“默认到上下文范围”选项。

我试图将核心结果 Web 部件的范围属性设置为“此站点”,但它不起作用。

0 投票
1 回答
1429 浏览

url - SharePoint 2013 search REST API

I am trying to search items in SharePoint site by using this URL in the browser: sites/esc/_api/search/query?querytext='Amit'. But I am not able to retrieve the same number of results which are retrieved when the same item is searched in SharePoint site. The search with the URL retrieves only a few results as compared to the search in SharePoint site whereas the blogs on different websites states that the URL will give complete results. Can anyone please explain this or provide the URL to do the same.

0 投票
1 回答
7624 浏览

sql-server - 是否可以使用 Microsoft 2013 共享点搜索服务器作为我网站的搜索引擎

我的网站不是为 sharepoint 编写的。
它在 IIS(aspmvc) 上运行,通过 http 请求/响应进行交互并获取数据库数据。

  1. 为数据库索引和自由文本查询 (ms sql) 安装和使用 Microsoft 2013 共享点搜索是否有意义?
    (我知道我可以使用 MS 全文搜索,但功能和性能太差了)
    (我知道我可以使用 Solr/Lucene。这确实是一个很好的解决方案。我只是想知道我是否可以在 MS 技术中做到这一点)

  2. 我可以不将它安装为 Sharepoint 的一部分吗?作为一个独立的索引器?
    如何?是否需要共享点基础搜索?

  3. 我是否应该为此功能安装 Microsoft Search Server 2010?它和 2013 年的共享点搜索一样好吗?

谢谢。

0 投票
1 回答
1166 浏览

sharepoint - 在 AssociationNavigator 中使用 AttachmentAssociator 属性在自定义索引连接器中搜索

你好, 

我有一个自定义索引连接器,其中包含通过 AssociationNavigator 方法关联的实体。为了让搜索(SharePoint 2013)抓取关联实体,我们需要在关联实体中设置“DirectoryLink”属性或“AttachmentAccessor”属性,如下所述: http://msdn.microsoft.com/en-us/library/gg294164(v=office.14).aspx

当我设置 DirectoryLink 属性时,搜索会同时抓取关联实体(子实体)和父实体。

但是,当我使用 AttachmentAccessor 属性将子实体设置为作为附件进行爬网时,爬网程序只会爬网父实体并忽略关联的实体,因此不会被索引。 

这是自定义连接器的一些问题吗?就像在 这篇文章中一样。如果更改为 .net 连接器,同样可以正常工作。

我通过将文件实体下的 DirectoryLink 更改为 AttachmentAccessor 对Microsoft 的 示例进行了相同的测试。现在永远不会爬取文件,而是爬虫在文件夹级别停止。

谢谢,

南迪尼


0 投票
3 回答
10098 浏览

rest - 具有查询标签的多个变量的 Sharepoint REST 查询

在 Sharepoint 2013 中,使用 Search REST API;path我可以通过使用inquerytext查询标签来获得结果,如下所示:

问题是,我需要制定多个条件path才能获得两者的结果:

path='http://host/site/pages/index.aspx'path='http://host/site/pages/someother.aspx'

我尝试了以下语法示例,但无法获得结果:

而且很可能更多。

提前致谢。

0 投票
1 回答
2020 浏览

sharepoint - 当页面索引更改时,TotalResults 计数更改了共享点搜索中的 FullTextQuery

我为 SharePoint 搜索创建自定义搜索。如果我用页面大小 10 和页面索引(0 或 1 或 2)搜索它,当实际结果为 40 时,总结果计数将为 55,否则如果页面大小 10 和页面索引 4,总结果计数将为 50,否则不返回任何行页面大小 10 和页面索引 3 总结果计数将为 40,否则如果页面大小 100 和页面索引 0 总结果计数将为 40。

我的代码:

0 投票
1 回答
730 浏览

sharepoint - Sharepoint 搜索从不同的计算机返回不同的结果

我的 WSS3 有一个奇怪的行为。我有几个元素的列表,它们的名称中有一个破折号,例如 XXX-111 或 YYY-22。如果我在计算机上搜索此元素,它会正确返回该元素。但是,如果我在另一台计算机(当然使用相同的 SharePoint 帐户)上进行相同的搜索,则结果为空。到底是怎么回事?我错过了什么吗?谢谢。

0 投票
2 回答
3822 浏览

sharepoint - Some Documents are missing in SharePoint 2013 search results

I am facing an issue in my search service application that some documents are missing from the crawling results. I am using SharePoint 2013 out of the box search result web part for displaying search results.

As a solution, I have tried by resetting index about 3 to 4 times, and also by creating the new search service application, but no luck at all. The documents are still missing from search.

I have checked the permissions on the document libraries and site also, but permission is not an issue.

There are no crawling rules in my service application. The only one thing is I have started continuous crawl in my service application.

I am also using one search refiner web part. Refinement options are also not showing for the missing documents, (However , when we edit web part and click on preview refiners option, it is showing the missing documents. But after saving that web part properties the results are not showing. )

Please help my giving some hint on how can i fix this issue.

0 投票
1 回答
407 浏览

sharepoint - 使用 FullTextSqlQuery 从代码中搜索 - 搜索服务不可用

我正在尝试使用 FullTextSqlQuery 类搜索 Sharepoint 2007 站点,但我不断收到以下错误“搜索请求无法连接到搜索服务”

我的代码看起来像这样

ULS 日志中的错误是这样的

丹麦语版本

日志查询:Søgeanmodningen kunne ikke oprette forbindelse til søgetjenesten。Yderligere oplysninger:在此操作的范围内未找到与名称、范围或选择条件匹配的对象或数据。

英文版

日志查询:搜索请求无法连接到搜索服务。Yderligere oplysninger:在此操作的范围内未找到与名称、范围或选择条件匹配的对象或数据。

我检查了所有服务都在运行并且范围已退出。我可以使用共享点普通搜索和使用可以帮助创建搜索查询的“SearchCoder”应用程序来使用范围。

任何想法将不胜感激。

0 投票
1 回答
715 浏览

sharepoint-2010 - 有没有办法以编程方式获取 SharePoint 2010 中的列表视图阈值

我在具有 4 种不同 SharePoint 实现的环境中工作。所有 4 个环境都运行相同的代码块,但 List View Threshold 未配置为相同的值,这导致某些搜索超出阈值,而其他搜索运行没有问题。

有没有办法以编程方式找到阈值的值?