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
0answers
5 views

Search API sorts module doesn't work with search API solr and search API ajax modules

I am trying to use Search API sorts, Search API Solr and Search API AJAX in my Drupal 7 project. Solr and AJAX work fine but when I try to sort, it doesn't work. The url is ...
0
votes
1answer
15 views

Theming views-exposed-form search block same like normal Drupal search block

On this page, top-right you see a custom views-exposed-form search block. How do i theme this, so it has the same classes and HTML structure as the one below (default Drupal search block)?
0
votes
0answers
19 views

How can I enable search on parts of a word and Autocomplete suggestions for Drupal 8 Search API?

I'm using search Api in Drupal 8. I tried with search API pages and even views, but I didn't find %like% function query Can I do %like% in search Api or Views?
0
votes
0answers
14 views

Search API Page - Display Snippet

I've setup Search API (using database service) with the Search API Page module. I set View Mode to Themed as Search Results, but when the page displays I'm getting the full, un-filtered HTML of the ...
0
votes
0answers
15 views

Apache Solr Not Indexing Entity References

Context: We have a Drupal site that uses the Inline Entity Form module to allow content editors to add sidebar callouts, in-content callouts, and full width content blocks on a given "Page" node. ...
5
votes
2answers
67 views

How do I sort or filter a View by proximity using Search API location?

I am trying to set up a Solr Search View with Search API Solr and Search API location, witch is sorted by proximity an can be filtered by proximity. To achieve that, I created an search index, ...
1
vote
1answer
11 views

Min/Max Facet slider not working

I am working on Search API. I am using Search API module, Facet API, Search API ranges, Pretty Paths modules to add facet filters. All the filters working fine like select list, checkbox but Min/Max ...
0
votes
1answer
32 views

How I can include Commerce SKUs in search result in drupal 7

How I can include Commerce SKUs in search result. I am using “Search API and Search API Solr” modules. Please help me out.
0
votes
1answer
22 views

Why Search APi detect wrong SOLR host?

Configuration view: As you can see Search API uses site base url as SOLR host which is obviously wrong...
0
votes
0answers
13 views

Acquia Solr Server is not working

I am working on a site which uses Acquia cloud for hosting. It uses Acquia Apache Solr (Server), Search API and FACET API. In FACET API, I uses all the required field and set the fielter widgets as ...
0
votes
0answers
10 views

Search API + Apache SOLR - No highlighted excerpts returned for stemmed terms

I have a Drupal 7 site using the Search API and Search API Apache SOLR modules to provide search functionality to site visitors. I'm running Apache SOLR 4.10.2 within my development Vagrant VM ...
0
votes
0answers
6 views

SearchAPI / FacetAPI min/max links

I am trying to build a facetapi widget for a range filter, like here: http://geizhals.de/?cat=hdssd&xf=2028_512#xf_top ("Kapazität bis"). Unlike search_api_ranges, here the min (greater than or ...
1
vote
1answer
90 views

How can i make my solr search case sensitive?

I am using search api and search api solr module, currently my search is case insensitive with following configration. <fieldType name="text" class="solr.TextField" positionIncrementGap="100"> ...
0
votes
0answers
10 views

Search API View exclude nodes with same Value(duplicates)

I am trying to create a view with the search API(indexed node view). My English is not so good so I have to describe the structure and what I want as result: The node has 2 important fields for this ...
1
vote
2answers
46 views

How can I display a Google map with Search API Views and Search API DB

I am using Search API with Search API DB, and Facets, with Search Views. I want to display a map to plot the results from the search. Is this possible? I have looked everywhere and can't seem to ...
1
vote
2answers
44 views

How to display nodes on front page with Search API?

I have installed the Search API, Facets API, along with Search Pages. When the user goes to the front page, I want to display some default node results. How can I do this with just the node results ...
0
votes
0answers
22 views

How use Search api saved searches module for Views?

I used module Search API, to search users and I used module Search API saved searches to save result after search. This problem is after searched then it not display "Save search" to save result after ...
0
votes
0answers
14 views

$pager_total_items giving wrong results count in custom search module

I am not too sure what happens but in my custom search module, the $GLOBALS['pager_total_items'] count is wrong on the first page. For example, I search for a term and it will display: Showing 1 - 10 ...
1
vote
1answer
18 views

Theme search-result pages individually?

We can theme the search-result pages within search-results.tpl.php and search-result.tpl.php. But as far at it is possible to create multiple search pages(e.g. in apache solr module), is it possible ...
0
votes
1answer
33 views

Search a content type and return JSON [duplicate]

I'm trying to create a JSON API that will return an array of JSON results matching specific search criteria. It will always be searching one specific content type, but will need to match custom ...
1
vote
1answer
19 views

Couldn't create range_filter for search index(commerce price)

I'v a Search Api indexing server, I've added an index for price on it, and I want to create a price range filter on my created view. I've added the price to the CONTEXTUAL FILTERS on my created view, ...
0
votes
2answers
19 views

How to create 'Partial' Search?

I'm using Drupal commerce and I was wondering if there is a way to do partial search? Current the search engine is only searching the exact word. E.g. Candy or Battery I'm looking to search with only ...
0
votes
2answers
33 views

How do I reset the filter options?

I enabled the facets for searching in a site running the Drupal Commerce Kickstart distribution. How do I reset the currently enabled filters?
1
vote
0answers
11 views

Facets: How to create user specific facets in Search API?

If I index user specific fields, like an Entity Reference field called Favorites. How could I add that as a facet that is specific to the logged in user, so only his favorites are filtered?
0
votes
3answers
53 views

Search Api custom field type

I have a field that concatenates multiple taxonomomy terms into a single text field. I have altered the existing module concat_field. This all works fine but I cannot get search API to recognize the ...
0
votes
1answer
17 views

Search api solr result reordering on field value

I'm using search_api_solr and search_api_location. I have a view with exposed filters to perform geolocation searches. I'm trying to reorder search result from a solr query based a referenced node's ...
0
votes
1answer
16 views

Display definition of the term searched for - above search results

Beginning a search on google with 'what is psych'... triggers auto completion with 4 suggested phrases - arrow down through each and you will see its definition appear above its pertaining results: ...
0
votes
1answer
26 views

Remove duplicates from field [array]

I am using php in views and trying to make a custom field to remove the duplicates in [field_trucks_notification_no_ref_node_eb:field_trucks_agency] field, i tried to use the row->field_name from the ...
0
votes
1answer
29 views

An error occured while attempting to process /ajax/ajax_facets/refresh:$.blockUI is not a function

Ajax facets work but I get an error "An error occured while attempting to process /ajax/ajax_facets/refresh:$.blockUI is not a function" when I click on ajax links with checkboxes for the facets for ...
0
votes
1answer
22 views

How do I add a 'Title' and 'Label

How do I add 'Title' to a search Engine? For Section 508 compliance i need to add 'label or 'title' to the following section : <input placeholder="Search" type="text" ...
1
vote
0answers
14 views

Search Api, solr, Facet api and facet with operators like > and <

I am using search api with solr, facet api and search api views. I have 2 integer fields and I am looking to add facets to allow the user to filter by value, like: Field 1 larger than: >10 >50 ...
0
votes
1answer
30 views

Search page shows empty fields of unpublished content

How can I make a filter to my search page that hides unpublished content? In filter criteria I only have global, indexed and search.
0
votes
0answers
36 views

Configuring the url for facet api and pretty path

Use Drupal 7, Drupal Commerce, Search_api, Facetapi, facetapi_pretty_path. There menu directory, built on the basis of a dictionary "catalog". When you select a block appears with the selection of ...
0
votes
1answer
31 views

Search API returning no results even though nodes have been indexed

I have a very simple set up as described below. modules: Search API 7.x 1-1 Search Pages 7.x - 1.2 Database Search Devel Generate I’ve set up a database server and an index for indexing nodes. The ...
1
vote
1answer
23 views

Reducing number of DB queries when using views, search_api and relationships

I have a view which uses search_api (and solr) to get a list of nodes, and then displays selected fields, including some from a relationship to commerce_product This is resulting in about a thousand ...
0
votes
0answers
8 views

search_api facet_api: multiple query, single index, single page

I have single index in search_api, on my page I render several views over this search index. On the breakpoint when I want to render my facets in search_api_current_search() I got an array of ...
1
vote
1answer
51 views

How to change core search result snippet?

I want to change core search result snippet. I tried with preprocessor theme_preprocess_search_result(&$vars) but in $vars['result']['node'] there coming basic fields values and rendered content ...
0
votes
1answer
49 views

Search Api, fulltext and string for search bar and facets

I'm trying to figure out how to make and indexed field (City) play nice with fulltext search exposed filter and a facet term. As of right now, a fulltext option works with the search bar, but splits ...
0
votes
1answer
78 views

How to strip html from Elasticsearch and search API index?

I'm also using the search API autocomplete module. When I start typing, the autocomplete shows fields with html code. What settings do I need to set to get the index to store correctly?
0
votes
0answers
19 views

How can I Ajaxfied the facet search block

I need to ajaxify the Facet API block with Database Search. Has anyone done this type of functionality.
2
votes
1answer
53 views

Which search method should I use? [on hold]

I want to add search option to my site but I can't decide what should i use. First, I give some info about my site of course; It will be a news site. It has a simple structure but in time there are ...
0
votes
1answer
48 views

Search engine for Drupal site, Apache Solr or ElasticSearch?

Hello Drupal community, I'm facing a issue for a new site that i'm developping. I need to implement a search engine and don't know which search engine to use between Apache Solr and ElasticSearch. ...
0
votes
0answers
45 views

Facet API block not displaying

To create a filter for my site I have installed following modules Search api, Search api db, Facet api I followed the steps mentioned in ...
1
vote
1answer
17 views

Drupal Search API Placeholder && Front Page?

I'm trying to get some placeholder text working for the Search API form, but have a different placeholder on the front page. Here's what I have so far which does work everywhere... function ...
0
votes
0answers
25 views

search api query operator IN

I want to search mix values inside $filter->condition e.g $mix = array(12,21) $filter->condition('category',$mix, 'IN'); But it is not working on search api query. Can anyone give me any alternate ...
1
vote
1answer
32 views

Need of re-indexing on search on Drupal site?

My client site has a table whose data is coming from Indexed view, sometimes updates made to the data wont reflect in the view table. Elysia cron is installed and up running, which should update the ...
0
votes
0answers
37 views

Show custom fields with Search API Database Search + Views

I'm indexing the title from one content type using Search API. When I try to create a Search API Database Search + Views, I can't render the other fields of that content type, I just can render the ...
0
votes
1answer
42 views

Search api solr deleted terms showing up in facet

Why would taxonomy terms that I have previously deleted show up in my facet? I'm using search api solr. There is no term named "23"; it is a tid, but tid 23 is not in the database yet my facet shows ...
1
vote
0answers
39 views

Add custom field to search_api_solr index

I've used search_api, search_api_solr, search_api_sorts, search_api_sorts_widget, nodeviewcount modules. I have tried to add custom field into search_api_solr index which contains number of views for ...
0
votes
1answer
64 views

How to enable spell check functionality of Apache Solr in Drupal using contrib modules

Apache Solr is designed to provide inline spell checking which basically makes suggestions if it thinks you have misspelt a word. I am trying to work out what is the most simplest way of implementing ...