搜索default_collection减去特定的集合 [英] Search in default_collection minus a specific collection

查看:55
本文介绍了搜索default_collection减去特定的集合的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我们的500K文档的GSA索引中,一半的文档来自内部错误跟踪系统. 我们一直在听到一些高级用户抱怨错误跟踪系统的结果会降低许多其他来源的其他有用结果. 我们讨论了使用结果偏向来降低错误跟踪文档的重要性,但是我并不十分热衷于这种方法,因为我相信我们应该让GSA发挥作用并决定结果的相关性. 相反,我想提供给用户的是一个UI(每个集合的复选框),用户可以在其中选择他们想要执行搜索的集合.

In our GSA index of 500K documents half of the documents are coming from an internal bug tracking system. We have been hearing some power users complain about results from the bug tracking system pushing down other useful results from many other sources. We discussed about using result biasing to lower the importance of bug tracking documents but I am not very keen on this approach as I believe we should let GSA do its magic and decide on the relevancy of the results. Instead what I want to provide users as an option is a UI (checkbox for each collection) where they can pick what collections they want to perform the search.

我的非默认集合不包括default_collection下的所有内容.因此,当用户选中每个复选框时,他们可能会认为这就是索引中的所有内容,而并非如此. 因此,我希望复选框表现为排除而不是包含(即,选中以排除此集合).

My non-default collections does not include everything that is under the default_collection. So when user checks each and every checkbox they may think that that is everything in the index while it is not. Because of this I want the checkboxes to behave as exclude rather than include (i,e. check to exclude this collection).

最后,我的问题是:有一种方法可以搜索默认集合,但可以过滤出属于特定集合(错误跟踪集合)的结果. 如果要使用多个集合,请执行&site=col1|col2|col3.. 我追求的是类似&site=default_collection-col1的东西(两者之间是负号).

Finally my question: Is there a way to search in the default collection but filter out results that belong to a specific collection (bug tracking collection). When you want to use multiple collections you do &site=col1|col2|col3.. What I am after is something like &site=default_collection-col1 (that's a minus in between).

有没有办法做到这一点?

Is there a way to do this?

有其他解决此问题的方法吗?

Any alternative approaches to this problem?

推荐答案

我个人会重新考虑集合的设计,并构建可以包含的更多模块化集合.就像您提到的那样,您可以在网站包含中包含OR查询.

Personally, I would rethink the design of your collections and build more modular collections that you can include. That way as you mentioned you can include OR queries in your site include.

http://www.google.com/support/enterprise/static/gsa/docs/admin/70/gsa_doc_set/xml_reference/request_format.html#1076953

一个不太理想但更具体的解决方案将是在搜索查询中按URL进行排除,请注意,这可能会出现在结果查询搜索框中并且看起来很丑陋,但这可以使用简单的XSLT来解决.改变.

A less ideal but more specific solution to your problem is going to be do an exclude by URL in your search query, be aware this can appear in results query search box and looks ugly, but this can be fixed using a simple XSLT change.

排除特定网站的结果( http://www.google.com/support/enterprise/static/gsa/docs/admin/70/gsa_doc_set/xml_reference/request_format.html#1076964 )我会尽量少用选择对收藏进行更好的设计.

To exclude results for a specific site (http://www.google.com/support/enterprise/static/gsa/docs/admin/70/gsa_doc_set/xml_reference/request_format.html#1076964) I would use this sparingly and opt for better design of the collections.

这篇关于搜索default_collection减去特定的集合的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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