The Search module is a core module that exposes an API other modules can use to allow searching for data in Drupal.

learn more… | top users | synonyms

0
votes
1answer
8 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" //...
0
votes
0answers
9 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
23 views

Google CSE module search form removed

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
12 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 ...
0
votes
0answers
33 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
20 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
51 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
22 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
28 views

Proximity Search in Drupal 8

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
9 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
19 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
38 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
32 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
15 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
18 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
21 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
8 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
27 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
38 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
21 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
18 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
49 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
76 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
161 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?
3
votes
1answer
65 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
20 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
26 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
24 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
18 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
21 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 ...
1
vote
1answer
33 views

Fixing bad node that makes search not index, but completes cron

Upon updating to the latest version of Drupal 7, the following errors presented themselves in the site: Warning: Creating default object from empty value in node_build_content() (line 1398 of /var/...
1
vote
1answer
25 views

pagination broken on custom theme's search system page [closed]

I do not have pagination on the system search page .../search*. When I toggle off my custom theme I have pagination on the search-result.tpl.php page, I can see the $pager variable. But on my custom ...
1
vote
0answers
8 views

How to create a search block for other nodes that points to an existing search view node?

I have a node that has a view with a search form in it. There is another view under it that displays the results. This is our "search page." Now, we'd like to add a block with a search field with a ...
0
votes
0answers
9 views

Add orderBy parameter to search.extender.inc

I am trying to make a slight modification to the Drupal core search results. Currently, results are sorted by calculated_score (DESC). I would like to add a secondary sort parameter of date created. ...
0
votes
1answer
37 views

Getting more organized data?

I get the impression the module works best for blog-type websites. My website's nodes have many many different (short) text fields with about 30-50 characters worth of text each. It would be ...
1
vote
0answers
14 views

Changing the default selection of a dropdown option in the Search function

I'm new to Drupal and am stuck trying to fix the default option on a dropdown Taxonomy filter on my Custom Search box. See it in the sidebar at artnotapart.com The Year taxonomy is defaulting to 2015 ...
1
vote
0answers
13 views

Search result when user is logged

I have a problem when I make a search with the common search bar, when the user is logged. The result url is http://search/node/%item instead of http://example.com/search/node/%item. I hope someone ...
5
votes
2answers
205 views

How do I prevent website crawling from search engines? [closed]

I have a website which is under development, I need to add actual URL (example.com) for testing CDN. I don't want the search engines to crawl my website using robots.txt. How can I achieve this?
-1
votes
1answer
36 views

Searching content by taxonomy term [closed]

I would like to search content depending on select menu. Something like the search box here: http://www.doyleia.com/anazitisi-ergasias How can I do that with drupal 8?
0
votes
2answers
29 views

Adjust search system - return all nodes, but exclude a specific node type if a field is less than current date

I am hoping to adjust the search system results. It works great, but i have an issue with some of the results. When a user searches "Training" I pull up all node's that have "Training" in their titles,...