faceted-search

Does anyone know of a faceted search solution for Drupal 7?

人走茶凉 提交于 2019-12-23 12:25:42
问题 Faceted Search module is not being moved to Drupal 7. What are my alternatives? 回答1: The Search API module is new for Drupal 7, and allows you to choose from a variety of backends, including Solr, Xapian, native database and others. It supports faceted search irregardless of which backend is used. 回答2: One option is an apache solr integration http://drupal.org/project/apachesolr or a self written lucene search module. 回答3: I have set a faceted search up in Drupal 7 using the Search API which

ElasticSearch aggregation: exclude one filter per aggregation

做~自己de王妃 提交于 2019-12-23 07:42:15
问题 I want to filter out documents whose field 'A' is equal to 'a', and I want to facet the field 'A' at the same time, excluding of course the previous filter. I know that you can put the filter 'outside' the query in order to get the facets without that filter applied, like: ElasticSearch { "query : { "match_all" : { } }, "filter" : { "term : { "A" : "a" } }, "facets" : { "A" : { "terms" : { "field" : "A" } } //this should exclude the filter A:a } } SOLR &q=:*:* &fq={!tag=Aa}A:a &facet=true

Faceted filters in Mongo DB with for products with multiple options

女生的网名这么多〃 提交于 2019-12-22 16:38:42
问题 we are trying to create call to MangoDB to receive all possible filters for products. I will try to create example of our products First product is Adidas Shoes which have two options to select - colour and size. But for different colours you have different sizes. { id: 1 name: "Adidas Shoes", filters: [ [ { code: "brand", value: "Adidas" }, { code: "colour", value: "white" }, { code: "size", value: 41 } ], [ { code: "brand", value: "Adidas" }, { code: "colour", value: "white" }, { code:

Query product catalog RavenDB store for spec aggregate over arbitrary collection of products

余生颓废 提交于 2019-12-22 07:05:09
问题 This is a continuation of the project outlined in this question. I have the following model: class Product { public string Id { get; set; } public string[] Specs { get; set; } public int CategoryId { get; set; } } The "Specs" array stores product specification name value pairs joined by a special character. For example if a product is colored blue the spec string would be "Color~Blue". Representing specs in this way allows querying for products having multiple spec values specified by a query

I can't seem to get faceted search working in elastic search

£可爱£侵袭症+ 提交于 2019-12-21 22:02:15
问题 I can't seem to understand the QueryDSL for facets in elastic search. Below are my query object, and the mapping for my tags array. I'm trying to get these to put in a faceted navigation based on tags. Each "element" will have multiple tags associated in the tags array [Not all elements will have tags. Some will have an empty array.]. Each tag is an object with id and tag properties. I've tried the nested facet approach and get the error that "tags is not nested", so then I try this below. I

I can't seem to get faceted search working in elastic search

倾然丶 夕夏残阳落幕 提交于 2019-12-21 21:51:04
问题 I can't seem to understand the QueryDSL for facets in elastic search. Below are my query object, and the mapping for my tags array. I'm trying to get these to put in a faceted navigation based on tags. Each "element" will have multiple tags associated in the tags array [Not all elements will have tags. Some will have an empty array.]. Each tag is an object with id and tag properties. I've tried the nested facet approach and get the error that "tags is not nested", so then I try this below. I

Using Solr with MySQL

£可爱£侵袭症+ 提交于 2019-12-21 03:45:32
问题 I was browsing some questions here concerning MySQL and faceted searches and I saw one response that suggested the use of Solr. In my MySQL database, I have many tables for products, suppliers, messages, users, etc - all interconnected. How would I use Solr to do faceted searches for products? From what I understand, I'd have to keep feeding Solr product data from MySQL - but how do I deal with indexing the data? Do index right after adding a new product? Do I batch index? How do I deal with

Date range facets with Sunspot in Ruby on Rails

本小妞迷上赌 提交于 2019-12-21 02:41:37
问题 I am using Sunspot to search for events (parties, concerts, ...) in a Ruby on Rails 3 application. I have managed to set up free text search and facet search on a couple of different category types. Now, I am stuck with my next task. I want to set up facets related to when the event is occuring. I want to have facets describing both relative date/time ranges such as "today", "this weekend", "next weekend" and absolute date/time ranges , such as "Easter Holiday 2011", "New Years Day 2012", ...

Date range facets with Sunspot in Ruby on Rails

我只是一个虾纸丫 提交于 2019-12-21 02:41:05
问题 I am using Sunspot to search for events (parties, concerts, ...) in a Ruby on Rails 3 application. I have managed to set up free text search and facet search on a couple of different category types. Now, I am stuck with my next task. I want to set up facets related to when the event is occuring. I want to have facets describing both relative date/time ranges such as "today", "this weekend", "next weekend" and absolute date/time ranges , such as "Easter Holiday 2011", "New Years Day 2012", ...

Lucene.NET faceted search

喜夏-厌秋 提交于 2019-12-18 12:41:10
问题 I found a great tutorial on performing a faceted search. http://www.devatwork.nl/articles/lucenenet/faceted-search-and-drill-down-lucenenet/ This article does not explain how to retrieve the narrowed available attributes to filter from (for further drill down). Lets say I am looking for planners that are red. When I perform the faceted search, I want to return all available attributes to filter from that are red. Then when I add a "weekly format" filter, I want the attribute list to get even