English 中文(简体)
Solr 合并结果
原标题:Solr Merge results

我用Solr在我们的网站上 进行产品过滤

例如,您可以有一个产品过滤器, 在那里您可以过滤电视数据库的大小、 价格、 公司等。 我发现Solr+FilterQuery 对这种功能非常有效。 我有一个单独的核心, 它含有我们 DB 中所有电视的产品信息 。

我还有一个产品审查核心。审查可以针对特定的产品类型或公司。这样某人就可以在三星电视或三星客户服务上撰写评论。所以当有人搜索文本(例如“三星电视审查”或“三星客户服务 ” ) 时,我就会搜索这个核心。

现在我想将以上核心的结果合并起来。所以当有人搜索 samsung 46 lcd 对比比审查时, 我其实想用公司( Samsung) 过滤电视, 然后用大小( 46) 来过滤电视, 然后找到含有文本“ contrast 比率审查” 的审查 。 我无法理解如何做到这一点。 基本上我想通过文档 ID 来合并结果, 并添加结果 2 的结果 1 。

我曾经看到过平整数据的建议,但我想在很多其它过滤器上使用审查索引。因此我不确定这是否是一个好主意。 此外,如果新的审查开始,我不想将产品的所有核心重新指数化(即使三角洲重新指数化也会触动很多产品 ) 。

有什么想法 如何避免这一切吗?

问题回答




相关问题
Search field with Thickbox issue

i have a search form which is shown with Thickbox inside an iframe. the problem is.. that after i click "search" the result page is shown inside the same iframe! and i want it to be shown in the main ...

Will an incomplete google sitemap hurt my search ranking?

If I submit a sitemap.xml which does not contain all of the pages of my site, will this affect my search ranking? For example: If my sitemap only contained pages that had been created in the last ...

speeding up windows file search with C#

i made a program that search logical drives to find a specific file .if user type file name an click search button , searching begins , but i don t know how to stop searching in the middle of process....

JQuery/MVC Search Issue

I have inherited a piece of work where the entry screen shows a summary of 20 calculated variables. E.g. Var A (250), Var B (79). Clicking on any of these links takes the user to a view with a ...

Handling no results for docmd.applyfilter

I have an Access app where I use search functionality. I have a TextBox and a Search Button on the form, and it does a wildcard search of whatever the user enters in the TextBox, and displays the ...

Search by using the keyboard in a list/grid - algorithm

I need to implement a custom search in a grid and I would like to find some user interface guidelines that explain the standard way to implement it. I mean this kind of search that is initiated by ...

Embed Google/ Yahoo search into a web site or build your own

I am looking for an opinion on the whether to use Google custom search, Yahoo search builder or build my own for web projects (no more than 100 pages of content). If I should build my own - do you ...

热门标签