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

0
votes
1answer
15 views

How do i search within views results?

Consider i have a view which filter some Content Type according to a specific field. I want to place a search box in the view page so the results of the view can be search able. Is there a module? ...
1
vote
2answers
14 views

How to use user feedback from Webforms

Say I want to ask the user to rate articles on usefulness from 1-10. How can I apply that rating to weight calculations for future searches of the same issue/tags? I would like the most useful ...
0
votes
0answers
9 views

Facet Block : only 10 items are shown

Using Search_api, search_api_db and facet_api. Ive created a view display using 'Facet Block'. Ive set the facet field to the one I want to use. The facet configuration of this field has no listing ...
0
votes
0answers
13 views

Commerce Price field as a decimal field in Search API has no formatter?

I indexed a Commerce Price field amount as decimal in Search API, and when I try to use Search API Slider the min max values show as 1544 - 1766 instead of the properly formatted 15.44 - ...
1
vote
1answer
12 views

Search API module causes server error when saving index fields

I am very new to Drupal, so please let me know if I'm doing something wrong. Using the Search API module, I would like to go change some fields of my Node Index. For example, I would like to uncheck ...
0
votes
0answers
5 views

Output form api_search or replace standart search

I use solr searsh with api_search and i want replace custom search and use solr. How do it? when i use $block_search = module_invoke('search', 'block_view', 'search'); print render($block_search); ...
0
votes
0answers
15 views

Get exoposed form from views

I try output exposed form $view = views_get_view('search_results'); $view->set_display('page'); $view->init_handlers(); $exposed_form = ...
-1
votes
0answers
10 views

Node post date facet filter: Display only year

I am using search_api and facetapi for creating search page. On the search page I want to display the node post date facet filter. But it displays the date complete date(day/month/year). I want to ...
0
votes
0answers
4 views

How to consolidate three search options into two

I am trying to take a field with three values and consolidate it into two. I'm using Search API and Facet API. The field in question is a gender field with the following options: m (male) f ...
0
votes
1answer
6 views

Search API- How can I check the value of an aggregated field without direct access to Solr?

I'm using Search API Solr on Pantheon (which means I don't have direct access to the Solr backend), and I've set up an aggregated field in the UI. This aggregated field is a Fulltext aggregation of a ...
1
vote
1answer
81 views

How do I exclude the current user from the search?

In a normal Views user search, you can simply add a User: Current filter to remove the logged-in user from the search results. I have a Search API Views search of a Solr index of users, and I want to ...
0
votes
1answer
30 views

Options in facets disappear when more than one value is selected [closed]

We have setup a custom search with Search Api and Search API Solr Search. In a facet we want to allow the selection of multiple values, with the normal link widget. We have configured the facet to use ...
0
votes
0answers
6 views

html_title module is not working in case of indexed content view

I am using html title module for using html tags in node title. It is working fine on node and other pages , But I have implemented search using search api and apache solr . So search content is ...
0
votes
1answer
14 views

Change Search API Facet title for boolean values

I have my shop set up in Drupal Commerce. I have added search API and configured facets for things like taxonomy terms, which are perfect. However on my product display nodes, there are a set of ...
0
votes
0answers
13 views

How to implement advanced search?

I want to implement advanced search in which user will be having two options with search box as below. User Search Site Search For search engine i am using solr search.I didn't understand how to ...
1
vote
0answers
21 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
30 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 ...
1
vote
1answer
50 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 ...
2
votes
1answer
57 views

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
13 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
11 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
16 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
8 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
22 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
13 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
27 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
62 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
15 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
1answer
35 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
19 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
30 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
35 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
17 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
41 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
33 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
34 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
21 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
30 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
31 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
10 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
32 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
8 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
29 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
42 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
56 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
19 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
9 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 ...