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
14 views

title in url instead of tid?

How can I display the title in URLs instead of the taxonomy ID? www.abc.com/search-page?tid=01 should be www.abc.com/search-page?title=this-is-the-first-post. I am using Taxonomy Terms as Search in ...
1
vote
0answers
29 views
+50

Suppress search facet results until explicitly selected?

I have a product database setup using Apache SOLR, Search API and Facet API. I have all facets working and products are shown in a Search API view, but I would like to suppress one item until ...
0
votes
0answers
5 views

Search API Index fields getting unselected

I am using Search API to define search pages and facets and I connect to a Solr engine. My search has been working perfectly until recently, after my last documents have been indexed. Now, every so ...
0
votes
0answers
19 views

Panel Page in search_api

How I can add panel page to my solr search in my site? I tried use contrib module page_manager_search , have erro with no log messege can't be indexsed Maybe anyone have solution?
0
votes
0answers
16 views

External search with respect for node_access

for my Drupal site I need a search backend (preferably Lucene, Solr or Elasticsearch); as access controls are far too complex for grants (especially, some access varies by time of day), I have a (at ...
2
votes
1answer
31 views

Search API path make SEO friendly

I am using Search API. I make a view of all the indexed entities and uses Taxonomy term as Contextual Filter. But the path of view is not SEO friendly. The path is like http://www.example.com/en/Real%...
0
votes
0answers
17 views

How to get solr search relevance in view

I configured search_api, search_api_solr and configured solr server. I created rest export view, using fulltext search index. Now, in my view I have search_api relevance field, which I would like to ...
0
votes
1answer
21 views

Return content type

With core search, in template_preprocess_search_result() I could access $vars['result']['type']. Switching over to Search API Solr, how can I access node type and send it to the theme? Content type is ...
1
vote
1answer
51 views

Creating view using Index results in “plugin does not exist”

I was having some problems with Search API after adding my second index (using DB not Solr). The index I was trying to create was supposed to just be the body and title of a content type. I was able ...
0
votes
2answers
19 views

How to show Search API search box? No block available, nothing from <?php print render($search_box); ?>

I'm updating a site to use Search API (with Search API DB) instead of the built-in search module. I've set up my Search API server and search, indexed everything, and now am just trying to replace the ...
0
votes
0answers
10 views

Phrase search in quotes not working in views

I have fulltext set up in a view using Search API along with a faceted search. In the Advanced - Query Settings - Parse Mode I have set as Multiple Terms. It says there: The query is interpreted as ...
0
votes
0answers
10 views

Entity is in queue for solr

We are using Search Api, Facet Api and Search api solr in website. We have configure solr at our server but we are getting issue that content is not indexing properly. We have also check in error ...
0
votes
0answers
89 views

where are the facet blocks for search?

In drupal 8, I have added couple of facets at this page /admin/config/search/facets According to the documentation I should now have some blocks to put on the search page. But I do not see any ...
0
votes
0answers
9 views

Search API Autocomplete not working with search_api_db

I have created a view page for search functionality. Following modules I have enabled: Search API Search views Database search Entity API Views Views UI Ctools Search API Autocomplete I followed ...
2
votes
2answers
69 views

Building a search View that respects access control

I'm implementing search on a site using taxonomy access control with search api and search api solr. Reading the help page node access section, I see: Needs details on how to build a View that ...
0
votes
0answers
16 views

Pivot facets with Search API Solr

Does anyone know if and/or how it might be possible to use Solrs Pivot facets with the Search API Solr module without too much custom coding? I'm reviewing this as an option to cope with multivalued ...
0
votes
1answer
23 views

Search API Solr Autocomplete no results when more than x Nodes indexed

I encounter a strange behavior on a site I'm working on. I use Search API views exposed form for autocomplete. My nodes reference nodes of another content type. The title of this referenced node's ...
0
votes
1answer
35 views

How do print the query which is built using search api

I have created a view using search api now i just want to print my query.But when i used hook_views_pre_execute(){ dpq($view->build_info['query']); } it does not show my query.
0
votes
0answers
55 views

Indexing problem of Multi-valued field

After applying the indexing to the multi-valued field, it still doesn't seem to be working. I've tried creating the Fuzzy search view and adding this multi-valued field to this view. However, this ...
1
vote
1answer
31 views

Exposed Filter Fulltext Search having the Searched fields as options along with the text box

I have created a exposed fulltext search filter with the searched fields["tile", "Description","Keywords"]. This brings the widget to the form as a textfield, which searches the input for all the ...
0
votes
0answers
16 views

Flag counter code problem when using in views with global php

I added below code to show flag counter of content in views, but this code only shows "0". I want This code display the number of times a node is flagged by a certain flag by Users <?php $...
0
votes
0answers
27 views

Special Character in Search API Index

I recently created an index for my search but I found a problem that it seems automatically strips out all special characters such as period(.) and ampersand(&). This means that the special ...
1
vote
0answers
25 views

How do I add another field to facet for conditional filtering

I currently have a facet block that lists all sizes available for a certain category. The sizes come from a taxonomy vocabulary. I want the sizes facet block to only show the sizes that have stocks > ...
0
votes
1answer
63 views

Add flag counter in views Module(Search API index)

I want to add flag counter of content in views field. Authenticated users can flag(bookmark) contents. I want to know how many users flaged a content, And I want to add this in views field(display the ...
0
votes
1answer
25 views

How do I get Search API to index rendered content including referenced nodes?

We are building av website in Drupal 8 where the content is divided into 3 content types; Basic Page, the scaffold for all visual pages like "About, Features etc." Content Block 1, for a layout ...
0
votes
0answers
35 views

Search API price not display

can you explain to me why when I enter the keyword "savon" Price does not appear and when I type the keyword "olive" the price appears. I wish the price is displayed. enter link description here enter ...
0
votes
2answers
39 views

Update to Search API 1.18 causes HTML to be displayed as plaintext

A security update to Search API (7.x-1.18) adds new sanitation as a security measure. Great! ..Except it now causes my custom field to be displayed as plaintext instead of HTML. Here is the ...
0
votes
1answer
34 views

Search API highlight

using the search API module I highlighted the search text. Key words take the whole width of the block, how to insert them in the text? my current setup is: Highlighting prefix : <p class="views-...
0
votes
0answers
15 views

How to add flag counter of content in views module(Relationship between Flag, Views and Search API Index)?

I want to add flag counter of content in views field. Authenticated users can flag(bookmark) contents. I want to know how many users flaged a content, And I want to add this in views field(display the ...
1
vote
0answers
14 views

How to categories “custom search” results.?

I want to categories the custom search module results in 4 tabs. Ex tabs: Products,Downloads, News, FAQ. Can you help on this? Thanks in advance.
1
vote
1answer
39 views

Search API / Facets: How can I define a range / manipulate the search query in D8?

I've defined a facet for the field "Authored on". I'd like to create display filters like "current week", "current month", etc. on my website. The creation of the links was no problem. I have facet ...
1
vote
0answers
21 views

missing content within result of hook_views_pre_render

Am trying to alter fields output programmatically. Most of the posts state that they achieve this by updating content of result array. But in my case there is no content except entity-id with some ...
0
votes
0answers
12 views

How to catch the currently indexed node id by Search API?

My Search API indexing is stuck at a node, and fatals with memory exhausted php error. I suspect a node may be corrupted. How can I output the node id where the queue is stuck? Perhaps echo it ...
0
votes
1answer
59 views

Solr 5 incompatible schema.xml

An error kept showing after installing Search API for solr and after creating a server on drupal. (Solr 5.x) You are using an incompatible schema.xml configuration file. Please follow the ...
0
votes
0answers
14 views

How can I count how many times Solr searches are made?

I want to count how many Solr queries my site makes per day or per month (if possible). I'm using Search API Solr to search two different indexes, and all of my searches go through Search API Views. ...
1
vote
1answer
23 views

Use different indexes for Solr searches on local dev environment

I'm using the Search API Solr module for search on my Pantheon site. Pantheon's Solr module automatically sets the search index for the dev, staging, and live environments. But now I want to install ...
0
votes
0answers
9 views

Change order of search results by entity bundles

I have configured a view to show the search results and I also have grouped the output in Views (Grid -> Settings -> Grouping field no 1 is set to "Content type"), so that each content type is shown ...
1
vote
1answer
27 views

Why are Drupal hosting providers using Solr 3.x instead of 4.x or 5.x?

As of April 2016, Acquia offers Solr 3.5. Pantheon offers Solr 3.6. Platform.sh offers Solr 3.6 by default, with 4.10 as an option. The current release of Solr is 5.5.0 (2016-2-20). 3.5 was ...
0
votes
1answer
48 views

Adding node into search api solr programatically

We are importing large number of data into our drupal website with custom script and we are using Search api and Search api solr module into our website to index and search large number of data. When ...
0
votes
1answer
43 views

Search API: getAutocompleteSuggestions in D8?

How can I use the function getAutocompleteSuggestions() in Drupal 8? In Drupal 7 you could do something like this: $query->getIndex()->server()->getAutocompleteSuggestions($query, $this->...
1
vote
1answer
9 views

Making columns into sort asc/desc in search api-based view

I've created a search page using Views and 'search api'. I've got my results showing in tabular format with the labels in a above the results returned. But I can't figure out how to make each label/...
1
vote
0answers
8 views

Location Module Fields not showing up in search api fields

Is there a way to show location fields using the location module in Search API fields?
1
vote
0answers
27 views

How do I create more than one search page in solr?

I am using the search_api_page module; creating a second search page gets me a WSOD with the following error: The website encountered an unexpected error. Please try again later. ...
2
votes
1answer
65 views

How to add filter 'fq' in drupal 8 search api solr?

I have 4 different content types, for those I have create 4 different search pages based on the page view I need to alter solr query. In D7 we have addFilter('fq'). How can we do it in D8?
1
vote
0answers
25 views

Index data under Solr from a SOAP web service to expose them via Search API (views)

We have to expose a subset of an external database coming via SOAP. To keep it simple, let's say that we have to handle products, product providers and product categories under Drupal. Products are ...
1
vote
1answer
37 views

Facetapi combined filter of city and zip code

I am using address field module with search api and facetapi modules. I want one filter of two fields, city and zip code. Which will be an autocomplete field. I have used the Search API Combined ...
1
vote
2answers
27 views

Can Search API filter “Index full entity” be used in Search API views?

I have set up a Solr index for user profiles on my site with the Search API Solr Search. The profiles are pretty complicated-- several relations, lots of fields, and many theme templates to render ...
0
votes
0answers
38 views

FacetAPI with many facets / blocks- how to improve performance?

I have a Drupal 7 site on Pantheon that uses Solr via the Search API and Facet API modules. I have one giant index of user profiles, and I have created 33 facet API blocks to search this index. ...
0
votes
1answer
74 views

how to add dropdown checkbox list in to the search api(facet api) display widget?

I want to have a checkbox list in search api(facet api) display widget. links with checkboxes not user friendly when you have many items, but checkbox list is user friendly. I mean dropdown checkbox ...
0
votes
1answer
22 views

Should views search specific caching skip preprocess?

Problem I have a view powered by the Search API, which uses the views inbuilt caching - "Search Specific" in order to provide better performance. However I also run a number of theming alterations ...