This tag is for questions about the features of the Search module. Don't use it for the Search API module, or the Apache Solr Search Integration module.

learn more… | top users | synonyms

0
votes
1answer
22 views

Search indexing slow query

Drupal 7.x The search module's indexing maintenance sql query takes a couple of minutes to complete each time cron gets triggered. SELECT t.word AS realword, i.word FROM search_total t LEFT JOIN ...
0
votes
0answers
16 views

Search related content of the current page

I created a block of my products with "View" and "Search API". I want to show in this block, the related products using the title of the current page as a keyword. How to do this ? thank you I tested ...
0
votes
0answers
27 views

Search more similar results

I created a block of my products with "View" and "Search API". I want to show in this block, the related products using the title of the current page as a keyword. How to do this ? thank you
0
votes
1answer
23 views

Customize Search Result Snippet to use Teaser

I would like to customize the output of each search result item printed on the search result page. Right now it automatically prints a portion of the content of each item, but I'd like more control. I ...
0
votes
0answers
12 views

best drupal 7 module for top searches/popular searches [closed]

i am new to drupal. i want to integrate a populur search or top search with my existing search module something like this edmonton.ca whats the best approach to do this or which module i can ...
0
votes
0answers
12 views

Search index page manager pages, panels content

I'm trying to set up search on my Drupal 7 site, using the Custom Search module. I have some custom content types which are returning results as expected, but within the results, I'd also like to ...
0
votes
1answer
34 views

Twig template for search results page

I'm attempting to create a custom template for the search page located at 127.0.0.1/search/node I've created a template called search-result.html.twig in my theme/templates folder which allows me ...
0
votes
0answers
10 views

Filter within entityform submissions' field

Is there a way to search for entityform submission which contains certain value (e.g. name) within particular field? I want to add this functionality for admin user to ease them to administer ...
0
votes
0answers
10 views

Reuse fields so multiple content types can be searched?

Here was the idea. I want to be able to find all different content types from the same state. The idea is as follows - let's say 3 content types: Blogs Info Rules Each of these content types would ...
3
votes
0answers
39 views

How to sort view search results by giving custom relevance weights?

I am using Drupal 7.43 and core search module. I use "Search: Search Terms" for filter criteria and "Search:Score" Sorting criteria in my view to sort my results according to relevance. But, for ...
1
vote
1answer
11 views

Solr ignoring NOT but works with “-” and “!”

I have a apachesolr module which works well except in one case. I'm not sure what happens when NOT is entered in query, it behaves as OR. It even works for ! and - case. For eg. "apple" -"orange" //...
1
vote
0answers
11 views

Content type biasing in Apache solr module for single content type

I am working on displaying the search result using solr search and apache solr module in D7. I have few content types let's say Article, Blog, Video, News, Story, Page etc. I have given weight to ...
0
votes
0answers
30 views

Google CSE module search form removed in d7

In Drupal 6, the Google custom search engine module provided forms for the search box and the search results. It appears that these have been removed in Drupal 7. I reinserted the 4 functions below ...
0
votes
0answers
15 views

Add Custom Fields to Apache Solr's Search Results

I am trying to modify the search results on our Drupal 7 site using Apache Solr search. Similar to this post. We have a custom field called "Page Display Title". I want to get the value from that ...
1
vote
0answers
38 views

Need help with URL for filter

I have 4 taxonomy vocabularies: city, manufacturer, what need to do and addition. In search block user select parameters, one for one vocabulary, and goes to the page like sitename/filter?f[city]='...
1
vote
1answer
22 views

Can you restrict core search to the current language?

I can't figure out how to restrict results to current language other than crude theme preprocess hacks to inspect the language of individual results. I haven't had luck getting contrib search modules ...
3
votes
1answer
52 views

How can I show just one content with 5 images

I create search page with views in Drupal 8. In filter criteria, I choose "Content: images:target_id" because I want show contents that have images. (I set operator to not empty.) If a node has 5 ...
0
votes
1answer
25 views

Isn't there a way to configure the existing search system to exclude content types and/or nodes from the search index?

As far as I see, the search api has no effect on the existing search. This video here indicates that you have to supply an own view for the search results. Isn't there a way to configure the existing ...
1
vote
0answers
41 views

Proximity Search? [on hold]

Is there a working solution for proximity search in Drupal 8 yet or is it a case of waiting for the modules to be redeveloped? I want to help a user find the closest establishment to them within 100 ...
1
vote
0answers
12 views

How do I create an instance of a search plugin?

I created a custom search plugin to index and search a sub-set of taxonomy terms and their fields, as these are used as landing pages. In addition, we are using the node search. This gives us two ...
0
votes
1answer
24 views

How to sort views by content type when using core Search module

I use a View to show search results (core Search module). In the view I have grouped the grid on the field "Content type". This works fine, each content type is shown under it's own title. But under ...
0
votes
1answer
41 views

How can I create special search with check/uncheck image field in filter criteria of views

How can I create special search with check/uncheck image field in filter certia of views module in drupal 8 ? I want if users check image field checkbox and click on "go" button , they whatch only ...
1
vote
0answers
14 views

Search result problem with Taxonomy Term-Names in the result

I need a solution for following Drupal 6 problem: In my search results, taxonomy terms are appearing in the summary -> https://www.dropbox.com/s/reg4yebpuwvgref/Screenshot%202016-06-03%2009.13.47.png?...
2
votes
1answer
38 views

How to translate the search block title?

In Drupal 8.1.1 I am able to translate customs block and basic blocks (block type). The search block seems not to be translatable. But I need to translate the title of the standard search block. I ...
1
vote
1answer
17 views

Views Page Not Appearing in Search Results

Using the views module, I've created a page (view) that contains a certain content type. This page doesn't show up when searching the site. Is this expected behavior? Is there any way to make the ...
1
vote
1answer
18 views

Search according to language

We are using 3 different languages by multilingual module. If we search by the English word, then search content should be in English, and if we search by Marathi/Hindi word, then search content ...
1
vote
1answer
25 views

How do I get rid of the <h1>Search</h1> at the top of the search results page?

A customer of mine insists on having Search Results as a heading. I can set this on the block I have created using the Custom search module. How do I get rid of the <h1>Search</h1> at the ...
2
votes
1answer
26 views

Search multiple fields from one text box in a View

I have a database of articles with some taxonomies to classify each article. I also have a view that also contains a faceted search and uses filters to create dropdowns for the taxonomy fields using ...
1
vote
0answers
24 views

Search fails with special characters [closed]

Searching is not working when the search string contains special characters. For example, when we search &$#%^@, we are redirected to http://example.com/search/node/&$#%^@. There, if I search ...
0
votes
1answer
24 views

Is it possible to index custom page content?

I have created certain pages and blocks using web services programmatically.The content of those pages is fetched from outside the existing Drupal installation and they are not getting indexed in ...
1
vote
0answers
10 views

Support for special german characters in Search

We are creating search for a German language website. Search should support German special characters, e.g. "ß" is generally also written as "ss". A search for the name "Meißner" should also return ...
0
votes
0answers
5 views

Overriding default search view

I am trying to style and adapt the Search module. When searching for nodes (/search/node) this modules renders (in this order): A search form A <h2> tag The list of results I would like to ...
1
vote
1answer
34 views

Equivalent to template_preprocess_search_results()

Is there something equivalent to template_preprocess_search_results() in Drupal 8? I just realized that this function has been left out in Drupal 8 for some reasons, although ...
1
vote
0answers
40 views

How to reindex a particular node in Drupal 8?

I want to index particular node on update, insert how to do it in Drupal 8? In drupal 7, we use the function function _node_index_node() I want to use the same function in drupal8 for my Drupal 8 ...
0
votes
2answers
22 views

Alter Drupal search URL

I have a third-party vender that provides particular information for us when queried. Basically, we need to change the URL of the search results page so that their supplied javascript can contact ...
1
vote
0answers
24 views

Search box using Googles places API to search Leaflet map

I'm setting up a business directory for Bangkok with hotels based on the BizReview theme/installation profile. SETUP Content type In order to store bussiness locations I use a content type with a ...
3
votes
1answer
60 views

How to highlight search results views?

I created a view to replace the search default of my website. So I explained the form in a block. Everything works fine, but I would like to highlight search terms in the results.
1
vote
0answers
96 views

Drupal 8 - Core search module, change markup

How do i change this markup from my .theme file? Line 119 in \core\modules\search\src\Controller\SearchController.php if (count($results)) { $build['search_results_title'] = array( '#markup' ...
1
vote
0answers
15 views

How to build a multicriteria search form leading to faceted search

I have seen a Drupal site that looks like this and it has an interesting search form that has several options for each field to search. This form is filled out (and can be expanded or contracted) and ...
1
vote
0answers
14 views

Search API displays

I have added a Server and selected "Database Service" as the Service class then I add an Index and select the server I have created and then I select node and then when I save I have the Server Index ...
1
vote
2answers
191 views

How to replace the search submit button with a Font Awesome character?

I would like to replace the search submit button with a Font Awesome character like the Magnifier (Search Icon) character, and put Search the site inside the search box. How can I achieve this?
4
votes
1answer
79 views

How to create a simple form to redirect the user to entered URL?

I want to create a simple form to redirect the visitors to a relative path they enter. I created a search page with views and it has lots of exposed filters. I don't want to use this exposed filter ...
0
votes
1answer
19 views

Restrict search results to only documents user can see

In my application, I have a content type called resource. In the resource content type, I have an entity reference that defines which roles should be able to view that resource. When somebody is ...
0
votes
1answer
24 views

Empty search redirect to Home page

I am using Drupal 7 and my search functionality is not working properly. When I click on search button without enter any keyword it redirects to home page with showing the message Please enter some ...
0
votes
0answers
11 views

Block for selected criteria that allows removal of criteria

Currently using basic search and Views. I'm curious to know if it's possible to have a block that shows above my exposed search criteria that displays each option a user selected in the exposed ...
1
vote
1answer
28 views

Drupal Views Search: Creating an Exposed Filter with Checkbox Options

Using basic search module and Views to make a search interface. When I create an exposed filter for a field with multiple options I only have the option to choose 'dropdown' or 'autocomplete' for ...
1
vote
0answers
25 views

Problem with DOT in the search query

If we search something like "..." or anything that has a DOT in front of it, the page will go to forbidden error (url: /search/node/...) if clean urls are disabled It will work fine . Please help......
1
vote
1answer
20 views

How to implement facets in Views

I'm trying to implement a search function with location in Drupal. At the moment I have a base setup with a custom Content Type (Discount), which has a Geofield parameter. This gets indexed in Solr ...
0
votes
1answer
23 views

How are the default search results are sorted on D7?

I have a basic search configured on my site. I wanted to know how is the default search results are sorted in drupal, is it by the number of words found on the content or based on date the content is ...
0
votes
1answer
30 views

Create Custom Search and result page

I am trying to create a custom search page with two input fields. Company Name and Certification Code are two fields to be entered by user. I have a content type called certification and the search ...