Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Use it for the Drupal core module or any module extending its functionality, or aiming to replace it.

-2
votes
0answers
18 views

Keyword relevance issue

I am using Seach API with my database server. I created a view with an exposed filter to search on the Title field with Views Autocomplete. When I search for a word like apple, the view autocomplete ...
0
votes
0answers
15 views

How to enable the bundle filter callback (data alteration) programmatically?

I want to enable the bundle filter in the search api through code. Is it possible using a hook? or it can be code through a custom query? I checked this hook ...
1
vote
0answers
13 views

How to link from a group of fields in a View?

I am using the Search API module in Drupal 8.6.3 and I have a page of search results displayed using Views. Each search result row consists of a number of fields. I would like to link each whole ...
0
votes
0answers
12 views

FACETS : Add “Apply” button that will apply all filters in one query

Is it possible in D8 to add an "Apply" button that will apply all facet filters in one query and not having an ajax reload on each option changed ? i find this for D7 : https://www.drupal.org/...
1
vote
0answers
17 views

How to use wildcard search in apache solr search module?

I am working on apachesolr search module. I want to implement wildcard search I have used hook_apachesolr_query_prepare() function to modify apachesolr query but it is not working can any one give ...
0
votes
0answers
6 views

Search result from tokens

I need to customize my search result page. Now I don't have cpanel access so what modules can be used to do that? Another thing is that the search result page is generating and displaying result using ...
0
votes
0answers
21 views

Index Menu items using Search API

I've created a search for all the content of the site and it returns the nodes just fine. But I also want it to return the Menu items and boost them. Example: I have a content type Cars, and I've ...
0
votes
0answers
6 views

How to get Better Exposed Filters Full-Text Search with Autocomplete to not give “no matches” when user enters entire word?

I have a BEF with an autocomplete full text search for my DB Search. Right now if I enter the word minus one letter I get all the suggested terms that are appropriate, but if I enter the whole word ...
0
votes
1answer
12 views

Config changes only propagated via manual form submit

My question is related to the Search API Drupal 8 module. I am modifying my configuration via config file updates. After I am installing my custom module, I can see my config reflected in the search ...
1
vote
0answers
11 views

Add granularity year expose filter to a Search API indexed result

I have a search API views that I'd like to add an exposed Date filter so people can have a dropdown with only Year in it is it possible to achieve that? what field should I index? (Post Created) and ...
0
votes
0answers
24 views

When Using Views Group By - Programmatically move a grouping to the end

I've got a Apache Solr Views display where I'm using "Group By" to group the results by a particular taxonomy term. I'm then sorting the results so the taxonomy terms appear in ascending (...
0
votes
1answer
29 views

Does Search API index custom fields?

I am using search API on my website (Version 1.8), I have a problem with indexing custom fields. In the Configuration -> Search and metadata -> Search API I have added the custom fields to be indexed, ...
0
votes
0answers
126 views

Result of search not displaying

I have a module that automatically creates a view (via YAML) that displays indexed content, supposed to be searched by the users (Filter Criteria : Fulltext). When installing the module, the view is ...
0
votes
0answers
21 views

How to index multiple values with Search API?

I am using Search API for my website. The content entity has a field "Creator" of "Entity reference" type and may contain unlimited values. In the configuration tab I have performed all necessary ...
-1
votes
0answers
7 views

How can I integrate Flag module with Search API and Views?

I need to use Search API and Views have robust filtering options. I'm using the Flag module so that users can flag content and then I use the Flag module Filter and sort criteria integration within ...
1
vote
1answer
17 views

Is there a way to add non indexed fields to a search api view?

I’m wondering if it’s possible to add non-indexed fields to a search API indexed view? I want the standard flags fields to be available on the indexed search view. And I was thinking I could do this ...
0
votes
1answer
41 views

Search is not throwing any result

It is Drupal 7. This is kind of strange behaviour of the website. This is my website http://www.protecdental.com. If you visit this website, you will see the right-hand top search field. Please see ...
0
votes
0answers
20 views

Exclude in result search node Content Type and Language

I'm use this module Search Exclude I want exclude content type and filter to by languague. Search Exclude (Node) I use this module because is practice, simple and easy compared others module of the ...
0
votes
1answer
34 views

Search API for searching in existing Solr Core

I'm using Drupal 8 with Search API and Search API Solr Search. I'm tasked with making an existing Solr installation searchable within Drupal. This core indexes PDFs and serves other systems, thus I ...
-1
votes
1answer
26 views

Core search is not searching content in the node which is fetched through an entity reference field

Core search in Drupal 7 not searching the content in the node which has been fetched through an entity reference field. What could be the solution to search for a keyword in all pages of the website? ...
-1
votes
1answer
27 views

Search result - 500 error

My Drupal 7 websites started to throw 500 error when I see the search result page. How to replicate: When I enter any keyword and hit search button then I see this URL "http://www.website.com/search/...
0
votes
1answer
21 views

Why do the facets display the wrong amount of results ?

I have two facets that are bound to the Content Type and the Publish Status of my content. When I do simple keywords search, it works properly, the amount of result corresponds to the real results ...
1
vote
1answer
92 views

how to make a custom exposed filter for SOLR view with hook_views_data_alter

I need to make a custom exposed filter for a view , and I found an example that does it for nodes, but the filter does not show up for my view which is using SOLR so it has 'content datasource' ...
0
votes
0answers
11 views

Apache solr search suggestion result return empty

I am working on drupal 7 in this we have installed apche solr and apche solr autocomplete suggestion module. In my site node titles data are websites name (like amzen.com, google.com, qtern-hcp.com"). ...
0
votes
0answers
14 views

Site re-indexing not happening

I am working on a Drupal 6 site. Facing an issue: Site Re-Indexing not working. Even if after running the cron successfully. I have already gone through google search and Drupal forums. Can ...
0
votes
0answers
16 views

Fulltext Search in Entity Reference Autocomplete Widget

Given: Node type "Article" with fields: title, entity reference field "Related article" to node "Article". The "Related article" field is shown as an "Autocomplete" in the article form. Search API ...
0
votes
1answer
30 views

Why is my view not displaying Solr index results?

I have a multilingual site and I created a Solr server, created an index (for all content types), added fields, generated the search (it displayed that all my nodes were succcessfully indexed 8/8), ...
0
votes
0answers
51 views

How do I add operations?

I'm using Search API module. I have created Content Search Index. By default it's not providing Operations (Edit/Delete). In module.theme file function HOOK_views_data_alter(array &$data) { $...
0
votes
0answers
22 views

How can I alter the result of a view search?

I am building a view block with a full-text search filter and it's working fine. But now I want to get rid of some of the search results when the user searches for some certain keywords, how should I ...
0
votes
0answers
20 views

How to search for exact match [duplicate]

Is it possible to search for an exact match with the Search API module used on a Drupal 7 website? When searching big kangaroo it looks for big and kangaroo but I want to have an exact match. So I ...
0
votes
0answers
7 views

Search Api Result Link to Paragraph instead of full Article

Is it in any way possible to link from a search result to a paragraph where the found word is in, instead of to the full article? So I have an article build up with paragraphs from the paragraph ...
0
votes
1answer
42 views

Drush 7 @self picks configuration from aliases.drushrc.php randomly

I'm trying to index Search API Solr using Drush 7 on platform environments, but the drush search-api-index command is failing for a very strange reason. There are clues of the problem below, but I'm ...
0
votes
0answers
18 views

How do I construct the path for Search view using D8 Core Search, and access it consistently

I've created a search page with the url search/images. I'm creating a custom View for a search page using the D8 core search (site size/traffic volume is such that core Search should be OK). I've ...
0
votes
1answer
34 views

Why are my search results not showing when I input any body text?

Why my search result not showing when I input any body text ? Are search results based on node title only? I am creating a multilingual site with French and English languages. Users should be able ...
0
votes
0answers
31 views

Configuration question:, unable to enter terms into search box

The search_block_form is not working for the administrator role. An administrator cannot input text into the search_block_form box field. However, an administrator user can use the /search node and ...
0
votes
0answers
37 views

Search API Attachments not linked with Search API Content

I am trying to implement the Search API Attachments module on our Drupal 8.5.3 server with a Tika 1.18 instance running in the background. I am using a Solr 7.4.0 server to provide search ...
0
votes
0answers
14 views

How to make default search result language specific? [duplicate]

Am using default search in drupal 8. My site is working with english and and arabic. I want to make search result language specific.How can i do this?
0
votes
0answers
20 views

Which template for search without results

I created a view for the search-api and can customize the results-template with the following hook: views-view-unformatted--my-search--search-results.html.twig However, for searches which yield no ...
0
votes
1answer
25 views

Is there a way to search Drupal's and contrib modules configuration settings?

With so many different modules in use with configuring Drupal it is hard to keep track of which settings are configured where, such as whether some CSS is set by the Code per Node or CSS Injector. It ...
0
votes
0answers
20 views

How to customise the content of the search results page

There are twig templates available for customising the individual results items, and the pagination, however, how can you customise the content on the search results page before the item list. For ...
0
votes
0answers
13 views

how to set a default active facet based on taxonomy term?

Using facets module to work with search api, I am trying to set an active facet based on the taxonomy term from category field present in the content type when a user visits the node/content. Content ...
0
votes
1answer
54 views

How do I create a search page?

I have the Search API and the Solr search modules installed. In /admin/config/search/search-api, I see my server and index created and with status set to OK. I can see on the index view page that my ...
0
votes
1answer
35 views

How to filter Search API index view by taxonomy parent

I am using the default database server that comes with search api. I have the Hierarchy Index ticked and I also have the taxonomy field that I want selected. Could someone give me instructions on how ...
0
votes
1answer
34 views

Rendered Entity not apearing under Show

I created a new index and I've created a view with it but it only has the options to show as Search Results & Fields. Is there something that has to be done when configuring the index to get ...
1
vote
1answer
311 views

How can I override the search result page title dynamically?

In my Drupal 8 site, I am using the default search page. If I enter a key word for search, example:article And all content will be listing under "Search Result". I want to show like "Search result ...
1
vote
0answers
87 views

Display Search API query execution time in search view

I am trying to show the query execution time in a View where I'm using the Search API module to return results from an index in Apache Solr. I am pretty sure that in the past I could print something ...
1
vote
0answers
35 views

Grouping the results from a view

I have created the view of indexed fields of custom entity products where I have data from various vendors like Amazon, Flipkart, Ebay. For indexing, I have used search_api module (database search). ...
0
votes
0answers
20 views

How to re-index nodes using search API?

On exploring search_api.module file, there mentioned few hooks.Is there any practical demonstration how to use search_api_index_reindex hook? Basically I'm trying to re-index nodes, after executing ...
0
votes
0answers
12 views

Copy Menu Items From Facet Menu to Main Menu

Working on Drupal commerce 2, I want to have product categories in my main menu as submenu items for which I first tried to use taxonomy menus but unfortunately default taxonomy results only works ...
0
votes
1answer
24 views

Nodes not get indexed after running manual cron

I'm experiencing some unexpected behavior of cron. I have used search_api module, that should index all nodes. Automatic cron is set to 1 hour. So after every hour, cron will run automatically. So, ...