The Search API module provides a framework for easily creating searches on any entity known to Drupal, using any kind of search engine.

learn more… | top users | synonyms

1
vote
0answers
17 views

Block vs Context positioning facet block filter

I have a Drupal Commerce site with faceted search (Search API + db index + views and facet blocks). My setup is as follow : - Catalogue view (based on my search index) - Facet filters block placed ...
0
votes
0answers
24 views

Search block in fixed bar issue

I've added the search block to my fixed navigation bar at the top of the page (the nav bar is fixed when you scroll the page). The problem is that searching for the term leads to no where. When I ...
0
votes
0answers
11 views

SearchAPI + FacetAPI: How to add a facet programmatically

Using SearchAPI and FacetAPi with Solr I have a facet block filled by one Solr indexed field i.e. "region". Example: Region A Region B Region C I need to programmatically combine ...
1
vote
0answers
16 views
+50

Is it possible to make a custom facet that behaves like a Views grouped filter?

I am moving my user search from vanilla Views to the Search API/Solr backend/Facet API with Views. On my site, I have a Countries field on the user profile, and I would like to give users the option ...
1
vote
0answers
11 views

How to show labels of matching fields in a search-api view

I have a view that displays search-api results. Is it possible to include a list of the labels of the fields where a match was found? E.g. when searching for Ford: Henry Ford: Title, Body ...
1
vote
1answer
9 views

How can I show an image in a view using the Search API Views integration?

I am using the Search API Views module; I have created an index of users, and on this site, there is an image field on the user profile with a single value (not a user picture, just a standard image ...
0
votes
1answer
15 views

How can I index only active user accounts in a user index?

I'm setting up Search API Solr to make a user search on my site. On this site, when a user account is cancelled, we keep the data but block the account (set the status to non-active). This is ...
0
votes
1answer
5 views

Drupal Search- Linking Multiple Entities with Relations as a Single Unit

I've got a site that currently uses Views exposed filters for search. I'm looking at other search solutions for Drupal in an attempt to make more complicated searches possible. The searches on my ...
1
vote
0answers
18 views

Drupal Search API weirdness

I have a site with Search API, Search Pages, and Fuzzy Search modules installed. There's no Solr or anything installed. The core search module is turned off. I have a node whose type is indexed, with ...
0
votes
0answers
6 views

Does rules take advantage of search api for fetching nodes?

I have a few rules which fectch nodes I was wondering if performance would increase by creating a proper index. thanks.
1
vote
0answers
10 views

Search API - give preference to content from particular node type

Using the Search API and Views, how do I give weighting such that nodes of a particular type will appear before others? So for instance a Product description (of type product node) will appear above ...
0
votes
0answers
10 views

Using one or more indexes using Search api?

I have 3 content types(nodes) that need to be indexed with Search api. What is the best way to achieve this? Create 3 indexes,one for each content type and restricting to each content type using the ...
0
votes
0answers
23 views

In my multilangual site facet api is not working properly

In my multilangual site. I am using search api and facet api but facet api is not working properly.There are two texonomy in my site Tag and manufacture but all manufacture is not doing filter when i ...
0
votes
1answer
37 views

How do I change submit URL for exposed search filter?

I've created view using Search API Views with two different displays. First Page display (by_terms) and with the following options: Page settings: Path:/taxonomy/term/% Contextual filters: ...
1
vote
0answers
10 views

Facet adding itself to search parameters in pager when not selected

I have a number of search pages that use views, each displays a large number of facets using Search & Facet APIs. I've noticed recently that when I use the pager I get directed to a url with an ...
1
vote
0answers
23 views

Unable to sort view based on search index by taxonomy weight

I have a search index created using search api and I have a view created based on the search index. I have a taxonomy term field called subscription which is indexed. I need to sort my view based on ...
1
vote
1answer
15 views

excluding non english field values from search_api index (or facet)

I have a CT product and a CT factory. Products have an entity reference field pointing to factories. I use node translation on factories (en, fr, de) but products are not translated (en only). ...
0
votes
1answer
25 views

Contextual filter on entity reference field in indexed view

I have two pages: jobs and offices. My jobs page is an indexed view (with Search API) which displays jobs that have an entity reference field to the office it belongs to. I want to put a link on my ...
0
votes
1answer
31 views

Search a product - Search API Module

I'm creating a e-commerce website, with a type of content "Products". I'm using Search API to be able to have Facets filters on my views. I linked the type of content "Products" to the search API. So ...
0
votes
0answers
15 views

How to add Flag Link field to view based on Search Index?

So, I am building a faceted search view on my product display, but I cannot add the field for the Flag link. I can get fields that reference the User's who used a flag, but no relationship that I can ...
0
votes
1answer
30 views

Group by parent terms from indexed node in views

Based on this question, I've obtained an "Indexed Node: Taxonomy Name" field in my view. How can I group the results by parent terms? When I group by the term field (Format > Settings > Grouping ...
0
votes
1answer
20 views

How can I merge or combine facets?

I have a search page with a faceted filter on 'Content Type' field. I basically need to merge some of the content types into one single facet. Example: Content Type A Content Type B Content Type C ...
0
votes
0answers
21 views

Search API Error on everypage

I am having this very exact issue https://www.drupal.org/node/2392289 On everypage that I load. But where to apply this patch?
-1
votes
1answer
26 views

Searching by sku number but some products and new product are not showing using search api drupal 7 [closed]

Some products are showing by sku number but some products are not showing.please someone help me to solve this problem.
0
votes
0answers
20 views

Programatically remove a specific user from the search results?

I have created a search on my site using Search API module. How can I programatically remove a specific user from the search results and ensure that this user is not included in future results. After ...
0
votes
0answers
26 views

Location Module fields are not available under Search api fields

I am using Search API's Default Node index. I am using Location module to store Location data. But location module fields are not available under Search API Related fields. I know this has been an ...
1
vote
0answers
27 views

SearchAPI + FacetAPI: Expose operator to user (AND/OR)

In our project we have a requirement to exposed facet operator to user. On fronend, user will see a bunch of facets and for each he will be able to select AND/OR operator. I'm looking for a way how to ...
0
votes
0answers
8 views

Using Rendered Taxonomy Items with Views + SearchAPI

I'm using Search API + Views to display results so that a user can input content into a search field and view results on the site. I'm having trouble adding an 'icon' field to the 'Fields' list in the ...
0
votes
0answers
24 views

Make Solr search results link to page rather than node

Is there a good way to make Solr search results link to the page that a node exists within rather than the node itself? For example, I have API pages that have several different nodes of different ...
0
votes
0answers
6 views

services display for search index based view

I am building a search page using view. the view get results from search index created and have indexed nodes and it works fine and display results as expected the problem comes when trying to add ...
0
votes
1answer
26 views

search and facet api tables dropped during module updates

We recently added search-api and facet-api functionality to work with a new Drupal 7 view, and now whenever certain module updates are performed using Drush, one or more of the following tables are ...
0
votes
0answers
31 views

An AJAX HTTP error occurred in Search autocomplete

I am using Search API db and Search API autocomplete modules everything was fine for 200-300 contents. Now I imported around 50,000+ contents to the site and when I start typing in the autocomplete ...
0
votes
0answers
37 views

Search excerpt with Search API (rendered HTML)

Is it possible to create a search excerpt from the Entity HTML Output (with Search API)? What I did: Activated highlighting and "create excerpt" within my Search index. Added "complete entity view" ...
0
votes
0answers
12 views

A text field is being added to the facet

I have a text field,whose value when filled,is added to the facet (using Search api and facet api).How can I prevent it from not being added to the facet?I want to index it but not being added to the ...
0
votes
0answers
7 views

Alter Solr index ID per site

I use multiple versions of my site to have a development, staging and production site. I simply clone the site (with Aegir) so I have the exact replicas but in separate folders with separate ...
0
votes
1answer
26 views

How do I show a basic search block on the front page that integrates with search api?

I've been creating my search pages in Search API, but I want to offer a search block on the front page or other pages that can do what the core search block does. Is there a way to either integrate ...
2
votes
0answers
48 views

Is Search API module 'English-speaking' only?

I am developing a multilingual (English-Ukrainian) Drupal website using Entity translation module. Everything went smooth before I tried to use the search module. I have Search API, Database search, ...
0
votes
1answer
32 views

Problems with Search API and Entity Translation

I'm building a two-language website (Ukrainian - main, English - second) with the new Entity Translation approach. This approach seems very promising however it does not support multilingual content ...
0
votes
2answers
22 views

Apache SOLR show only nodes with images

How can I filter SOLR results to show only nodes with images? There seems to be no support for image fields. I don't mind writing custom field mapping or something like that but some guidelines would ...
0
votes
1answer
38 views

Can I Search an entity reference with search api db?

I am using the search api database backend together with a views (with exposed fulltext search field). I want to show a 'related field' that is related to a content type that is being indexed. When ...
0
votes
1answer
82 views

How to make custom module specific data searchable in Drupal 7?

I just created custom module with name example , And it has a form to enter data to it's specific table. I want to make the data in this custom table searchable with Drupal default search feature. ...
0
votes
1answer
20 views

Why are my prices showing up as unformatted (minor units) in a view on a search index?

Bit of an odd one here, I am experimenting with the Search API, Search DB and Views. I have a view based on Commerce Products. The view works, along with most of it's facets (but that's another ...
1
vote
3answers
115 views

Search API Referencing entity relations

I am working on a project where i would like to be able to create a search api view that has a relation to the referencing entity. The use case: I have a content type: Products page that holds the ...
0
votes
1answer
17 views

Make a Search view have the same options as a Content view

I have created a Content view that works perfectly, believing I would later add facets to it once Solr is up and running. Now that Solr works together with Search API, I realize that to use facets I ...
0
votes
1answer
27 views

SearchApiQuery - possible to remove a filter?

The query parameter that is passed to search_api_query_alter has SearchApiQueryFilter member. It contains a protected array of filter elements. I can add to this by calling the createFilter() and ...
0
votes
1answer
16 views

Is it possible to use search api indexs together?

I'm trying to create a search page for forum topics. Forum topics however are both posts and the comments attached to them, unlike other content the comments and actually posts are just as important ...
0
votes
0answers
67 views

How to rewrite Facet Items based on Views Exposed Filters value?

I have setup a Search API view to display business pages. User can filter (with Views Exposed Filters) these Business Pages based on Country, Category of services and Date. In addition, User can ...
0
votes
0answers
41 views

Search API - search string with “0” prefix

I have a problem with search api. I'm using database search + search api views integration in my website. Everything works fine, but i noticed that when i submit the search form with a query like ...
0
votes
0answers
69 views

Use Facet API to filter field collections on a node

When you add additional fields from a field collection to a search index the fields are associated only with the parent node, not also with the field collection itself. Is it possible to setup Search ...
0
votes
1answer
59 views

Facet API filtering on field collection items

I am looking at implementing the following usecase: I have a content type "Product" that contains a field collection "specs" with several fields. (weight, width, height, ...) I now want to create ...